by Pete Glass
This version adds per app over-ride. Sets and locks the screen orientation to the orientation chosen in the dialog...portrait, landscape, reverse landscape, or reverse portrait (not supported on all devices). This plus version supports adding apps to a variable that will over-ride to rotation lock when those apps are in the foreground (you will need to modify the "package" expression (fx) block, adding the package names you need in addition to setting your preferred orientation for these packages in the screen orientation block below the package expression block to suit your individual preferences). Flow resumes after a reboot. Flow can be used with a widget if desired. Custom icons for automate widgets are available at www.iconspedia.com assuming you are using an automate flow beginnings shortcut style widget and have a custom android launcher like GoLauncher or an app like Icon Changer from the app store that allows you to change shortcut icons.
Try my "Package & Activity Class Logger" linked below if you have difficulty determining the name of a particular package.
* * * Created by Pete Glass * * *
Reviews and ratings can be submitted in the app.