Allow to show pinned taskbar when Launcher is visible
This CL allows freeform-first devices to lock the taskbar in a pinned state when Launcher is visible. Bug: 361419732 Flag: com.android.window.flags.enter_desktop_by_default_on_freeform_displays Test: DisplayControllerTest Test: manual Change-Id: Ic0d2740e33fee19c676d88aa2bcf370eb64366e8
This commit is contained in:
@@ -121,6 +121,20 @@ public class WindowManagerProxy implements ResourceBasedOverride, SafeCloseable
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if the pinned taskbar should be shown when home is visible.
|
||||
*/
|
||||
public boolean showLockedTaskbarOnHome(Context displayInfoContext) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns if the home is visible.
|
||||
*/
|
||||
public boolean isHomeVisible(Context context) {
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the real bounds for the provided display after applying any insets normalization
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user