Apply SettingsPreferenceTheme in Settings
- Set all of preference style inherit from SettingsPreferenceTheme - Apply to Theme.Settings and Theme.Settings.Home - Fix robotest failed in ScreenTimeoutSettingsTest Bug: 185206291 Test: manual & robotest Change-Id: I855d003b10348569903855fcbf235bc00265658b
This commit is contained in:
@@ -37,7 +37,7 @@ public class CardPreferenceTest {
|
||||
@Before
|
||||
public void setUp() {
|
||||
mContext = RuntimeEnvironment.application;
|
||||
mContext.setTheme(R.style.PreferenceTheme);
|
||||
mContext.setTheme(R.style.SettingsPreferenceTheme);
|
||||
mCardPreference = new CardPreference(mContext);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user