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

Commit 81bc786e authored by sandeepbandaru's avatar sandeepbandaru Committed by Sandeep Bandaru
Browse files

Update flag for getLatestInferenceInfo to 25q4 specific

Flag: android.app.ondeviceintelligence.flags.on_device_intelligence_25q4
Bug: 372658837
Change-Id: I8345e595050613ff7569aa55619a992eab20c15e
parent 1ae69b6f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
package android.app.ondeviceintelligence;

import static android.app.ondeviceintelligence.flags.Flags.FLAG_ENABLE_ON_DEVICE_INTELLIGENCE;
import static android.app.ondeviceintelligence.flags.Flags.FLAG_ENABLE_ON_DEVICE_INTELLIGENCE_MODULE;
import static android.app.ondeviceintelligence.flags.Flags.FLAG_ON_DEVICE_INTELLIGENCE_25Q4;

import android.Manifest;
import android.annotation.CallbackExecutor;
@@ -533,7 +533,7 @@ public final class OnDeviceIntelligenceManager {
     * @return InferenceInfo events since the passed in startTimeEpochMillis.
     */
    @RequiresPermission(Manifest.permission.DUMP)
    @FlaggedApi(FLAG_ENABLE_ON_DEVICE_INTELLIGENCE_MODULE)
    @FlaggedApi(FLAG_ON_DEVICE_INTELLIGENCE_25Q4)
    public @NonNull List<InferenceInfo> getLatestInferenceInfo(@CurrentTimeMillisLong long startTimeEpochMillis) {
        try {
            return mService.getLatestInferenceInfo(startTimeEpochMillis);
+2 −2
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@
package android.app.ondeviceintelligence;

import static android.app.ondeviceintelligence.flags.Flags.FLAG_ENABLE_ON_DEVICE_INTELLIGENCE;
import static android.app.ondeviceintelligence.flags.Flags.FLAG_ENABLE_ON_DEVICE_INTELLIGENCE_MODULE;
import static android.app.ondeviceintelligence.flags.Flags.FLAG_ON_DEVICE_INTELLIGENCE_25Q4;

import android.Manifest;
import android.annotation.CallbackExecutor;
@@ -505,7 +505,7 @@ public final class OnDeviceIntelligenceManager {
     * @return InferenceInfo events since the passed in startTimeEpochMillis.
     */
    @RequiresPermission(Manifest.permission.DUMP)
    @FlaggedApi(FLAG_ENABLE_ON_DEVICE_INTELLIGENCE_MODULE)
    @FlaggedApi(FLAG_ON_DEVICE_INTELLIGENCE_25Q4)
    public @NonNull List<InferenceInfo> getLatestInferenceInfo(@CurrentTimeMillisLong long startTimeEpochMillis) {
        try {
            return mService.getLatestInferenceInfo(startTimeEpochMillis);