-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
first launch, back to Autorotate fail, but OK after reboot #65
Comments
Same problem here. It appears the app doesn't reset rotation leaving the phone locked in landscape. |
It seems rotation is set here SecondScreen/app/src/main/java/com/farmerbb/secondscreen/service/ProfileLoadService.java Line 413 in 3dd38b9
and unset here SecondScreen/app/src/main/java/com/farmerbb/secondscreen/service/TurnOffService.java Line 238 in 3dd38b9
So it looks like some effort is made to restore the rotation, but it's not completely correct. |
Actually that seems not to be the problem. If you do not grant the app permission to force other apps to be in landscape, it actually reverts nicely, this suggests it's a problem with As far as I can tell, this service is used via the notificaiton service, which is turned off here: SecondScreen/app/src/main/java/com/farmerbb/secondscreen/service/TurnOffService.java Lines 461 to 463 in 74c05c9
Uh... I'm not sure how much further I'm going to get without launching the app in a debugger. |
Maybe the problem is that the overlay is removed after setting all the settings back to the default? No, actually I just tested, and after disabling the profile, a notification is still active that says the apps is drawing an overlay. Tapping the notification to remove the overlay reverts screen orientation to normal. So yea, basically the overlay is not removed correctly. |
I also have this issue. But the rotation lock gets actually stuck you can change it but the system settings are overwritten. |
Hi,
First, thank you for this useful app.
At the first launch, I create a desktop profile, connect the screen, everything is ok, but when I disconnect the screen, the device stay locked in landscape.
But this issue disappear after one reboot.
(rebooting the device after SecondScreen installation doesn't fix, it need a first use, get the issue then reboot the device)
The text was updated successfully, but these errors were encountered: