Loading services/core/java/com/android/server/ondeviceintelligence/OnDeviceIntelligenceManagerService.java +8 −4 Original line number Diff line number Diff line Loading @@ -539,10 +539,14 @@ public class OnDeviceIntelligenceManagerService extends SystemService { Manifest.permission.USE_ON_DEVICE_INTELLIGENCE, TAG); synchronized (mLock) { mTemporaryServiceNames = componentNames; if (mRemoteInferenceService != null) { mRemoteInferenceService.unbind(); mRemoteInferenceService = null; } if (mRemoteOnDeviceIntelligenceService != null) { mRemoteOnDeviceIntelligenceService.unbind(); mRemoteOnDeviceIntelligenceService = null; mRemoteInferenceService = null; } if (mTemporaryHandler == null) { mTemporaryHandler = new Handler(Looper.getMainLooper(), null, true) { @Override Loading Loading
services/core/java/com/android/server/ondeviceintelligence/OnDeviceIntelligenceManagerService.java +8 −4 Original line number Diff line number Diff line Loading @@ -539,10 +539,14 @@ public class OnDeviceIntelligenceManagerService extends SystemService { Manifest.permission.USE_ON_DEVICE_INTELLIGENCE, TAG); synchronized (mLock) { mTemporaryServiceNames = componentNames; if (mRemoteInferenceService != null) { mRemoteInferenceService.unbind(); mRemoteInferenceService = null; } if (mRemoteOnDeviceIntelligenceService != null) { mRemoteOnDeviceIntelligenceService.unbind(); mRemoteOnDeviceIntelligenceService = null; mRemoteInferenceService = null; } if (mTemporaryHandler == null) { mTemporaryHandler = new Handler(Looper.getMainLooper(), null, true) { @Override Loading