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

Commit 5aaca3a6 authored by Felipe Leme's avatar Felipe Leme
Browse files

Synchronized access to mService.

Test: none
Change-Id: Ibab1211384c1c579fa24be19821c2784faa22b8c
parent e1a81fcc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -570,8 +570,10 @@ final class VoiceInteractionSessionConnection implements ServiceConnection {
    @Override
    public void onServiceDisconnected(ComponentName name) {
        mCallback.sessionConnectionGone(this);
        synchronized (mLock) {
            mService = null;
        }
    }

    public void dump(String prefix, PrintWriter pw) {
        pw.print(prefix); pw.print("mToken="); pw.println(mToken);