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

Commit 662a134c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Synchronized access to mService."

parents 17282926 5aaca3a6
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -570,8 +570,10 @@ final class VoiceInteractionSessionConnection implements ServiceConnection {
    @Override
    @Override
    public void onServiceDisconnected(ComponentName name) {
    public void onServiceDisconnected(ComponentName name) {
        mCallback.sessionConnectionGone(this);
        mCallback.sessionConnectionGone(this);
        synchronized (mLock) {
            mService = null;
            mService = null;
        }
        }
    }


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