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

Commit 1bb173ae authored by Sandeep Bandaru's avatar Sandeep Bandaru Committed by Android (Google) Code Review
Browse files

Merge "Remove flag check enableOnDeviceIntelligenceModule" into main

parents 8a1d059d f2a006ff
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -16,8 +16,6 @@

package com.android.server.ondeviceintelligence;

import static android.app.ondeviceintelligence.flags.Flags.enableOnDeviceIntelligenceModule;

import static android.app.ondeviceintelligence.OnDeviceIntelligenceManager.ON_DEVICE_INTELLIGENCE_IDLE_TIMEOUT_MS;
import static android.service.ondeviceintelligence.OnDeviceSandboxedInferenceService.DEVICE_CONFIG_UPDATE_BUNDLE_KEY;
import static android.service.ondeviceintelligence.OnDeviceSandboxedInferenceService.MODEL_LOADED_BROADCAST_INTENT;
@@ -180,11 +178,9 @@ public class OnDeviceIntelligenceManagerService extends SystemService {
        publishBinderService(
                Context.ON_DEVICE_INTELLIGENCE_SERVICE, getOnDeviceIntelligenceManagerService(),
                /* allowIsolated = */ true);
        if (enableOnDeviceIntelligenceModule()) {
        LocalManagerRegistry.addManager(OnDeviceIntelligenceManagerLocal.class,
                    this::getRemoteInferenceServiceUid);
    }
    }

    @Override
    public void onBootPhase(int phase) {