by Pete Glass
This version adds per app over-ride. Reads the current screen orientation and locks the orientation to the current orientation, portrait or landscape. Flow resumes after a reboot. 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 76, adding the package names you need to the array). Due to limitations in the check orientation object in automate this flow does not support reverse landscape. Use the "Rotation Locker with Dialog Choices" for reverse landscape support.
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.