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

Commit 7f0f52c9 authored by Pavlin Radoslavov's avatar Pavlin Radoslavov Committed by Gerrit Code Review
Browse files

Merge "Add a missing null-pointer check in HeadsetService.stop()"

parents a2129f1e bf12c61e
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -78,7 +78,9 @@ public class HeadsetService extends ProfileService {
        } catch (Exception e) {
        } catch (Exception e) {
            Log.w(TAG,"Unable to unregister headset receiver",e);
            Log.w(TAG,"Unable to unregister headset receiver",e);
        }
        }
        if (mStateMachine != null) {
            mStateMachine.doQuit();
            mStateMachine.doQuit();
        }
        return true;
        return true;
    }
    }