Correct the state of the accessibility service
When an accessibility service package changes, it would be unbound. This also causes it's removed from mBoundServices and adding into mBindingServices currently. Hence, nothing happens since it's not in mBoundServices in onPackageUpdateFinished(). Also, this service wouldn't be bound since it is kept in mBindingServices. Remove the accessibility service from mBindingServices after update, remove, and force stop. Bug: 116758044 Test: atest CtsAccessibilityServiceTestCases Test: atest CtsAccessibilityTestCases Test: update, remove, and force stop an enabled a11y service, and check if it could work again. Change-Id: I61f8ac3ad92480b296f9970c9bb92af8f6767f1a
Loading
Please register or sign in to comment