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

Commit 69cb35c3 authored by Govinda Wasserman's avatar Govinda Wasserman
Browse files

Remove unused processBundle method from UiController

Processing of bundles was unused by base android and is now up to
implementations to decide how they want to handle it.

Test: Tested locally
BUG: 150518476
Change-Id: If0650d21ac9d1bdd2e64a1e031198701ecd2e8ef
parent 9c3ed4de
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -80,11 +80,6 @@ public class AssistManager {
         */
        void onGestureCompletion(float velocity);

        /**
         * Called with the Bundle from VoiceInteractionSessionListener.onSetUiHints.
         */
        void processBundle(Bundle hints);

        /**
         * Hides any SysUI for the assistant, but _does not_ close the assistant itself.
         */
+0 −6
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ import android.content.Context;
import android.graphics.PixelFormat;
import android.metrics.LogMaker;
import android.os.Build;
import android.os.Bundle;
import android.util.Log;
import android.view.Gravity;
import android.view.LayoutInflater;
@@ -93,11 +92,6 @@ public class DefaultUiController implements AssistManager.UiController {
        mRoot.addView(mInvocationLightsView);
    }

    @Override // AssistManager.UiController
    public void processBundle(Bundle bundle) {
        Log.e(TAG, "Bundle received but handling is not implemented; ignoring");
    }

    @Override // AssistManager.UiController
    public void onInvocationProgress(int type, float progress) {
        boolean invocationWasInProgress = mInvocationInProgress;