am aa5113a4: Merge "Fix back button behavior for "App info" when launched by Launcher3." into ub-now-lunchbox

* commit 'aa5113a446ffc8196b45bee9c7181842c477375c':
  Fix back button behavior for "App info" when launched by Launcher3.
This commit is contained in:
Adrian Roos
2014-01-16 11:22:59 -08:00
committed by Android Git Automerger
+2 -1
View File
@@ -2513,7 +2513,8 @@ public class Launcher extends Activity
String packageName = componentName.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_EXCLUDE_FROM_RECENTS);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK |
Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
startActivitySafely(null, intent, "startApplicationDetailsActivity");
}