Add emergency broadcast to app & notification settings.
Also fixed a bug where progressive disclosure expand button is displayed incorrectly when # of preference == threshold exactly. Change-Id: I518687e374853ae8ab1c7e5337822492d6fd99ff Fix: 36557600 Test: robotests
This commit is contained in:
@@ -92,6 +92,15 @@ public class ProgressiveDisclosureTest {
|
||||
assertThat(mMixin.shouldCollapse(mScreen)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldNotCollapse_preferenceCountSameAsThreshold() {
|
||||
when(mScreen.getPreferenceCount()).thenReturn(5);
|
||||
|
||||
mMixin.setTileLimit(5);
|
||||
|
||||
assertThat(mMixin.shouldCollapse(mScreen)).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shouldNotCollapse_whenStartAsExpanded() {
|
||||
when(mScreen.getPreferenceCount()).thenReturn(5);
|
||||
|
Reference in New Issue
Block a user