Make testAddingImmersiveWindow robust when remote inset controller is used.

Using a sub window type allows the test to be valid even when remote
inset controller is used.

Test: atest
CtsWindowManagerDeviceTestCases: LayoutTests#testAddingImmersiveWindow
Bug: 167318479
Change-Id: Icabd05de71c5f4a75c7c7b1d47332924958080f7
diff --git a/tests/framework/base/windowmanager/src/android/server/wm/LayoutTests.java b/tests/framework/base/windowmanager/src/android/server/wm/LayoutTests.java
index 3a10984..296d7b4 100644
--- a/tests/framework/base/windowmanager/src/android/server/wm/LayoutTests.java
+++ b/tests/framework/base/windowmanager/src/android/server/wm/LayoutTests.java
@@ -155,7 +155,8 @@
                             }
                         }
                     });
-            activity.addWindow(view, new LayoutParams());
+            // Use a sub window type so the test is robust when remote inset controller is used.
+            activity.addWindow(view, new LayoutParams(TYPE_APPLICATION_PANEL));
         });
 
         // Wait for the possible failure.