Android apps do not honour rotation lock setting
Android apps do not honour the rotation lock settings on XA2. They rotate freely.
This is the same behaviour as was seen many years ago and then fixed.
Android apps do not honour the rotation lock settings on XA2. They rotate freely.
This is the same behaviour as was seen many years ago and then fixed.
Update to 3.3.0 still didn't fix everything for the Android apps in Android 8.1:
Preventing the autorotation temporarily by touching the screen while turning the phone is not working correctly for Android apps. Once you stop touching the screen, the autorotation will happen. This does not happen in Sailfish apps which will keep un-autorotated even after taking the finger off.
(XA2 dual sim)
@teemu: You are right. While having the dynamic setting selected and the device in landscape orientation (for example), if one keeps a finger on the screen, turns the device to the portrait orientation and pulls off the finger, then the display turns to portrait in case of Android apps but keeps the landscape mode in case of Sailfish apps.
This should be considered a detail compared to the problem originally reported: "Android apps do not honour rotation lock setting". That is fixed in 3.3.0.
Still, I will file a new bug about this remaining issue.
jovirkku ( 2020-04-03 14:26:31 +0300 )editI would like empasis that the orientation changes only after the finger has been lifted from the screen. Tested with XA2 and XA2 Ultra.
In addition; the freshly flashed 3.2.1>3.3.0 XA2 didn't turn any Android apps at all until I flippes the screen rotation to portrait and back to dynamic in Jolla Settings. No fancy stuff installed.
Direc ( 2020-04-03 18:34:40 +0300 )edit@jovirkku, thanks.
And yes, you can "hold" the screen unrotated in Android apps when turning the device but once you "release" it the flippance will happen at that point.
Honestly, I never even noticed the main issue of the Android apps not respecting the "full" autorotation lock. But this one-time autorotation prevention is a complete killer feature I love; I am in habit of reading stuff from internet on Chromium browser before going to sleep and want the screen to stay vertical (in relation) when I and the device go horizontal.
teemu ( 2020-04-03 20:02:47 +0300 )editThe mains functions of display rotation do work now in OS release 3.3.0.
However, one cannot temporarily prevent the autorotation with a fingertip on the screen. We have filed a separate bug about this.
Citing the release notes for 3.3.0:
Display orientation lock fixed for Android apps
Goshdangit. The upgrade to 3.3.0 also fixed the trickery that gave you access to Android Settings by opening Settings - Applications - [an Android app] - Open AndroidTM Settings and then pressing the back button, which minimized the window and after re-maximizing it you found yourself in the master Android settings.
I had used this to switch off autorotation for Android apps, but now I apparently need to install Aliendalvik Control to get there to switch the autorotation back on.
If you too have been using this, be sure to switch autorotation on before upgrading to 3.3.0.
teemu ( 2020-04-03 10:05:44 +0300 )edit@teemu I asked to re-add a possibility to open the Android settings here: https://together.jolla.com/question/222221/release-notes-330-rokua/?answer=224497#post-id-224497
Sebix ( 2020-04-04 13:15:34 +0300 )editPreventing the autorotation temporarily by touching the screen while turning the phone is not working correctly for Android apps. Once you stop touching the screen, the autorotation will happen. This does not happen in Sailfish apps which will keep un-autorotated even after taking the finger off.
MyrtleFletcher ( 2020-04-23 14:21:11 +0300 )edit@MyrtleFletcher: @teemu: Correct, this problem remains on 3.3.0.16, i.e. one cannot temporarily prevent the autorotation with a fingertip on the screen. The mains functions of display rotation do work now.
jovirkku ( 2020-04-24 14:31:01 +0300 )editAsked: 2019-05-08 18:12:00 +0300
Seen: 531 times
Last updated: Apr 27 '20
Have the same issue with my XA2 Ultra.
lqs01 ( 2019-05-08 19:30:47 +0300 )editWeird. On my XA2 Android apps don't rotate at all. When I forced OSMAnd~ to landscape in the app's own settings, the app froze, and cannot be started anymore.
Fuzzillogic ( 2019-05-08 19:57:20 +0300 )editOh yes, also recognized this when switched to Stailfish X on Xperia XA2. I've disabled rotation for Android apps in Android settings. It's annoying that no Android apps rotate now, but it's still better than unwanted behaviours.
donni106 ( 2019-05-08 23:34:11 +0300 )editIndeed I had rotation disabled in Android settings. I can now confirm the Android subsystem doesn't follow the rotation settings in SailfishOS.
Fuzzillogic ( 2019-05-09 00:10:09 +0300 )editHow do I access these Android settings? Do I need a specific app for this?
Venty ( 2019-05-14 18:08:15 +0300 )edit