TapAndTurn icon indicating copy to clipboard operation
TapAndTurn copied to clipboard

Rotation change for current app only

Open Basti1512 opened this issue 8 years ago • 7 comments

Usually I want another screen rotation for one app/situation only (e.g. YouTube or Firefox in landscape). But by switching back to the launcher or another app, it would be great to have the default orientation.

Basti1512 avatar Jan 21 '17 07:01 Basti1512

so you suggest, that if the rotation is changed from the default orientation, this selection is only valid until the currently open app changes?

Will Tap'n'Turm remember this selection, when you re-open the app? then it would be more like #8 with an app list and remembered orientations, right?

The other option would be easier... Can you/Do you want to work on a PR to contribute what you have in mind?

gabm avatar Jan 21 '17 08:01 gabm

I mean the first alternative (the easier one). The setting should be valid for the current app only. By closing this app the screen orientation should change to the default setting. I can work on a PR for it. How to start?

Basti1512 avatar Jan 22 '17 07:01 Basti1512

oh damn, sorry, I missed your reply :/ .. well If you're still interested, you could try to find a way on how to distinguish, which app is currently openend... Because thats the central part of the problem...

gabm avatar May 23 '17 17:05 gabm

This needs an actual Accessibility service I guess.

Careful that enabling/disabling such a service DEactivates "ask security pin/password on boot" ! (Know bug in Android)

licaon-kter avatar May 23 '17 18:05 licaon-kter

can u give us a link to that bug? thanks for bringing that up!

gabm avatar May 23 '17 18:05 gabm

https://blog.g3rt.nl/android-lollipop-encryption-user-interface-flaw.html

IIRC, that bug # was closed (without a fix BTW), and another one was opened, I can't actually show you the new one since you (now) apparently need a Google account to be able to access the Android bug tracker for some reason.

/LE: Might be this one: https://code.google.com/p/android/issues/detail?id=196830

licaon-kter avatar May 23 '17 19:05 licaon-kter

woa.. thanks.. crazy stuff :/

gabm avatar May 23 '17 20:05 gabm