I'm uploading my Android apk and instrumentationTest apk to aws device farm, but it keeps running my app in portait.
In my app I have set the orientation to landscape in the manifest with
android:screenOrientation="sensorLandscape"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
then in my test I run (in the @Before)
UiDevice mDevice = UiDevice.getInstance(getInstrumentation());
try {
mDevice.setOrientationLeft();
} catch (RemoteException e) {
e.printStackTrace();
}
But it still runs in portrait.
So is it something I need to set in my app, or is it a setting in AWS device farm, as I can't find anything on the site or in google