Rename ZenMode(s)SettingsBase to ZenMode(s)FragmentBase
to be more consistent with more Settings usages and with the DashboardFragment class these extend. Flag: android.app.modes_ui Bug: 335259054 Test: n/a, just renamed Change-Id: Ie64c06eb3ed92822ba47cf272f507d4b4a85d11c
This commit is contained in:
@@ -35,7 +35,7 @@ import java.util.List;
|
|||||||
/**
|
/**
|
||||||
* Base class for Settings pages used to configure individual modes.
|
* Base class for Settings pages used to configure individual modes.
|
||||||
*/
|
*/
|
||||||
abstract class ZenModeSettingsBase extends ZenModesSettingsBase {
|
abstract class ZenModeFragmentBase extends ZenModesFragmentBase {
|
||||||
static final String TAG = "ZenModeSettings";
|
static final String TAG = "ZenModeSettings";
|
||||||
static final String MODE_ID = "MODE_ID";
|
static final String MODE_ID = "MODE_ID";
|
||||||
|
|
@@ -31,7 +31,7 @@ import com.android.settings.dashboard.RestrictedDashboardFragment;
|
|||||||
/**
|
/**
|
||||||
* Base class for all Settings pages controlling Modes behavior.
|
* Base class for all Settings pages controlling Modes behavior.
|
||||||
*/
|
*/
|
||||||
abstract class ZenModesSettingsBase extends RestrictedDashboardFragment {
|
abstract class ZenModesFragmentBase extends RestrictedDashboardFragment {
|
||||||
protected static final String TAG = "ZenModesSettings";
|
protected static final String TAG = "ZenModesSettings";
|
||||||
protected static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
|
protected static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ abstract class ZenModesSettingsBase extends RestrictedDashboardFragment {
|
|||||||
// the device's zen mode state changes.
|
// the device's zen mode state changes.
|
||||||
protected abstract void updateZenModeState();
|
protected abstract void updateZenModeState();
|
||||||
|
|
||||||
ZenModesSettingsBase() {
|
ZenModesFragmentBase() {
|
||||||
super(UserManager.DISALLOW_ADJUST_VOLUME);
|
super(UserManager.DISALLOW_ADJUST_VOLUME);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user