Added Script file chooser. Fixed the issue that background image setting not working
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.stardust.automator.filter;
|
||||
|
||||
import android.os.Build;
|
||||
import android.support.annotation.RequiresApi;
|
||||
import android.view.accessibility.AccessibilityNodeInfo;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -147,6 +149,7 @@ public class BooleanFilter extends DfsFilter {
|
||||
|
||||
public static final BooleanSupplier CONTEXT_CLICKABLE = new BooleanSupplier() {
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.M)
|
||||
@Override
|
||||
public boolean get(AccessibilityNodeInfo node) {
|
||||
return node.isContextClickable();
|
||||
@@ -169,14 +172,6 @@ public class BooleanFilter extends DfsFilter {
|
||||
}
|
||||
};
|
||||
|
||||
public static final BooleanSupplier importantForAccessibility = new BooleanSupplier() {
|
||||
|
||||
@Override
|
||||
public boolean get(AccessibilityNodeInfo node) {
|
||||
return node.isImportantForAccessibility();
|
||||
}
|
||||
};
|
||||
|
||||
private BooleanSupplier mBooleanSupplier;
|
||||
private boolean mExceptedValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user