diff options
| author | 2024-01-09 11:52:38 -0800 | |
|---|---|---|
| committer | 2024-01-10 17:23:09 +0000 | |
| commit | 115934b94c1b10760796eca2920584aeb3ce862a (patch) | |
| tree | b28f61e950b52ccf803eba5bdf277c0162ec3896 /libs/androidfw/FileStream.cpp | |
| parent | fd5d1ad6d1efd7c6b6731634ae90dd02e45930c4 (diff) | |
Move register callback on view attach and detach
callback being added and removed in onResume and onPause is not reliable and is causing memory leaks, which is causing ANRs.
Fixes: 318362552
Test: open simpin view and see that it works properly.
Test: atest KeyguardSimPinViewControllerTest
Flag: NONE
Change-Id: I44f3fc61d2a43bfd175f46a581e67da2f5c7be4f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions