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

Commit 9bc06f24 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

parents c6f8ab92 159ca2b3
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;