Revert "Only apply server visible to split screen"
This reverts commit 32027abac9.
Reason for revert: Breaks bubbles :-(
Bug: 158447971
Bug: 159808754
Change-Id: I82c316b4ebb420a3b34a7f68c6a47205c4c22d06
This commit is contained in:
@@ -351,13 +351,9 @@ class InsetsSourceProvider {
|
||||
}
|
||||
|
||||
private void updateVisibility() {
|
||||
// TODO(b/159699383): remove the client controlled check when the insets visibility can be
|
||||
// driven by the system UI.
|
||||
final boolean isClientControlled = mControlTarget != null
|
||||
&& mControlTarget.isClientControlled();
|
||||
mSource.setVisible(mServerVisible
|
||||
&& ((!isClientControlled && mDisplayContent.inMultiWindowMode())
|
||||
|| mClientVisible));
|
||||
mSource.setVisible(mServerVisible && (!isClientControlled || mClientVisible));
|
||||
ProtoLog.d(WM_DEBUG_IME,
|
||||
"InsetsSource updateVisibility serverVisible: %s clientVisible: %s",
|
||||
mServerVisible, mClientVisible);
|
||||
|
||||
Reference in New Issue
Block a user