Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21cafcd6 authored by Anna Galusza's avatar Anna Galusza Committed by Android (Google) Code Review
Browse files

Merge "Fix issue where (accessibility) keyboard mode callbacks were not always...

Merge "Fix issue where (accessibility) keyboard mode callbacks were not always called. Bug: 28007101" into nyc-dev
parents 06112bb2 c9eab5fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1795,11 +1795,10 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                }
                userState.mSoftKeyboardShowMode = 0;
                userState.mServiceChangingSoftKeyboardMode = null;
            }

                notifySoftKeyboardShowModeChangedLocked(userState.mSoftKeyboardShowMode);
            }
        }
    }

    private MagnificationSpec getCompatibleMagnificationSpecLocked(int windowId) {
        IBinder windowToken = mGlobalWindowTokens.get(windowId);
@@ -4355,6 +4354,7 @@ public class AccessibilityManagerService extends IAccessibilityManager.Stub {
                    }
                } else if (mAccessibilitySoftKeyboardModeUri.equals(uri)) {
                    if (readSoftKeyboardShowModeChangedLocked(userState)) {
                        notifySoftKeyboardShowModeChangedLocked(userState.mSoftKeyboardShowMode);
                        onUserStateChangedLocked(userState);
                    }
                }