Loading src/com/android/settings/development/compat/PlatformCompatDashboard.java +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ public class PlatformCompatDashboard extends DashboardFragment { public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); try { mChanges = getPlatformCompat().listAllChanges(); mChanges = getPlatformCompat().listUIChanges(); } catch (RemoteException e) { throw new RuntimeException("Could not list changes!", e); } Loading tests/robotests/src/com/android/settings/development/compat/PlatformCompatDashboardTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -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())) Loading Loading
src/com/android/settings/development/compat/PlatformCompatDashboard.java +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ public class PlatformCompatDashboard extends DashboardFragment { public void onActivityCreated(Bundle savedInstanceState) { super.onActivityCreated(savedInstanceState); try { mChanges = getPlatformCompat().listAllChanges(); mChanges = getPlatformCompat().listUIChanges(); } catch (RemoteException e) { throw new RuntimeException("Could not list changes!", e); } Loading
tests/robotests/src/com/android/settings/development/compat/PlatformCompatDashboardTest.java +1 −1 Original line number Diff line number Diff line Loading @@ -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())) Loading