Fixes bad merge in Assistant Handle logic
Test: atest AssistHandleBehaviorControllerTest BUG:134572553 Change-Id: Ifdbaa45046f68f6af8708180abe97085ab70af0f
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user