Guard "Prevent activity being launched on a display that cannot host
tasks" by the display content mode flag Since Display.canHostTasks() is guarded by the display content mode flag, we should check both flags when determining if a display is being used for mirroring. Otherwise, an exception will be thrown even if the display is not mirroring. Bug: 427816070 Flag: com.android.server.display.feature.flags.enable_display_content_mode_management Test: presubmit Change-Id: I344d39b7bfa279c4e374ae71eea0f18156c539c7
Loading
Please register or sign in to comment