Show only listUIChanges instead of all
Use the new method that filters out changes that shouldn't be in the developer UI. Exempt-From-Owner-Approval: Roll forward of unchanged reverted change previously approved. Test: make RunSettingsRoboTests ROBOTEST_FILTER=PlatformCompatDashboardTest Bug: 151299145 Change-Id: I5b461b33484a38d0c6a5b7bf7e928231dd662668
This commit is contained in:
committed by
Anna Trostanetski
parent
fbde0b3b39
commit
74117346a6
@@ -93,7 +93,7 @@ public class PlatformCompatDashboardTest {
|
||||
mChanges[2] = new CompatibilityChangeInfo(3L, "Enabled_After_SDK_1_1", 1, false, false, "");
|
||||
mChanges[3] = new CompatibilityChangeInfo(4L, "Enabled_After_SDK_1_2", 1, false, false, "");
|
||||
mChanges[4] = new CompatibilityChangeInfo(5L, "Enabled_After_SDK_2", 2, false, false, "");
|
||||
when(mPlatformCompat.listAllChanges()).thenReturn(mChanges);
|
||||
when(mPlatformCompat.listUIChanges()).thenReturn(mChanges);
|
||||
when(mPlatformCompat.getOverrideValidator()).thenReturn(mOverrideValidator);
|
||||
// By default, allow any change
|
||||
when(mOverrideValidator.getOverrideAllowedState(anyLong(),anyString()))
|
||||
|
Reference in New Issue
Block a user