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

Skip to content
Commit 18615600 authored by xudiwen's avatar xudiwen
Browse files

NullPointerException when running monkey test in IccLockSettings

In Android N, finish() in onCreate() cannot avoid onViewCreated() lifecycle
in Fragment, so a crash occurs in com.android.settings.IccLockSettings
because of insecure call in updatePreference().
It's a tiny bug only appears when running monkey test.

Test: run monkey test with page IccLockSettings.

This bug was reported to Google Issue Tracker.
Link: https://issuetracker.google.com/issues/38152568



Change-Id: I143b046fd7ac5ffba55e51254c7dd068274d342e
Signed-off-by: default avatarxudiwen <xudiwen@xiaomi.com>
parent 79694e79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment