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

Commit 5e1c74db authored by Matthew Xie's avatar Matthew Xie Committed by Android (Google) Code Review
Browse files

Merge "Remove permission check in registerAdapter" into jb-mr1-dev

parents cefbd143 670ef533
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -218,8 +218,6 @@ class BluetoothManagerService extends IBluetoothManager.Stub {
    }

    public IBluetooth registerAdapter(IBluetoothManagerCallback callback){
        mContext.enforceCallingOrSelfPermission(BLUETOOTH_PERM,
                                                "Need BLUETOOTH permission");
        Message msg = mHandler.obtainMessage(MESSAGE_REGISTER_ADAPTER);
        msg.obj = callback;
        mHandler.sendMessage(msg);