Show onboarding screen from dnd tile
Increase the DND version and reset the setting so those who are upgrading P->P see the new flow. Test: manual Change-Id: I9286f022d1fa6520305ff03dbce54c4eec0e371a Fixes: 77658931
This commit is contained in:
@@ -83,7 +83,8 @@ public class ZenModeConfig implements Parcelable {
|
||||
private static final int DAY_MINUTES = 24 * 60;
|
||||
private static final int ZERO_VALUE_MS = 10 * SECONDS_MS;
|
||||
|
||||
// Default allow categories set in readXml() from default_zen_mode_config.xml, fallback values:
|
||||
// Default allow categories set in readXml() from default_zen_mode_config.xml,
|
||||
// fallback/upgrade values:
|
||||
private static final boolean DEFAULT_ALLOW_ALARMS = true;
|
||||
private static final boolean DEFAULT_ALLOW_MEDIA = true;
|
||||
private static final boolean DEFAULT_ALLOW_SYSTEM = false;
|
||||
@@ -97,7 +98,7 @@ public class ZenModeConfig implements Parcelable {
|
||||
private static final int DEFAULT_SUPPRESSED_VISUAL_EFFECTS =
|
||||
Policy.getAllSuppressedVisualEffects();
|
||||
|
||||
public static final int XML_VERSION = 6;
|
||||
public static final int XML_VERSION = 7;
|
||||
public static final String ZEN_TAG = "zen";
|
||||
private static final String ZEN_ATT_VERSION = "version";
|
||||
private static final String ZEN_ATT_USER = "user";
|
||||
|
||||
Reference in New Issue
Block a user