improvements of CBR on compainion devices
improve cbr on companion devices by display notification only when there is an active bluetooth connections. If devices target on S+, it requires a new runtime permission bluetooth_connect, grant those runtime permission for default emergency alert module. Bug: 181773113 Test: Manual test Change-Id: Ie4d70e1d23e20015f6085db05ca8523b1f3c2ad4
This commit is contained in:
@@ -641,7 +641,7 @@ final class DefaultPermissionGrantPolicy {
|
||||
// Cell Broadcast Receiver
|
||||
grantSystemFixedPermissionsToSystemPackage(pm,
|
||||
getDefaultSystemHandlerActivityPackage(pm, Intents.SMS_CB_RECEIVED_ACTION, userId),
|
||||
userId, SMS_PERMISSIONS);
|
||||
userId, SMS_PERMISSIONS, NEARBY_DEVICES_PERMISSIONS);
|
||||
|
||||
// Carrier Provisioning Service
|
||||
grantPermissionsToSystemPackage(pm,
|
||||
|
||||
Reference in New Issue
Block a user