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

Commit 1bca3532 authored by Andreas Gampe's avatar Andreas Gampe Committed by Android Git Automerger
Browse files

am 0e6b4da5: am 5a15bf69: Merge "Frameworks/base: Fix request removal in VoiceInteractionSession"

* commit '0e6b4da5':
  Frameworks/base: Fix request removal in VoiceInteractionSession
parents 23c2b8e8 0e6b4da5
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -436,11 +436,7 @@ public abstract class VoiceInteractionSession implements KeyEvent.Callback {

    Request removeRequest(IBinder reqInterface) {
        synchronized (this) {
            Request req = mActiveRequests.get(reqInterface);
            if (req != null) {
                mActiveRequests.remove(req);
            }
            return req;
            return mActiveRequests.remove(reqInterface);
        }
    }