summaryrefslogtreecommitdiffstats
path: root/src_ui_overrides
diff options
context:
space:
mode:
authorTracy Zhou <tracyzhou@google.com>2018-03-28 13:55:19 -0700
committerTracy Zhou <tracyzhou@google.com>2018-03-28 14:40:49 -0700
commita706f00d7873a5bebebc1ae741794dca821e71e7 (patch)
tree22825436d7368edbf10938001a643335a84845df /src_ui_overrides
parentda2e584a90409d7e8bb038689615b8b8ecc5de30 (diff)
downloadandroid_packages_apps_Trebuchet-a706f00d7873a5bebebc1ae741794dca821e71e7.tar.gz
android_packages_apps_Trebuchet-a706f00d7873a5bebebc1ae741794dca821e71e7.tar.bz2
android_packages_apps_Trebuchet-a706f00d7873a5bebebc1ae741794dca821e71e7.zip
Move default pip position to right above the shelf (Pt. Launcher)
SysUI change: ag/3721784, ag/3793664 - Track LauncherState and launcher activity state through callbacks. - Devise logic to send shelf visibility and height signal to SysUI based on LauncherState and Launcher activity state. Bug: 73961893 Test: - By default, pip shows up right above the shelf. - Transitioning to all apps moves the pip down as the shelf becomes invisible. - Going to any specific app moves pip down. Hitting home moves pip right above the shelf again. - Dismissing IME should push PIP down but above the shelf on home screen, bottom if not. Change-Id: I1ab6ceb8007a5a7b5d932a456efa0a07f586ea4c
Diffstat (limited to 'src_ui_overrides')
-rw-r--r--src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java b/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java
index 94abcce57..6645e896d 100644
--- a/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java
+++ b/src_ui_overrides/com/android/launcher3/uioverrides/UiFactory.java
@@ -46,6 +46,8 @@ public class UiFactory {
public static void onStart(Launcher launcher) { }
+ public static void onLauncherStateOrResumeChanged(Launcher launcher) { }
+
public static void onTrimMemory(Launcher launcher, int level) { }
public static View[] getHotseatExtraContent(Hotseat hotseat) {