From 3a0371268eee798905736e3deb2911d5575262ce Mon Sep 17 00:00:00 2001 From: Svet Ganov Date: Thu, 1 Sep 2016 16:32:13 -0700 Subject: [PATCH] Update Bluetooth toggle UI to UX spec - framework Change-Id: Iaaf9d3801a721f15ad7019bca59f235e4de3e2a7 --- .../core/java/com/android/server/BluetoothManagerService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/core/java/com/android/server/BluetoothManagerService.java b/services/core/java/com/android/server/BluetoothManagerService.java index 9d880202f7a2a..a789157a8ece3 100644 --- a/services/core/java/com/android/server/BluetoothManagerService.java +++ b/services/core/java/com/android/server/BluetoothManagerService.java @@ -742,6 +742,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub { // Legacy apps in permission review mode trigger a user prompt if (applicationInfo.targetSdkVersion < Build.VERSION_CODES.M) { Intent intent = new Intent(intentAction); + intent.putExtra(Intent.EXTRA_PACKAGE_NAME, packageName); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS); try {