Skip Compat UI when in desktop mode

Added more checks to prevent the creation of Compat UI elements
when in Desktop Window mode.

Flag: com.android.window.flags.skip_compat_ui_education_in_desktop_mode
Bug: b/372366522
Fix: b/357062954
Test: atest WMShellUnitTests:CompatUIControllerTest

Change-Id: I54af8280a0a7b585af86892c88e886ecbfcbfb83
1 file changed