Remove duplicates between battery and display settings

Change preference keys of duplicate settings between
display and battery to avoid duplication in search.

Bug: 33701673
Test: make RunSettingsRoboTests
Change-Id: I56c82e9e7f163d345065ca478849de9b14c173fe
This commit is contained in:
Matthew Fritze
2017-04-11 13:22:40 -07:00
parent 7cfaa8ceb2
commit c6f2638009
14 changed files with 280 additions and 23 deletions

View File

@@ -42,11 +42,13 @@ public class TimeoutPreferenceControllerTest {
private TimeoutListPreference mPreference;
private TimeoutPreferenceController mController;
private static final String KEY_SCREEN_TIMEOUT = "screen_timeout";
@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
mController = new TimeoutPreferenceController(mContext);
mController = new TimeoutPreferenceController(mContext, KEY_SCREEN_TIMEOUT);
}
@Test