Merge "Update Sending Settings Changed Notifications" into sc-dev

This commit is contained in:
Karthik Bharadwaj
2021-03-24 06:38:47 +00:00
committed by Android (Google) Code Review

View File

@@ -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();
}
}