From dabf239048e4a7ec5c671cf918c3b18e79ffab61 Mon Sep 17 00:00:00 2001 From: Julia Tuttle Date: Thu, 3 Feb 2022 18:24:41 +0000 Subject: [PATCH] Revert "New Pipeline: resume spinning after RemoteInputView is moved" This reverts commit 9a4716d20e4c0b19e7642a043b6a450918090591. Reason for revert: obsoleted by ag/16776798, which fixes other bugs Change-Id: I254f9d4dee8d0cb8cba50c67e5762f64a16be5d0 --- .../systemui/statusbar/policy/RemoteInputView.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java index 3205e097c03bc..48949f92413db 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java @@ -118,7 +118,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene private boolean mColorized; private int mTint; private boolean mResetting; - private boolean mWasSpinning; // TODO(b/193539698): move these to a Controller private RemoteInputController mController; @@ -440,10 +439,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mEditText.requestFocus(); } } - if (mWasSpinning) { - mController.addSpinning(mEntry.getKey(), mToken); - mWasSpinning = false; - } } @Override @@ -452,7 +447,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene mEditText.removeTextChangedListener(mTextWatcher); mEditText.setOnEditorActionListener(null); mEditText.mRemoteInputView = null; - mWasSpinning = mController.isSpinning(mEntry.getKey(), mToken); if (mEntry.getRow().isChangingPosition() || isTemporarilyDetached()) { return; } @@ -539,8 +533,6 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene if (isActive() && mWrapper != null) { mWrapper.setRemoteInputVisible(true); } - - mWasSpinning = false; } private void reset() {