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

Commit 9ed0805f authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

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

Merge "Add enforcement of BLUETOOTH permission to PanService.isTetheringOn()" am: c27859dd am: 189fc4d6

Change-Id: Ice9acc70d04c392ebc0cce026f81a76e7d9304fc
parents 7f9ee546 189fc4d6
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;
    }