Force work challenge activity to be not resizable
We need to add the flag resizeableActivity to the root activity of
the task that holding the work challenge activity which is
ConfirmDeviceCredentialActivity$InternalActivity.
This activity is the entry point for work challenge and is not used
elsewhere.
Bug: 27565539
Change-Id: I79157e4ea9c7a52a1727919dcd4d311380492f3d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index a1cb7ee..e21c2eb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1555,6 +1555,7 @@
<activity android:name="ConfirmDeviceCredentialActivity$InternalActivity"
android:exported="false"
android:permission="android.permission.MANAGE_USERS"
+ android:resizeableActivity="false"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter android:priority="1">
<action android:name="android.app.action.CONFIRM_DEVICE_CREDENTIAL_WITH_USER" />