Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddf2abc1 authored by Lee Shombert's avatar Lee Shombert Committed by Android (Google) Code Review
Browse files

Merge "Update trunk-stable flag for IPC test apis" into main

parents 0f44b427 95e769ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -412,7 +412,7 @@ package android.os {
    method public void invalidateCache();
    method public static void invalidateCache(@NonNull String, @NonNull String);
    method @Nullable public Result query(@NonNull Query);
    method @FlaggedApi("android.os.ipc_data_cache_test_apis") public static void setCacheTestMode(boolean);
    method @FlaggedApi("android.os.ipc_data_cache_testmode_apis") public static void setCacheTestMode(boolean);
    field public static final String MODULE_BLUETOOTH = "bluetooth";
  }

+1 −1
Original line number Diff line number Diff line
@@ -746,7 +746,7 @@ public class IpcDataCache<Query, Result> extends PropertyInvalidatedCache<Query,
     * @throws IllegalStateException if the process is not running an instrumentation test.
     * @hide
     */
    @FlaggedApi(android.os.Flags.FLAG_IPC_DATA_CACHE_TEST_APIS)
    @FlaggedApi(android.os.Flags.FLAG_IPC_DATA_CACHE_TESTMODE_APIS)
    @SystemApi(client=SystemApi.Client.MODULE_LIBRARIES)
    public static void setCacheTestMode(boolean mode) {
        // Trunk-stable flagging requires that this API have a name different from the existing
+3 −2
Original line number Diff line number Diff line
@@ -237,9 +237,10 @@ flag {
}

flag {
     name: "ipc_data_cache_test_apis"
     name: "ipc_data_cache_testmode_apis"
     namespace: "system_performance"
     description: "Expose IpcDataCache test apis to mainline modules."
     description: "Expose IpcDataCache testmode apis to mainline modules."
     is_fixed_read_only: true
     bug: "396173886"
     is_exported: true
}