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

Commit 60b53e69 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

New BLUETOOTH_ADVERTISE manifest permission.

This change is part of defining a distinct BLUETOOTH_ADVERTISE
permission to guard the BluetoothLeAdvertiser APIs, since that's a
distinct enough of an operation from SCAN and CONNECT.  It'll
continue to be covered under the general "Nearby devices" runtime
permission group.

Bug: 181813006
Test: atest CtsPermission2TestCases
Test: atest CtsPermission3TestCases
Change-Id: I3b7f8def4dcb325e4b0c090fb9cb89e2e8dac114
parent 2df6be75
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -144,7 +144,9 @@ public:
        OP_MANAGE_MEDIA = 110,
        OP_MANAGE_MEDIA = 110,
        OP_BLUETOOTH_CONNECT = 111,
        OP_BLUETOOTH_CONNECT = 111,
        OP_UWB_RANGING = 112,
        OP_UWB_RANGING = 112,
        _NUM_OP = 113
        OP_ACTIVITY_RECOGNITION_SOURCE = 113,
        OP_BLUETOOTH_ADVERTISE = 114,
        _NUM_OP = 115
    };
    };


    AppOpsManager();
    AppOpsManager();