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

Commit 7469ed03 authored by Yuri Lin's avatar Yuri Lin
Browse files

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
parent b77b2ec7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ import java.util.List;
/**
 * 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 MODE_ID = "MODE_ID";

+2 −2
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ import com.android.settings.dashboard.RestrictedDashboardFragment;
/**
 * 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 boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);

@@ -46,7 +46,7 @@ abstract class ZenModesSettingsBase extends RestrictedDashboardFragment {
    // the device's zen mode state changes.
    protected abstract void updateZenModeState();

    ZenModesSettingsBase() {
    ZenModesFragmentBase() {
        super(UserManager.DISALLOW_ADJUST_VOLUME);
    }