Merge "Do not update nightmode from settings for car mode"
This commit is contained in:
committed by
Android (Google) Code Review
commit
a6ae5034cf
@@ -489,6 +489,9 @@ final class UiModeManagerService extends SystemService {
|
||||
* @return True if the new value is different from the old value. False otherwise.
|
||||
*/
|
||||
private boolean updateNightModeFromSettingsLocked(Context context, Resources res, int userId) {
|
||||
if (mCarModeEnabled) {
|
||||
return false;
|
||||
}
|
||||
int oldNightMode = mNightMode;
|
||||
if (mSetupWizardComplete) {
|
||||
mNightMode = Secure.getIntForUser(context.getContentResolver(),
|
||||
|
||||
Reference in New Issue
Block a user