Fix references to resources for Settings
Bug: 293810334 Test: m Settings Change-Id: Ie140278f492ef7e1c062ec1ecae2866c521a86aa
This commit is contained in:
@@ -227,7 +227,7 @@ public class SettingsSliceProvider extends SliceProvider {
|
||||
final boolean nightMode = Utils.isNightMode(getContext());
|
||||
if (mNightMode == null) {
|
||||
mNightMode = nightMode;
|
||||
getContext().setTheme(R.style.Theme_SettingsBase);
|
||||
getContext().setTheme(com.android.settingslib.widget.R.style.Theme_SettingsBase);
|
||||
} else if (mNightMode != nightMode) {
|
||||
Log.d(TAG, "Night mode changed, reload theme");
|
||||
mNightMode = nightMode;
|
||||
|
Reference in New Issue
Block a user