Loading services/accessibility/java/com/android/server/accessibility/PolicyWarningUIController.java +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ public class PolicyWarningUIController { filter.addAction(ACTION_A11Y_SETTINGS); filter.addAction(ACTION_DISMISS_NOTIFICATION); mContext.registerReceiver(mNotificationController, filter, Manifest.permission.MANAGE_ACCESSIBILITY, mMainHandler); Manifest.permission.MANAGE_ACCESSIBILITY, mMainHandler, Context.RECEIVER_EXPORTED); } Loading services/autofill/java/com/android/server/autofill/AutofillManagerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,8 @@ public final class AutofillManagerService final IntentFilter filter = new IntentFilter(); filter.addAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); context.registerReceiver(mBroadcastReceiver, filter, null, FgThread.getHandler()); context.registerReceiver(mBroadcastReceiver, filter, null, FgThread.getHandler(), Context.RECEIVER_NOT_EXPORTED); mAugmentedAutofillResolver = new FrameworkResourcesServiceNameResolver(getContext(), com.android.internal.R.string.config_defaultAugmentedAutofillService); Loading services/core/java/com/android/server/SensorPrivacyService.java +1 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,7 @@ public final class SensorPrivacyService extends SystemService { intent.getIntExtra(EXTRA_SENSOR, UNKNOWN), false); } }, new IntentFilter(ACTION_DISABLE_INDIVIDUAL_SENSOR_PRIVACY), MANAGE_SENSOR_PRIVACY, null); MANAGE_SENSOR_PRIVACY, null, Context.RECEIVER_EXPORTED); mUserManagerInternal.addUserRestrictionsListener(this); } Loading services/core/java/com/android/server/VpnManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -681,7 +681,7 @@ public class VpnManagerService extends IVpnManager.Stub { intentFilter = new IntentFilter(); intentFilter.addAction(LockdownVpnTracker.ACTION_LOCKDOWN_RESET); mUserAllContext.registerReceiver( mIntentReceiver, intentFilter, NETWORK_STACK, mHandler); mIntentReceiver, intentFilter, NETWORK_STACK, mHandler, Context.RECEIVER_EXPORTED); } private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { Loading services/core/java/com/android/server/audio/AudioService.java +2 −1 Original line number Diff line number Diff line Loading @@ -1122,7 +1122,8 @@ public class AudioService extends IAudioService.Stub intentFilter.addAction(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION); intentFilter.addAction(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION); mContext.registerReceiverAsUser(mReceiver, UserHandle.ALL, intentFilter, null, null); mContext.registerReceiverAsUser(mReceiver, UserHandle.ALL, intentFilter, null, null, Context.RECEIVER_EXPORTED); } Loading Loading
services/accessibility/java/com/android/server/accessibility/PolicyWarningUIController.java +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ public class PolicyWarningUIController { filter.addAction(ACTION_A11Y_SETTINGS); filter.addAction(ACTION_DISMISS_NOTIFICATION); mContext.registerReceiver(mNotificationController, filter, Manifest.permission.MANAGE_ACCESSIBILITY, mMainHandler); Manifest.permission.MANAGE_ACCESSIBILITY, mMainHandler, Context.RECEIVER_EXPORTED); } Loading
services/autofill/java/com/android/server/autofill/AutofillManagerService.java +2 −1 Original line number Diff line number Diff line Loading @@ -209,7 +209,8 @@ public final class AutofillManagerService final IntentFilter filter = new IntentFilter(); filter.addAction(Intent.ACTION_CLOSE_SYSTEM_DIALOGS); context.registerReceiver(mBroadcastReceiver, filter, null, FgThread.getHandler()); context.registerReceiver(mBroadcastReceiver, filter, null, FgThread.getHandler(), Context.RECEIVER_NOT_EXPORTED); mAugmentedAutofillResolver = new FrameworkResourcesServiceNameResolver(getContext(), com.android.internal.R.string.config_defaultAugmentedAutofillService); Loading
services/core/java/com/android/server/SensorPrivacyService.java +1 −1 Original line number Diff line number Diff line Loading @@ -347,7 +347,7 @@ public final class SensorPrivacyService extends SystemService { intent.getIntExtra(EXTRA_SENSOR, UNKNOWN), false); } }, new IntentFilter(ACTION_DISABLE_INDIVIDUAL_SENSOR_PRIVACY), MANAGE_SENSOR_PRIVACY, null); MANAGE_SENSOR_PRIVACY, null, Context.RECEIVER_EXPORTED); mUserManagerInternal.addUserRestrictionsListener(this); } Loading
services/core/java/com/android/server/VpnManagerService.java +1 −1 Original line number Diff line number Diff line Loading @@ -681,7 +681,7 @@ public class VpnManagerService extends IVpnManager.Stub { intentFilter = new IntentFilter(); intentFilter.addAction(LockdownVpnTracker.ACTION_LOCKDOWN_RESET); mUserAllContext.registerReceiver( mIntentReceiver, intentFilter, NETWORK_STACK, mHandler); mIntentReceiver, intentFilter, NETWORK_STACK, mHandler, Context.RECEIVER_EXPORTED); } private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { Loading
services/core/java/com/android/server/audio/AudioService.java +2 −1 Original line number Diff line number Diff line Loading @@ -1122,7 +1122,8 @@ public class AudioService extends IAudioService.Stub intentFilter.addAction(AudioEffect.ACTION_OPEN_AUDIO_EFFECT_CONTROL_SESSION); intentFilter.addAction(AudioEffect.ACTION_CLOSE_AUDIO_EFFECT_CONTROL_SESSION); mContext.registerReceiverAsUser(mReceiver, UserHandle.ALL, intentFilter, null, null); mContext.registerReceiverAsUser(mReceiver, UserHandle.ALL, intentFilter, null, null, Context.RECEIVER_EXPORTED); } Loading