diff options
| author | 2022-04-11 14:13:03 +0800 | |
|---|---|---|
| committer | 2022-04-11 14:31:21 +0800 | |
| commit | 42351563a2e4e7b943d7c6ab1f389225fc36b22f (patch) | |
| tree | 46289f53c1a587793071b478ee45024aed2049ef /libs/androidfw/StringPool.cpp | |
| parent | 1c5f21f070bc1b468f178ba6f1bc2d71d730ef9d (diff) | |
Fix Accessibility Shortcut does not show up while SystemUI restart
Root cause: SystemUI restart to initial new AccessibilityFloatingMenuController, but it won't call onUserUnlocked to turn on the floating action menu ready.
Solution: No need to check mIsAccessibilityManagerServiceReady for AccessibilityManagerService is ready to retrieve. The onKeyguardVisibilityChanged is enough to update the floating action menu visibility.
Bug: 192635136
Test: Manual testing
1. The floating action menu is not be displayed on the lock screen
2. The floating action menu shows on a device restart
3. The floating action menu shows on a SystemUI restart
4. The floating action menu shows on user switching
Change-Id: Ifdd5f71af6810342d60f2c1e70f27b171cbc4adc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions