Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 115934b9 authored by Aaron Liu's avatar Aaron Liu
Browse files

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
parent fd5d1ad6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment