Fix unexpected grey-out in Screen attention
Fix preference controller searchable issue. Bug: 132821023 Bug: 133255690 Test: atest AdaptiveSleepPreferenceControllerTest Change-Id: I686ed827fbe572c9d8bcde2d8a8e00f2dcb5a6a8
This commit is contained in:
@@ -133,10 +133,10 @@ public class AdaptiveSleepPreferenceControllerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isSliceable_returnsTrue() {
|
||||
public void isSliceable_returnsFalse() {
|
||||
final AdaptiveSleepPreferenceController controller =
|
||||
new AdaptiveSleepPreferenceController(mContext, "any_key");
|
||||
assertThat(controller.isSliceable()).isTrue();
|
||||
assertThat(controller.isSliceable()).isFalse();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user