Merge "Update Bluetooth toggle UI to UX spec - framework"

This commit is contained in:
TreeHugger Robot
2016-09-02 03:37:13 +00:00
committed by Android (Google) Code Review

View File

@@ -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 {