Prevent taskbar icon tooltip from showing on hotseat transition.
Fix: 350512938 Test: TaskbarHoverToolTipControllerTest Flag: EXEMPT bugfix Change-Id: Ifc1647834358366b2d98555138edd4ad6286c16e
This commit is contained in:
@@ -159,6 +159,10 @@ public class TaskbarHoverToolTipController implements View.OnHoverListener {
|
||||
if (mHoverView == null || mToolTipText == null) {
|
||||
return;
|
||||
}
|
||||
// Do not show tooltip if taskbar icons are transitioning to hotseat.
|
||||
if (mActivity.isIconAlignedWithHotseat()) {
|
||||
return;
|
||||
}
|
||||
if (mHoverView instanceof FolderIcon && !((FolderIcon) mHoverView).getIconVisible()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user