sangmingming / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

solo.setActivityOrientation() does not work in phone running ICS (4.0.3) #221

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get a phone running ICS (4.0.3)
2. Run a test that tries to change the current activity orientation with 
solo.setActivityOrientation(Solo.LANDSCAPE);
3. When that line runs, nothing happens, the activity stays in portrait.

What is the expected output? What do you see instead?
The activity does not rotate. When I use an older phone using 2.2, and an 
emulator running 2.3.3, the activity successfully rotates.

What version of the product are you using? On what operating system?
Robotium: 2.5
OS: I've only tested this on an actual phone, not an emulator, but I suppose it 
would be the same in an emulator.

Original issue reported on code.google.com by david...@gmail.com on 1 Feb 2012 at 10:07

GoogleCodeExporter commented 9 years ago
Works for me with Robotium 3.1 on ICS 15, 4.0.3 revision 2.

Original comment by renasr...@gmail.com on 25 Feb 2012 at 4:50

GoogleCodeExporter commented 9 years ago
This is ticket is valid this is not working also for me. 

Original comment by amilcar....@gmail.com on 3 Oct 2014 at 2:36