Using IHomeTransitionListener for listening for Launcher state when taskbar recreates
IHomeTransitionListener was only used when the visibility state changes, but not when the taskbar is recreated during rotation. Instead we create a static listener to keep track of current home visibility state Bug: 331947346 Bug: 331947116 Flag: aconfig use_activity_overlay staging Test: Manual Change-Id: Icf613f7fc4f78e3f76a600202687b069d53a16dd
This commit is contained in:
1 parent
6c585ca7d7
commit
9e6e3562f0
7 files changed
+101
-95
No files matched your search
@@ -656,7 +656,8 @@ public class TaskbarLauncherStateController {
|
||||
* Returns if the current Launcher state has hotseat on top of other elemnets.
|
||||
*/
|
||||
public boolean isInHotseatOnTopStates() {
|
||||
return mLauncherState != LauncherState.ALL_APPS;
|
||||
return mLauncherState != LauncherState.ALL_APPS
|
||||
&& !mLauncher.getWorkspace().isOverlayShown();
|
||||
}
|
||||
|
||||
boolean isInOverview() {
|
||||
|
||||
Reference in new issue
Block a user