Tell WMShell when bubble bar is active or not active
Use new Bubbles aidl method to tell WMShell when bubble bar is used or not used. Allows to better handle cases where taskbar (and bubble bar) get recreated during rotation. Bug: 357115534 Test: open an app, expand bubble bar, rotate device, check bubble remains expanded Flag: com.android.wm.shell.enable_bubble_bar Change-Id: I1c77eecb2b574b3d9b33aadafd1585e1aca26bdb
This commit is contained in:
1 parent
8184e7116d
commit
96e3fd6713
3 files changed
+14
-5
No files matched your search
@@ -785,8 +785,9 @@ public class TaskbarManagerImpl implements DisplayDecorationListener {
|
||||
+ " dp.isTaskbarPresent=" + (dp == null ? "null" : dp.isTaskbarPresent)
|
||||
+ " displayExists=" + displayExists, displayId);
|
||||
if (!isTaskbarEnabled || !isLargeScreenTaskbar || !displayExists) {
|
||||
SystemUiProxy.INSTANCE.get(mBaseContext)
|
||||
.notifyTaskbarStatus(/* visible */ false, /* stashed */ false);
|
||||
SystemUiProxy systemUiProxy = SystemUiProxy.INSTANCE.get(mBaseContext);
|
||||
systemUiProxy.notifyTaskbarStatus(/* visible */ false, /* stashed */ false);
|
||||
systemUiProxy.setHasBubbleBar(false);
|
||||
if (!isTaskbarEnabled || !displayExists) {
|
||||
debugTaskbarManager(
|
||||
"recreateTaskbarForDisplay: exiting bc (!isTaskbarEnabled || "
|
||||
|
||||
Reference in new issue
Block a user