Fixes bad merge in Assistant Handle logic

Test: atest AssistHandleBehaviorControllerTest
BUG:134572553
Change-Id: Ifdbaa45046f68f6af8708180abe97085ab70af0f
This commit is contained in:
Govinda Wasserman
2019-06-11 18:21:38 -04:00
parent 13ee78763d
commit 24ca1bb1bf

View File

@@ -243,12 +243,12 @@ public final class AssistHandleBehaviorController implements AssistHandleCallbac
return;
}
mHandlesShowing = false;
mHandlesLastHiddenAt = SystemClock.elapsedRealtime();
ScreenDecorations screenDecorations = mScreenDecorationsSupplier.get();
if (screenDecorations == null) {
Log.w(TAG, "Couldn't hide handles, ScreenDecorations unavailable");
} else {
mHandlesShowing = false;
mHandlesLastHiddenAt = SystemClock.elapsedRealtime();
screenDecorations.setAssistHintVisible(false);
}
}