Loading core/java/android/content/pm/multiuser.aconfig +0 −8 Original line number Diff line number Diff line Loading @@ -516,14 +516,6 @@ flag { } } flag { name: "caching_development_improvements" namespace: "multiuser" description: "System API to simplify caching implamentations" bug: "364947162" is_fixed_read_only: true } flag { name: "show_custom_unlock_title_inside_private_profile" namespace: "profile_experiences" Loading core/java/android/os/IpcDataCache.java +2 −3 Original line number Diff line number Diff line Loading @@ -616,7 +616,7 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query, * @hide */ public IpcDataCache(@NonNull Config config, @NonNull RemoteCall<Query, Result> remoteCall) { this(config, android.multiuser.Flags.cachingDevelopmentImprovements() ? this(config, new QueryHandler<Query, Result>() { @Override public Result apply(Query query) { Loading @@ -626,7 +626,7 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query, throw e.rethrowFromSystemServer(); } } } : new SystemServerCallHandler<>(remoteCall)); }); } Loading @@ -638,7 +638,6 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query, * bypassed. * @hide */ @FlaggedApi(android.multiuser.Flags.FLAG_CACHING_DEVELOPMENT_IMPROVEMENTS) public IpcDataCache(@NonNull Config config, @NonNull RemoteCall<Query, Result> remoteCall, @NonNull BypassCall<Query> bypass) { Loading core/tests/coretests/src/android/os/IpcDataCacheTest.java +0 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import static org.junit.Assert.fail; import android.app.PropertyInvalidatedCache; import android.app.PropertyInvalidatedCache.Args; import android.multiuser.Flags; import android.platform.test.annotations.DisabledOnRavenwood; import android.platform.test.annotations.RequiresFlagsEnabled; import android.platform.test.flag.junit.CheckFlagsRule; Loading Loading @@ -205,7 +204,6 @@ public class IpcDataCacheTest { } @Test @RequiresFlagsEnabled(Flags.FLAG_CACHING_DEVELOPMENT_IMPROVEMENTS) public void testRemoteCallBypass() { // A stand-in for the binder. The test verifies that calls are passed through to Loading Loading
core/java/android/content/pm/multiuser.aconfig +0 −8 Original line number Diff line number Diff line Loading @@ -516,14 +516,6 @@ flag { } } flag { name: "caching_development_improvements" namespace: "multiuser" description: "System API to simplify caching implamentations" bug: "364947162" is_fixed_read_only: true } flag { name: "show_custom_unlock_title_inside_private_profile" namespace: "profile_experiences" Loading
core/java/android/os/IpcDataCache.java +2 −3 Original line number Diff line number Diff line Loading @@ -616,7 +616,7 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query, * @hide */ public IpcDataCache(@NonNull Config config, @NonNull RemoteCall<Query, Result> remoteCall) { this(config, android.multiuser.Flags.cachingDevelopmentImprovements() ? this(config, new QueryHandler<Query, Result>() { @Override public Result apply(Query query) { Loading @@ -626,7 +626,7 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query, throw e.rethrowFromSystemServer(); } } } : new SystemServerCallHandler<>(remoteCall)); }); } Loading @@ -638,7 +638,6 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query, * bypassed. * @hide */ @FlaggedApi(android.multiuser.Flags.FLAG_CACHING_DEVELOPMENT_IMPROVEMENTS) public IpcDataCache(@NonNull Config config, @NonNull RemoteCall<Query, Result> remoteCall, @NonNull BypassCall<Query> bypass) { Loading
core/tests/coretests/src/android/os/IpcDataCacheTest.java +0 −2 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ import static org.junit.Assert.fail; import android.app.PropertyInvalidatedCache; import android.app.PropertyInvalidatedCache.Args; import android.multiuser.Flags; import android.platform.test.annotations.DisabledOnRavenwood; import android.platform.test.annotations.RequiresFlagsEnabled; import android.platform.test.flag.junit.CheckFlagsRule; Loading Loading @@ -205,7 +204,6 @@ public class IpcDataCacheTest { } @Test @RequiresFlagsEnabled(Flags.FLAG_CACHING_DEVELOPMENT_IMPROVEMENTS) public void testRemoteCallBypass() { // A stand-in for the binder. The test verifies that calls are passed through to Loading