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

Commit ba668808 authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "[Bluetooth][BugFix]:Fix Bluetooth unable to enable" am: 159ca2b3 am: 9bc06f24

parents c0b0f48c 9bc06f24
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2535,6 +2535,9 @@ public class BluetoothManagerService extends IBluetoothManager.Stub {
                                mContext.getPackageName(), true);
                        handleEnable(mQuietEnable);
                    } else {
                        mBluetoothLock.writeLock().lock();
                        mBluetooth = null;
                        mBluetoothLock.writeLock().unlock();
                        Log.e(TAG, "Reach maximum retry to restart Bluetooth!");
                    }
                    break;