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 AppList variable, block 81, adding the package names you need).
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 * * *
Rate and review within the app in the Community section.