Loading services/core/java/com/android/server/display/DisplayGroupAllocator.java +2 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,8 @@ class DisplayGroupAllocator { // desktop mode not supported on device or this display // or display is internal, and should be in a different group to the // projected and extended mode displays. if (!mCanDeviceEnterDesktopMode || type == Display.TYPE_INTERNAL) { if (!mCanDeviceEnterDesktopMode || type == Display.TYPE_INTERNAL || type == Display.TYPE_OVERLAY) { return REASON_NON_DESKTOP; } Loading services/core/java/com/android/server/display/LogicalDisplayMapper.java +2 −1 Original line number Diff line number Diff line Loading @@ -1149,7 +1149,8 @@ class LogicalDisplayMapper implements DisplayDeviceRepository.Listener { Slog.i(TAG, "Setting new display group " + groupId + " for display " + displayId + ", from previous group: " + (oldGroup != null ? oldGroup.getGroupId() : "null") + ", for reason: " + mDisplayGroupAllocator.getReason()); + ", for reason: " + mDisplayGroupAllocator.getReason() + ", with flags: " + newGroup.getFlags()); } } Loading Loading
services/core/java/com/android/server/display/DisplayGroupAllocator.java +2 −1 Original line number Diff line number Diff line Loading @@ -123,7 +123,8 @@ class DisplayGroupAllocator { // desktop mode not supported on device or this display // or display is internal, and should be in a different group to the // projected and extended mode displays. if (!mCanDeviceEnterDesktopMode || type == Display.TYPE_INTERNAL) { if (!mCanDeviceEnterDesktopMode || type == Display.TYPE_INTERNAL || type == Display.TYPE_OVERLAY) { return REASON_NON_DESKTOP; } Loading
services/core/java/com/android/server/display/LogicalDisplayMapper.java +2 −1 Original line number Diff line number Diff line Loading @@ -1149,7 +1149,8 @@ class LogicalDisplayMapper implements DisplayDeviceRepository.Listener { Slog.i(TAG, "Setting new display group " + groupId + " for display " + displayId + ", from previous group: " + (oldGroup != null ? oldGroup.getGroupId() : "null") + ", for reason: " + mDisplayGroupAllocator.getReason()); + ", for reason: " + mDisplayGroupAllocator.getReason() + ", with flags: " + newGroup.getFlags()); } } Loading