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

Commit 6f2ea240 authored by Mike Lockwood's avatar Mike Lockwood Committed by Android Git Automerger
Browse files

am 4ad35f9c: am 8a0399c4: Merge "BluetoothManagerService: Enforce DUMP permission" into lmp-mr1-dev

* commit '4ad35f9c':
  BluetoothManagerService: Enforce DUMP permission
parents 67878bb5 4ad35f9c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1521,6 +1521,8 @@ class BluetoothManagerService extends IBluetoothManager.Stub {

    @Override
    public void dump(FileDescriptor fd, PrintWriter writer, String[] args) {
        mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);

        writer.println("enabled: " + mEnable);
        writer.println("state: " + mState);
        writer.println("address: " + mAddress);