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

Skip to content
Commit e79c3733 authored by Jorge Ruesga's avatar Jorge Ruesga
Browse files

settings: ensure we don't call isProtectedApp with an invalid reference



isProtectedApp could be called from onPrepareOptionsMenu with an invalid mPackageInfo
reference. Just ensure the activity doesn't crash by return false (with an invalid
mPackageInfo reference the acitivty will be closed).

Change-Id: Ifa4754decefce726e6703d38744f6c5b7878437f
JIRA: NIGHTLIES-1949
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 5fcea94f
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