Modify logic for showing the Unsupported Display Size dialog
When determining whether to show 'the Unsupported Display Size dialog', the global configuration is used. However, the density of the secondary display may differ from the global configuration. Therefore, I modify the codes to use the configuration of the proper display as the criteria. Bug: 355647098 Flag: EXEMPT bugfix Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.DisplaySizeTest Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.DisplaySizeTest --user-type secondary_user Test: atest CtsWindowManagerDeviceAnimations:android.server.wm.animations.DisplaySizeTest --user-type secondary_user_on_secondary_display Merged-In: I242dad217908d255eb1febba40c6befacf9c4c22 Change-Id: I242dad217908d255eb1febba40c6befacf9c4c22
Loading
Please register or sign in to comment