summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Yohei Yukawa <yukawa@google.com> 2022-03-18 09:53:06 -0700
committer Yohei Yukawa <yukawa@google.com> 2022-03-18 09:53:06 -0700
commit53706a2899887c1a08876d54ae230e1ceff20980 (patch)
treedffe53cfe25c0c37276129ae1fe3e2f39a22744d /libs/androidfw/ResourceTimer.cpp
parent521df7493af5baaff38ebbba07df1b38a5a9afd3 (diff)
Offload IMMS#mImeDrawsImeNavBarRes initialization
This is a follow up CL to my previous CL [1], which was needed to propagate an overlayable resource config_imeDrawsImeNavBar value from profile owner user to other profile users. With this CL, the first initialization of InputMethodManagerService#mImeDrawsImeNavBarRes will be moved from InputMethodManagerService#systemRunning() to a background thread to minimize its impact on the device boot time. Other than that, there should be no observable behavior difference. [1]: Id3d6a71d8ba1bfa49131350b68aa8d3424eca381 f93769b1ae390d4dc38bccb01627f5f7189cd075 Bug: 219820813 Fix: 223591305 Test: Manually verified as follows 1. Build aosp_coral-userdebug then flash it. 2. adb install -r TestDPC-normalv8001.apk 3. adb shell am start -n com.afwsamples.testdpc/.SetupManagementLaunchActivity 4. Set up work-profile 5. adb shell am start --user 0 -n \ com.android.documentsui/com.android.documentsui.files.FilesActivity 6. adb shell dumpsys input_method | grep mNavigation -> "mNavigationBarController={mImeDrawsImeNavBar=false, ..." 7. Enable gesture navigation 8. adb shell dumpsys input_method | grep mNavigation -> "mNavigationBarController={mImeDrawsImeNavBar=true, ..." 9. adb shell am start --user 10 -n \ com.android.documentsui/com.android.documentsui.files.FilesActivity 10. adb shell dumpsys input_method | grep mNavigation -> "mNavigationBarController={mImeDrawsImeNavBar=true, ..." Change-Id: I20f6be5d676b9e61ea3077aeaa2eadc5dbbdcd0c
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions