Merge "Fix NPE in LauncherAppsService.shouldShowHiddenApp()"
This commit is contained in:
committed by
Android (Google) Code Review
commit
907b6b6d89
@@ -362,7 +362,7 @@ public class LauncherAppsService extends SystemService {
|
||||
}
|
||||
|
||||
private static boolean shouldShowHiddenApp(ApplicationInfo appInfo) {
|
||||
if (appInfo.isSystemApp() || appInfo.isUpdatedSystemApp()) {
|
||||
if (appInfo == null || appInfo.isSystemApp() || appInfo.isUpdatedSystemApp()) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user