Skipping device reboot after managed profile apps installation. am: e6f8d45ec4 am: 7c24d7dec6 am: 3e520918ff am: bb826e6518 am: 08c8650ef1

Original change: https://android-review.googlesource.com/c/platform/tools/tradefederation/contrib/+/2777549

Change-Id: I09bd6da1b22f7f9316a45ecca6b9bd8ad7d3be0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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} */