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
Loading
Please register or sign in to comment
