commit | e6d6411e18d061721494b7856452881e815c51b6 | [log] [tgz] |
---|---|---|
author | Daniel Norman <danielnorman@google.com> | Fri Nov 15 23:58:45 2024 +0000 |
committer | Daniel Norman <danielnorman@google.com> | Thu Nov 21 20:19:06 2024 +0000 |
tree | d4ce6cd8a4e56e0ba60bec297bf39f4755df1902 | |
parent | e0519f2f49f93b288073440fd405cde908b63593 [diff] |
Fixes canEnableDisableInputMethod to use correct user handle. The old logic was grabbing the user handle while inside a block that cleared user identity, so the user handle always returned 0 instead of the correct user handle. Fix: 375119534 Test: follow steps in the bug on an HSUM device Test: atest --user-type secondary_user AccessibilityServiceConnectionTest Flag: EXEMPT minor bugfix Change-Id: Id86264284bdfec0b436c01335d979087a8fd099a