Merge "Launch Google Play system update page with new task flag." into sc-v2-dev am: e517131123

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16055434

Change-Id: If042c68a20edb19381932ea808a656fa62d020fa
This commit is contained in:
Stanley Wang
2021-10-15 03:50:44 +00:00
committed by Automerger Merge Worker

View File

@@ -51,6 +51,7 @@ public class ModuleLicensePreference extends Preference {
ModuleLicenseProvider.LICENSE_FILE_MIME_TYPE)
.putExtra(Intent.EXTRA_TITLE, mModule.getName())
.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.addCategory(Intent.CATEGORY_DEFAULT)
.setPackage("com.android.htmlviewer");
try {