diff options
| author | 2022-02-25 15:14:24 +0100 | |
|---|---|---|
| committer | 2022-02-25 15:23:02 +0100 | |
| commit | 3e966e2996bddb573b9749ed2597d636bdba05c6 (patch) | |
| tree | 39b24f4ccd03d67ecfe508c37e25ffbbb944160d /libs/androidfw/StringPool.cpp | |
| parent | e4590dbf5de319b31d79162ef0f1a481b7987ea2 (diff) | |
Fix Activity leaking form OnBackInvokedCallbackWrapper
- The callback was not removed on the server in the clear() method since mWindow and
mWindowSession fields were cleared before
- The wrapper class was not static, risking to leak it's outer class
and its field.
Test: com.android.launcher3.ui.widget.RequestPinItemTest#testPinWidgetWithConfig
Fixes: 220385755
Change-Id: I3e5a81bf48c2272b1cb2b5a9f2ba940d0f794a6f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions