Merge "Don't reset translation callback with other state" into tm-qpr-dev

This commit is contained in:
Mark Punzalan
2022-09-09 20:56:27 +00:00
committed by Android (Google) Code Review

View File

@@ -12709,7 +12709,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
if (mViewTranslationCallback != null) { if (mViewTranslationCallback != null) {
mViewTranslationCallback.onClearTranslation(this); mViewTranslationCallback.onClearTranslation(this);
} }
clearViewTranslationCallback();
clearViewTranslationResponse(); clearViewTranslationResponse();
if (hasTranslationTransientState()) { if (hasTranslationTransientState()) {
setHasTransientState(false); setHasTransientState(false);