Fix for ByodFlowTestActivity

This test doesnt handle orientation and is failing in
some of our devices. Adding support to this activitiy
to handle orienation changes.

Change-Id: I77f37f776e0ed1165b25188250369b4abc87eb7c
Signed-off-by: Raj Mamadgi <r.mamadgi@samsung.com>
diff --git a/apps/CtsVerifier/AndroidManifest.xml b/apps/CtsVerifier/AndroidManifest.xml
index e2f2c8d..a364e22 100644
--- a/apps/CtsVerifier/AndroidManifest.xml
+++ b/apps/CtsVerifier/AndroidManifest.xml
@@ -1282,6 +1282,7 @@
         </activity>
 
         <activity android:name=".managedprovisioning.ByodHelperActivity">
+                android:configChanges="keyboardHidden|orientation|screenSize">
             <intent-filter>
                 <action android:name="com.android.cts.verifier.managedprovisioning.BYOD_QUERY" />
                 <action android:name="com.android.cts.verifier.managedprovisioning.BYOD_REMOVE" />
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ByodHelperActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ByodHelperActivity.java
index 800137a..90912ea 100644
--- a/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ByodHelperActivity.java
+++ b/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ByodHelperActivity.java
@@ -196,6 +196,12 @@
     }
 
     @Override
+    public void onConfigurationChanged(Configuration newConfig){
+        Log.v(TAG,"onConfigurationChanged");
+        super.onConfigurationChanged(newConfig);
+    }
+
+    @Override
     protected void onActivityResult(int requestCode, int resultCode, Intent data) {
         switch (requestCode) {
             case REQUEST_INSTALL_PACKAGE: {