Use a common style for custom preference icon layouts

Change-Id: Ief3bc54f700cb891041adf92846149c6f41caad0
Fix: 35961001
Test: instrumentation test
This commit is contained in:
Fan Zhang
2017-05-31 15:40:02 -07:00
parent 63b013ea60
commit c2b0c7bf31
8 changed files with 17 additions and 17 deletions

View File

@@ -58,8 +58,7 @@ public class PreferenceThemeTest {
@Test
public void startPhoneStatus_preferenceIconSpaceReserved() throws InterruptedException {
launchPhoneStatus();
onView(withId(R.id.icon_frame)).check(doesNotExist());
onView(withFirstId(R.id.icon_container)).check(matches(isDisplayed()));
onView(withFirstId(R.id.icon_frame)).check(matches(isDisplayed()));
}
@Test