Merge "DISALLOW_USB_FILE_TRANSFER update user restrictions" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4d2eee78b1
@@ -200,7 +200,7 @@ public class UsbService extends IUsbManager.Stub {
|
||||
final IntentFilter filter = new IntentFilter();
|
||||
filter.setPriority(IntentFilter.SYSTEM_HIGH_PRIORITY);
|
||||
filter.addAction(DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED);
|
||||
mContext.registerReceiver(receiver, filter, null, null);
|
||||
mContext.registerReceiverAsUser(receiver, UserHandle.ALL, filter, null, null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user