diff --git a/services/core/java/com/android/server/location/contexthub/ContextHubService.java b/services/core/java/com/android/server/location/contexthub/ContextHubService.java index c44089b7817f7..f173fc7386bae 100644 --- a/services/core/java/com/android/server/location/contexthub/ContextHubService.java +++ b/services/core/java/com/android/server/location/contexthub/ContextHubService.java @@ -691,6 +691,7 @@ public class ContextHubService extends IContextHubService.Stub { sendLocationSettingUpdate(); sendWifiSettingUpdate(true /* forceUpdate */); sendAirplaneModeSettingUpdate(); + sendMicrophoneDisableSettingUpdateForCurrentUser(); mTransactionManager.onHubReset(); queryNanoAppsInternal(contextHubId); @@ -1123,6 +1124,7 @@ public class ContextHubService extends IContextHubService.Stub { */ public void onUserChanged() { Log.d(TAG, "User changed to id: " + getCurrentUserId()); + sendLocationSettingUpdate(); sendMicrophoneDisableSettingUpdateForCurrentUser(); } }