Prevent taskbar icon tooltip from showing on hotseat transition.
Fix: 350512938 Test: TaskbarHoverToolTipControllerTest Flag: EXEMPT bugfix Change-Id: Ifc1647834358366b2d98555138edd4ad6286c16e
This commit is contained in:
1 parent
58f5d08d7a
commit
fc1d2daa63
3 files changed
+24
No files matched your search
@@ -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