summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Valentin Iftime <valiiftime@google.com> 2023-09-06 18:14:51 +0200
committer Valentin Iftime <valiiftime@google.com> 2023-09-06 18:14:51 +0200
commitba966d439f64fa2ea27953b6ca65f7c74842cb49 (patch)
tree7c6f1b2756385ca648f79b29754e4ed03fc586e7 /libs/androidfw/FileStream.cpp
parentb06a59959cc9aec78d33206f9f481b1496d696e8 (diff)
Fix Toast leak in AccessibilityManager
AccessibilityManager registers a client object in the constructor. So only create a AccessibilityManager when trying to send an accessibility event, as there may be multiple ToastPresenters initialized without being used: from the client app and SystemUi. Test: atest WindowUntrustedTouchTest atest ToastWindowTest atest ToastPresenterTest atest ToastUITest Bug: 298593662 Change-Id: Ie8a4440338d25d521eb036dc4531c820d5a35267
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions