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

Commit 519c523d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix DozeConfigurationTest"

parents 01b46f8f 8a1707e0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -47,10 +47,10 @@ public class DozeConfigurationTest extends SysuiTestCase {
            return;
        }

        Settings.Secure.putString(mContext.getContentResolver(), Settings.Secure.DOZE_ALWAYS_ON,
                null);
        Settings.Secure.putStringForUser(mContext.getContentResolver(),
                Settings.Secure.DOZE_ALWAYS_ON, null, UserHandle.USER_CURRENT);
        boolean defaultValue = mContext.getResources()
                .getBoolean(com.android.internal.R.bool.config_dozeAlwaysOnEnabled);
        assertEquals(mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT), defaultValue);
        assertEquals(defaultValue, mDozeConfig.alwaysOnEnabled(UserHandle.USER_CURRENT));
    }
}