OSDN Git Service

Force work challenge activity to be not resizable
authorTony Mak <tonymak@google.com>
Mon, 4 Apr 2016 15:25:24 +0000 (16:25 +0100)
committerTony Mak <tonymak@google.com>
Mon, 4 Apr 2016 15:25:24 +0000 (16:25 +0100)
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

AndroidManifest.xml

index a1cb7ee..e21c2eb 100644 (file)
         <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" />