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

Commit c27859dd authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents befdf404 2ffe5e11
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;
    }