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

Commit a5a64e07 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Restore DUMP permission check for BluetoothManagerService

am: b9db7490

* commit 'b9db7490':
  Restore DUMP permission check for BluetoothManagerService
parents ab3e290f b9db7490
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1672,6 +1672,7 @@ class BluetoothManagerService extends IBluetoothManager.Stub {


    @Override
    @Override
    public void dump(FileDescriptor fd, PrintWriter writer, String args[]) {
    public void dump(FileDescriptor fd, PrintWriter writer, String args[]) {
      mContext.enforceCallingOrSelfPermission(android.Manifest.permission.DUMP, TAG);
      if (mBluetoothBinder == null) {
      if (mBluetoothBinder == null) {
        writer.println("Bluetooth Service not connected");
        writer.println("Bluetooth Service not connected");
      } else {
      } else {