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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user