Historically, when you turn your phone on its side, the screen rotates. To keep this from happening, you can lock the orientation. But with Android P, Google included a way to have to the best of both worlds.
This new feature, which doesn’t seem to have an exact name, allows the display to be rotated on a per-app bases. But here’s the catch: it only works when rotation lock is enabled. But that’s what makes it so simply brilliant.
Here’s how it works. Lock the screen rotation by pulling down the notification shade and tapping the Auto-rotate button (black is off). Now, fire up an app that you’re sure will rotate and turn the screen.
A little rotate button should show up in the corner of the navigation bar—tap it to rotate the screen. To go back to the “regular” orientation, turn the phone again. The button will appear again and you can flip it back.
With this feature, you can make sure the screen doesn’t rotate when you don’t want it to, but still flip specific apps into the alternation orientation when you need to. Since it works on a per-app basis, you’ll have control over display orientation like never before.