diff options
author | Jason Monk <jmonk@google.com> | 2015-06-15 11:38:03 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-06-15 11:38:03 -0400 |
commit | c1f24abd1098c2585bdb67b5ecb172433fdd2c90 (patch) | |
tree | a1bab7222ea980df24b7d1202de2558749531f19 /packages | |
parent | b3c8564314a4ce05b722e33409f2c15bcdac6666 (diff) | |
download | frameworks_base-c1f24abd1098c2585bdb67b5ecb172433fdd2c90.zip frameworks_base-c1f24abd1098c2585bdb67b5ecb172433fdd2c90.tar.gz frameworks_base-c1f24abd1098c2585bdb67b5ecb172433fdd2c90.tar.bz2 |
Don't try to get entries for uninstalled apps.
Bug: 21837824
Change-Id: I6f7bbc309e9edf1db12476f55ab8be424739fae0
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java b/packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java index 6561512..40d5437 100644 --- a/packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java +++ b/packages/SettingsLib/src/com/android/settingslib/applications/ApplicationsState.java @@ -281,7 +281,9 @@ public class ApplicationsState { return null; } } - entry = getEntryLocked(info); + if (info != null) { + entry = getEntryLocked(info); + } } if (DEBUG_LOCKING) Log.v(TAG, "...getEntry releasing lock"); return entry; |