Use up-to-date hover tooltip text for recents.
Flag: EXEMPT bugfix Fix: 402776493 Test: go/testedequals Change-Id: I6f438ce8b3cd51beaece0cf6734876f21719bf3d
This commit is contained in:
1 parent
ddc72547d4
commit
e8b7cd7b2e
4 files changed
+34
-18
No files matched your search
+9
@@ -147,6 +147,15 @@ class TaskbarHoverToolTipControllerTest {
|
||||
assertThat(isHoverToolTipOpen).isFalse()
|
||||
}
|
||||
|
||||
@Test
|
||||
fun onHover_emptyTitle_noTooltip() {
|
||||
runOnMainSync {
|
||||
iconView.text = ""
|
||||
iconView.dispatchGenericMotionEvent(HOVER_ENTER)
|
||||
}
|
||||
assertThat(isHoverToolTipOpen).isFalse()
|
||||
}
|
||||
|
||||
companion object {
|
||||
private val HOVER_EXIT = MotionEvent.obtain(0, 0, ACTION_HOVER_EXIT, 0f, 0f, 0)
|
||||
private val HOVER_ENTER = MotionEvent.obtain(0, 0, ACTION_HOVER_ENTER, 0f, 0f, 0)
|
||||
|
||||
Reference in new issue
Block a user