Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac6d0286 authored by Tim Yu's avatar Tim Yu
Browse files

Fix Autofill for specific autofocus apps.

1. On autofocus apps, AssistStructure is requested on view load
2. On specific apps, it will autofocus away from the first autofocus field, so it Session sets mCurrentViewId = null;
3. When AssistStructure is generated, it checks for currentViewId == null. If true, returns earlys - no further Autofill actions can be done for the current view.

This change checks if there is an AssistStructure currently processing before setting mCurrentViewId to prevent the above race condition.



Fixes: 271294796
Test: On physical apps that are impacted

Change-Id: I325a88c907db2887ee5565241f74b0b511dc6915
parent 1840eb42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment