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

Commit a660af1f authored by Jeremy Klein's avatar Jeremy Klein Committed by android-build-merger
Browse files

Merge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning."...

Merge "Add FLAG_ACTIVITY_NEW_TASK when starting UI-based tether provisioning." am: f4dc7155 am: 4c2c7bed
am: 2eee5f20

Change-Id: I91617ffeb287317ecf50ceda6cd85ef438faf29f
parents 412d7631 2eee5f20
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -506,6 +506,7 @@ public class Tethering extends BaseNetworkObserver {
        Intent intent = new Intent(Settings.ACTION_TETHER_PROVISIONING);
        intent.putExtra(ConnectivityManager.EXTRA_ADD_TETHER_TYPE, type);
        intent.putExtra(ConnectivityManager.EXTRA_PROVISION_CALLBACK, receiver);
        intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        final long ident = Binder.clearCallingIdentity();
        try {
            mContext.startActivityAsUser(intent, UserHandle.CURRENT);