packages/apps/Settings
修订版 | cfdae774cd83b7ec132180caace7551cb9c8097b (tree) |
---|---|
时间 | 2020-12-09 21:17:08 |
作者 | TreeHugger Robot <treehugger-gerrit@goog...> |
Commiter | Automerger Merge Worker |
Merge "Add bluetooth package to permission request intent" into oc-mr1-dev am: 504b96d76c am: 2117006bc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/13088581
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If3605d2b4dbad8b7b4979b644c89352ee8449ba1
@@ -131,6 +131,7 @@ public final class BluetoothPermissionRequest extends BroadcastReceiver { | ||
131 | 131 | // "Clear All Notifications" button |
132 | 132 | |
133 | 133 | Intent deleteIntent = new Intent(BluetoothDevice.ACTION_CONNECTION_ACCESS_REPLY); |
134 | + deleteIntent.setPackage("com.android.bluetooth"); | |
134 | 135 | deleteIntent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); |
135 | 136 | deleteIntent.putExtra(BluetoothDevice.EXTRA_CONNECTION_ACCESS_RESULT, |
136 | 137 | BluetoothDevice.CONNECTION_ACCESS_NO); |