mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-02-14 20:31:00 +00:00
Allow Android device sensor portrait mode
This commit is contained in:
parent
c98777c6ae
commit
fcfd32b843
@ -424,8 +424,8 @@ public class Apple2VideoSettingsMenu extends Apple2AbstractMenu {
|
||||
return false;
|
||||
} else {
|
||||
int orientation = activity.getRequestedOrientation();
|
||||
activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
||||
return orientation != ActivityInfo.SCREEN_ORIENTATION_PORTRAIT;
|
||||
activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT);
|
||||
return orientation != ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user