DO NOT MERGE Dont restore focus on new HUN window

When a HUN window shows for the first time, Android framework can try to
find a default focus. As such, the FPV may try to focus the topmost HUN
by default, without having nudged to the HUN window.

Bug: 175897692
Test: manual (reboot and trigger HUN via kitchen sink)
Change-Id: Id4008c587aea353dc0c441593fe32e6e9fea5463
This commit is contained in:
Heemin Seog
2021-02-01 13:50:38 -08:00
parent 6c1e915306
commit 9d3b7aacd9

View File

@@ -35,7 +35,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
app:layout_constraintTop_toTopOf="parent"
app:shouldRestoreFocus="false"/>
<View
android:id="@+id/scrim"