REPRODUCIBILITY (% or how often): Always
BUILD ID: 3.4.0.22
HARDWARE (Jolla1, Tablet, XA2,…): Xperia 10 Dual
UI LANGUAGE:
REGRESSION: (compared to previous public release: Yes, No, ?): Yes
DESCRIPTION:
Display Rotation is not working for Apps in AlienDalvik anymore since 3.4 Update although it is activated in Sailfish settings and in Android settings.
PRECONDITIONS:
STEPS TO REPRODUCE:
EXPECTED RESULT:
ACTUAL RESULT:
ADDITIONAL INFORMATION:
as pointed out below the rotation works after restarting dalvik, but occurs again after a reboot of the phone.
I wish I could find it - can’t remember where it was posted, but there’s a fix that involves using an Android root she’ll, (lxc-attach -n aliendalvik – /system/bin/sh), and using the Settings command in Android… Anybody else remember?
Maybe try ‘settings put system accelerometer_rotation 1’ from Android she’ll. Then restart AD and test. If still stuck, go to Android display Settings and toggle auto rotation setting, then do the same in Jolla settings…
I’ve had this problem for a while on my XA2 Plus. Can’t even remember when it started, might have been before 3.3 even.
Hadn’t even realized I can force Android apps to landscape by locking the Sailfish screen settings to landscape. So far my workaround was to play YouTube videos in fullscreen in Firefox, which forces all Android apps to landscape indefinitely, until I run a portrait-only Android app, which then forces all Android apps back to portrait indefinitely.
On my xperia 10 i can use the aliendialvik control from openrepros to show the android status bar. there i can toggle the autorotation off and on and then i will work again with autoration on all android apps
Getting this on both 3.4 and 4.0 if Android App Support is set to autostart on bootup.
After phone has started Android software won’t rotate and always stays in portrait mode.
Gets fixed by restarting Android App Support.
If I disable the autostart and just start it with first usage of Android software, everything works.
So the Android App Support is probably getting started too soon on boot and cannot bind to rotation status.
This issue seems to be current even for Sailfish OS 4.1, and also the same workaround can be used there: restart Android App support which has been autostarted at boot, and rotation will also start working.