Merge "Launch the following pages with new task flag." into sc-v2-dev am: edf9c35cf1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/16055432 Change-Id: I1d01820889bf5f57451c23e53d4f163b4a22089d
This commit is contained in:
@@ -87,9 +87,9 @@ public abstract class LegalPreferenceController extends BasePreferenceController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Replace the intent with this specific activity
|
// Replace the intent with this specific activity
|
||||||
mPreference.setIntent(new Intent().setClassName(
|
mPreference.setIntent(new Intent()
|
||||||
resolveInfo.activityInfo.packageName,
|
.setClassName(resolveInfo.activityInfo.packageName, resolveInfo.activityInfo.name)
|
||||||
resolveInfo.activityInfo.name));
|
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
|
||||||
|
|
||||||
mPreference.setTitle(resolveInfo.loadLabel(mPackageManager));
|
mPreference.setTitle(resolveInfo.loadLabel(mPackageManager));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user