Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c808e785 authored by Stanley Wang's avatar Stanley Wang Committed by Automerger Merge Worker
Browse files

Merge "Launch the following pages with new task flag." into sc-v2-dev am: edf9c35c am: b00b0616

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

Change-Id: I9dc10522410c0f973226f122521e2c4cf3fc3352
parents 1f94e332 b00b0616
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -87,9 +87,9 @@ public abstract class LegalPreferenceController extends BasePreferenceController
        }

        // Replace the intent with this specific activity
        mPreference.setIntent(new Intent().setClassName(
                resolveInfo.activityInfo.packageName,
                resolveInfo.activityInfo.name));
        mPreference.setIntent(new Intent()
                .setClassName(resolveInfo.activityInfo.packageName, resolveInfo.activityInfo.name)
                .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));

        mPreference.setTitle(resolveInfo.loadLabel(mPackageManager));
    }