From 69cb35c335ca08bd8d83ee10d87a6e8b17ac9cd2 Mon Sep 17 00:00:00 2001 From: Govinda Wasserman Date: Thu, 5 Mar 2020 09:20:04 -0500 Subject: [PATCH] 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 --- .../src/com/android/systemui/assist/AssistManager.java | 5 ----- .../com/android/systemui/assist/ui/DefaultUiController.java | 6 ------ 2 files changed, 11 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java b/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java index 256c5d51c4215..5077e18b06e4d 100644 --- a/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java +++ b/packages/SystemUI/src/com/android/systemui/assist/AssistManager.java @@ -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. */ diff --git a/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java b/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java index f201a6fb11379..68242f0a0ac25 100644 --- a/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java +++ b/packages/SystemUI/src/com/android/systemui/assist/ui/DefaultUiController.java @@ -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;