Loading services/appwidget/java/com/android/server/appwidget/AppWidgetServiceImpl.java +6 −4 Original line number Diff line number Diff line Loading @@ -3647,11 +3647,13 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku } private void updateAppOpsLocked(Host host, boolean visible) { // The launcher must be at TOP. if (visible) { final int procState = mActivityManagerInternal.getUidProcessState(host.id.uid); if (procState > ActivityManager.PROCESS_STATE_TOP) { // The launcher must be at TOP. return; } } final List<ResolveInfo> allHomeCandidates = new ArrayList<>(); // Default launcher from package manager. Loading Loading
services/appwidget/java/com/android/server/appwidget/AppWidgetServiceImpl.java +6 −4 Original line number Diff line number Diff line Loading @@ -3647,11 +3647,13 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku } private void updateAppOpsLocked(Host host, boolean visible) { // The launcher must be at TOP. if (visible) { final int procState = mActivityManagerInternal.getUidProcessState(host.id.uid); if (procState > ActivityManager.PROCESS_STATE_TOP) { // The launcher must be at TOP. return; } } final List<ResolveInfo> allHomeCandidates = new ArrayList<>(); // Default launcher from package manager. Loading