OSDN Git Service

Settings: Fix possible NPE
authorMichael W <baddaemon87@gmail.com>
Sun, 18 Sep 2016 09:17:28 +0000 (11:17 +0200)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Sun, 18 Sep 2016 17:15:27 +0000 (10:15 -0700)
commit4b03da7757caf8a0dff2864ab6a2fac3afd91e39
treea8db9da0743246451e24d4fc4c6e5a212a21fcbd
parente94c0727f5fa5cf95f832b9d2a457c01c1fe1b0c
Settings: Fix possible NPE

Checking applicationInfo on a null object causes a NPE
Check for null first and make the menu entry invisible in that case

Change-Id: I9c6c1156e8d809abf9f13a80eaa908317cba8bdc
Reference: BugDumps 20160909-15 L#39
src/com/android/settings/applications/InstalledAppDetails.java