Merge "Fix back button behavior for "App info" when launched by Launcher3." into ub-now-lunchbox
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user