mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-07 16:09:38 +02:00
Ignore focus only when it is from a successful performAction
This commit is contained in:
parent
0c0054b565
commit
7182db30b7
|
@ -162,8 +162,7 @@ public class AutofillService extends AccessibilityService {
|
|||
String[] passContent = os.toString("UTF-8").split("\n");
|
||||
// if the user focused on something else, take focus back
|
||||
// but this will open another dialog...hack to ignore this
|
||||
ignoreActionFocus = true;
|
||||
info.performAction(AccessibilityNodeInfo.ACTION_FOCUS);
|
||||
ignoreActionFocus = info.performAction(AccessibilityNodeInfo.ACTION_FOCUS);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
Bundle args = new Bundle();
|
||||
args.putCharSequence(AccessibilityNodeInfo.ACTION_ARGUMENT_SET_TEXT_CHARSEQUENCE,
|
||||
|
|
Loading…
Reference in a new issue