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

This commit is contained in:
Stanley Wang
2021-10-15 03:34:34 +00:00
committed by Android (Google) Code Review

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 {