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

Commit 189fc4d6 authored by Rahul Sabnis's avatar Rahul Sabnis Committed by android-build-merger
Browse files

Merge "Add enforcement of BLUETOOTH permission to PanService.isTetheringOn()"

am: c27859dd

Change-Id: Id5fdae056ef697d2801a9fe2c181199becb7c237
parents f580f4e2 c27859dd
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -370,6 +370,7 @@ public class PanService extends ProfileService {

    public boolean isTetheringOn() {
        // TODO(BT) have a variable marking the on/off state
        enforceCallingOrSelfPermission(BLUETOOTH_PERM, "Need BLUETOOTH permission");
        return mTetherOn;
    }