Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61a389d3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add permission to protect data when sending broadcast" into rvc-qpr-dev am: dacfb937

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12559488

Change-Id: Iab614cf3403469e21827517cbb0c21528ee027f3
parents 3bce0733 dacfb937
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.settings.bluetooth;

import static android.os.UserManager.DISALLOW_CONFIG_BLUETOOTH;

import android.Manifest;
import android.app.settings.SettingsEnums;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
@@ -192,6 +193,6 @@ public final class DevicePickerFragment extends DeviceListPreferenceFragment {
        if (mLaunchPackage != null && mLaunchClass != null) {
            intent.setClassName(mLaunchPackage, mLaunchClass);
        }
        getActivity().sendBroadcast(intent);
        getActivity().sendBroadcast(intent, Manifest.permission.BLUETOOTH_ADMIN);
    }
}