diff options
| author | 2023-09-06 18:14:51 +0200 | |
|---|---|---|
| committer | 2023-09-12 15:12:16 +0000 | |
| commit | 86de59f7b8009a419dd505fa50ad6d0e616edfdd (patch) | |
| tree | 5b65b5e0c5ad6441e70d0065a98c5ae9bbb8ce95 /libs/androidfw/PathUtils.cpp | |
| parent | bc7b03159b6d776c14919ef1d80194da6e340fa4 (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/PathUtils.cpp')
0 files changed, 0 insertions, 0 deletions