01-23 16:23:37.538 2884 9214 D ActivityManager: call mActiveForegroundApps remove: r.packageName: com.miui.gallery
01-23 16:23:37.538 2884 9214 D ActivityManager: java.lang.Exception
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.decActiveForegroundAppLocked(Unknown Source:129)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.bringDownServiceLocked(Unknown Source:816)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.killServicesLocked(Unknown Source:662)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(Unknown Source:86)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService.handleAppDiedLocked(Unknown Source:13)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService.appDiedLocked(Unknown Source:457)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(Unknown Source:27)
01-23 16:23:37.538 2884 9214 D ActivityManager: at android.os.IBinder$DeathRecipient.binderDied(Unknown Source:0)
01-23 16:23:37.538 2884 9214 D ActivityManager: at android.os.BinderProxy.sendDeathNotice(Unknown Source:0)
01-23 16:23:37.538 2884 9214 D ActivityManager: send MSG_UPDATE_FOREGROUND_APPS
01-23 16:23:37.538 2884 9214 D ActivityManager: java.lang.Exception
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.requestUpdateActiveForegroundAppsLocked(Unknown Source:6)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.decActiveForegroundAppLocked(Unknown Source:146)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.bringDownServiceLocked(Unknown Source:816)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActiveServices.killServicesLocked(Unknown Source:662)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService.cleanUpApplicationRecordLocked(Unknown Source:86)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService.handleAppDiedLocked(Unknown Source:13)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService.appDiedLocked(Unknown Source:457)
01-23 16:23:37.538 2884 9214 D ActivityManager: at com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied(Unknown Source:27)
01-23 16:23:37.538 2884 9214 D ActivityManager: at android.os.IBinder$DeathRecipient.binderDied(Unknown Source:0)
01-23 16:23:37.538 2884 9214 D ActivityManager: at android.os.BinderProxy.sendDeathNotice(Unknown Source:0)