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

Commit 8d8f1b8b 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 '4ad35f9cc7e8673a0f3d551ef299c753cc244248':
  BluetoothManagerService: Enforce DUMP permission
parents 238d24fb 0190837e
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);