Flip order of start/finish

Test: long press on a not setup mode tile on a large screen device
Flag: android.app.modes_ui
Fixes: 360898235
Change-Id: I1d4128c6ee3469dceb00e8cffdd5da7f4b3732b4
This commit is contained in:
Julia Reynolds
2024-08-19 17:13:13 -04:00
parent 2ffd79a626
commit a2ca48723a

View File

@@ -110,9 +110,10 @@ public class ZenModeFragment extends ZenModeFragmentBase {
if (mode == null || mode.getStatus() != DISABLED_BY_OTHER) { if (mode == null || mode.getStatus() != DISABLED_BY_OTHER) {
return false; return false;
} }
mContext.startActivity(SetupInterstitialActivity.getIntent(mContext, mode));
// don't come back here from the interstitial // don't come back here from the interstitial
finish(); finish();
mContext.startActivity(SetupInterstitialActivity.getIntent(mContext, mode));
return true; return true;
} }