Loading services/core/java/com/android/server/am/ActiveServices.java +6 −0 Original line number Diff line number Diff line Loading @@ -108,6 +108,8 @@ public final class ActiveServices { private static final boolean LOG_SERVICE_START_STOP = false; private static final boolean SHOW_DUNGEON_NOTIFICATION = false; // How long we wait for a service to finish executing. static final int SERVICE_TIMEOUT = 20*1000; Loading Loading @@ -942,6 +944,10 @@ public final class ActiveServices { smap.mActiveForegroundAppsChanged = false; } if (!SHOW_DUNGEON_NOTIFICATION) { return; } final NotificationManager nm = (NotificationManager) mAm.mContext.getSystemService( Context.NOTIFICATION_SERVICE); final Context context = mAm.mContext; Loading Loading
services/core/java/com/android/server/am/ActiveServices.java +6 −0 Original line number Diff line number Diff line Loading @@ -108,6 +108,8 @@ public final class ActiveServices { private static final boolean LOG_SERVICE_START_STOP = false; private static final boolean SHOW_DUNGEON_NOTIFICATION = false; // How long we wait for a service to finish executing. static final int SERVICE_TIMEOUT = 20*1000; Loading Loading @@ -942,6 +944,10 @@ public final class ActiveServices { smap.mActiveForegroundAppsChanged = false; } if (!SHOW_DUNGEON_NOTIFICATION) { return; } final NotificationManager nm = (NotificationManager) mAm.mContext.getSystemService( Context.NOTIFICATION_SERVICE); final Context context = mAm.mContext; Loading