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

Commit bead2153 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: 0fa7ae97

Change-Id: Id5fdae056ef697d2801a9fe2c181199becb7c237
parents df825c7a 0fa7ae97
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;
    }