Merge "Fix the reboot unlock in Boottime test." into main
diff --git a/src/com/android/aetest/tradefed/targetprep/AeTestManagedProfileCreator.java b/src/com/android/aetest/tradefed/targetprep/AeTestManagedProfileCreator.java
index 98d2c87..25c04e9 100644
--- a/src/com/android/aetest/tradefed/targetprep/AeTestManagedProfileCreator.java
+++ b/src/com/android/aetest/tradefed/targetprep/AeTestManagedProfileCreator.java
@@ -141,9 +141,13 @@
                             "%s was set as profile owner of user %d",
                             mProfileOwnerComponent, mManagedProfileUserId));
         }
+        /*
+        Commenting this out, as the reboot somehow evaporates the permissions granted to
+        managed profile apps during installation. Creation of apps is not being impacted by this.
+        */
         // Reboot device to create the apps in managed profile.
-        device.reboot();
-        device.waitForDeviceAvailable();
+        // device.reboot();
+        // device.waitForDeviceAvailable();
     }
 
     /** {@inheritDoc} */