Fix broken dark ui test
It was checking something in shared preferences which seems to have stopped working (a bunch of the stuff used in the test is deprecated). This CL just has it verify that updateDarkTheme() is called when appropriate since that is all we really care about. Test: is a test Bug: 130897882 Change-Id: If3286dd91b5a95cb0f41cac619a11a9089e0aecf
This commit is contained in:
@@ -16,9 +16,6 @@
|
||||
|
||||
package com.android.settings.display;
|
||||
|
||||
import static com.android.settings.display.DarkUIPreferenceController.DARK_MODE_PREFS;
|
||||
import static com.android.settings.display.DarkUIPreferenceController.PREF_DARK_MODE_DIALOG_SEEN;
|
||||
|
||||
import android.app.Dialog;
|
||||
import android.app.UiModeManager;
|
||||
import android.content.Context;
|
||||
|
Reference in New Issue
Block a user