Merge "Add FLAG_ACTIVITY_CLEAR_TOP to more details intent" into pi-dev am: 261a101ac2

am: 801f05120f

Change-Id: I1db7aaedd3267ccaaf150388503347d55b71178b
This commit is contained in:
Petr Cermak
2018-05-23 19:38:34 -07:00
committed by android-build-merger

View File

@@ -60,7 +60,7 @@ public class SuspendedAppActivity extends AlertActivity
if (resolvedInfo != null && resolvedInfo.activityInfo != null
&& requiredPermission.equals(resolvedInfo.activityInfo.permission)) {
moreDetailsIntent.putExtra(Intent.EXTRA_PACKAGE_NAME, suspendedPackage)
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);
return moreDetailsIntent;
}
return null;