diff options
author | Sally <sallyyuen@google.com> | 2021-06-02 21:25:52 +0000 |
---|---|---|
committer | Sally <sallyyuen@google.com> | 2021-06-04 20:28:26 +0000 |
commit | 4a41eca71b4ad3c1a3203373492b1affd3bb4126 (patch) | |
tree | fc767c211991c205186c51d664941b6766d4f620 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7a2b7fc43fcb96dff4c813109fe09f8fcb849d9f (diff) |
Add AccessibilityManager#removeClient
Whenever an app makes a Text toast, this gets routed through systemUI
starting from R. Two A11yManagerClients are registered with
A11yManagerService for every toast. Since clients aren't removed until
the process is killed, there are a bunch of clients from systemui
hanging around and potentially cause the system to crash.
We add a way here to explicitly unregister a client
Test: build and flash,
atest android.view.accessibility.AccessibilityManagerTest
Bug: 189010828
Change-Id: I3f71bac475b4539c7be5b328adeb0be35a0b5543
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions