mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Implement hotseat prediction client
Bug: 142753423 Test: Manual Change-Id: I9f697c474b29340c9b33ddf896a49e8f3f893f8b
This commit is contained in:
@@ -496,7 +496,8 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
|
||||
// Text should be visible everywhere but the hotseat.
|
||||
Object tag = getParent() instanceof FolderIcon ? ((View) getParent()).getTag() : getTag();
|
||||
ItemInfo info = tag instanceof ItemInfo ? (ItemInfo) tag : null;
|
||||
return info == null || info.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT;
|
||||
return info == null || (info.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT
|
||||
&& info.container != LauncherSettings.Favorites.CONTAINER_HOTSEAT_PREDICTION);
|
||||
}
|
||||
|
||||
public void setTextVisibility(boolean visible) {
|
||||
|
||||
Reference in New Issue
Block a user