* Use percentage of X-aixs and Y-axis as last position, so it could be
restored at approximately position when device screen size changed.
* Fine-tune AccessibilityFloatingMenuViewTest
Bug: 183342667
Test: atest AccessibilityFloatingMenuViewTest PositionTest
Change-Id: I58ed608a03bc20f15a9d0852c95907107516c9ba
happens off of the target region.
- Disable the focusable and clickable features.
Fix: 189079003
Test: robotest and test the switch manually
Change-Id: I0fa19c132ddfd5a3e010bf8328c6b84c1087d78b
The restoreNavigationBarFromApp() could now be called twice in live tile
mode. Reset the mNavigationBarAttachedToApp once the nav bar is detached
to prevent the nav fade-in animation playing twice.
Bug: 189900722
Test: atest RecentsAnimationControllerTest
Change-Id: Ifa02a7355d6503399de636646d73b9a4b6766a51
If user enabled double tap power to launch camera, we should return the
correct value of 'MaxMultiPressPowerCount' so single tap power detector
could wait for multi press timeout instead triggering 'powerPress'
immediately.
Test: double tap power to launch camera
Bug: 188247996
Change-Id: I4ca28c42c4affd9c48219e3c68630ea0ce1d5409
This is a follow up CL to our previous CL [1], which introduced
shouldShowInInputMethodPicker attribute then made IME picker UI be
aware of it.
There was a method we forgot to update in that CL:
InputMethodManagerService#shouldShowImeSwitcherLocked(),
which determines when the IME switcher icon is shown on the navigation
bar. It should just ignore IMEs that have
shouldShowInInputMethodPicker=false
because those IMEs are actually not shown on the IME switcher dialog.
[1]: I18dda0525168f9195606840239507b9daba65be7
43dbb54918
Fix: 175480153
Fix: 186150194
Test: Manually tested as follows:
1. Build aosp_coral-userdebug and flash it.
2. Open the dialar app and focus in any input field.
3. Make sure that AOSP Keyboard shows up and the IME swicher icon
is not shown on the navigation bar.
4. adb install -r \
$ANDROID_HOST_OUT/cts/android-cts/testcases/CtsHiddenFromPickerIme.apk
5. adb shell ime enable \
com.android.cts.hiddenfrompickerime/.HiddenFromPickerIme
6. Hide and show the AOSP keyboard.
7. Make sure that the IME swicher icon is still not shown.
8. adb install -r \
$ANDROID_PRODUCT_OUT/system/app/SoftKeyboard/SoftKeyboard.apk
9. adb shell ime \
enable com.example.android.softkeyboard/.SoftKeyboard
10. Hide and show the AOSP keyboard.
11. Make sure that the IME swicher icon becomes visible.
Change-Id: Id4b4c208e11d574d6118c8cd2b5aa79dd5486c14