Remove taskbar when display mirroring starts
Bug: 397095099 Change-Id: I0d21650af45aec084c0b48b50e22e8072d3f9192 Test: adb shell settings put secure mirror_built_in_display 1 Flag: com.android.server.display.feature.flags.enable_display_content_mode_management
This commit is contained in:
1 parent
c7e545674d
commit
0392cb8a7d
1 file changed
+5
-1
@@ -747,7 +747,11 @@ public class TaskbarManager {
|
||||
/**
|
||||
* Signal from SysUI indicating that system decorations should be removed from the display.
|
||||
*/
|
||||
public void onDisplayRemoveSystemDecorations(int displayId) {}
|
||||
public void onDisplayRemoveSystemDecorations(int displayId) {
|
||||
// The display mirroring starts. The handling logic is the same as when removing a
|
||||
// display.
|
||||
onDisplayRemoved(displayId);
|
||||
}
|
||||
|
||||
private void removeActivityCallbacksAndListeners() {
|
||||
if (mActivity != null) {
|
||||
|
||||
Reference in new issue
Block a user