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

Commit 159ca2b3 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "[Bluetooth][BugFix]:Fix Bluetooth unable to enable"

parents 36322a58 a82f21a6
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;