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

Commit 0e6b4da5 authored by Andreas Gampe's avatar Andreas Gampe Committed by Android Git Automerger
Browse files

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

* commit '5a15bf69':
  Frameworks/base: Fix request removal in VoiceInteractionSession
parents d7e06104 5a15bf69
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);
        }
    }