OSDN Git Service

Don't exclude app info from recents.
authorWinson <winsonc@google.com>
Wed, 17 Feb 2016 18:35:47 +0000 (10:35 -0800)
committerWinson <winsonc@google.com>
Wed, 17 Feb 2016 18:58:13 +0000 (10:58 -0800)
Bug: 27216373
Change-Id: Idc419f8922664c618ac6ddc8287b57c89084a2a3

services/core/java/com/android/server/pm/LauncherAppsService.java

index c6613f5..8d75f60 100644 (file)
@@ -346,8 +346,7 @@ public class LauncherAppsService extends SystemService {
                 String packageName = component.getPackageName();
                 Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS,
                         Uri.fromParts("package", packageName, null));
-                intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK |
-                        Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
+                intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
                 intent.setSourceBounds(sourceBounds);
                 mContext.startActivityAsUser(intent, opts, user);
             } finally {