commit | cc30b0e7901f753fabbfa08f10d0b3f9b5a54144 | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Fri May 20 14:41:22 2016 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Mon May 23 17:47:51 2016 -0700 |
tree | 745dfcde2aa19a2ce8d7aff54e9114df0dce27d6 | |
parent | b0eab2351632558be4c7612d491964f3edc019ad [diff] |
Adding RetailModeService to handle retail mode The service listens for the global setting DEVICE_DEMO_MODE and switches device to demo mode when it is changed to 1. Also, acquires the wakelock to keep the screen on and puts up a notification to wipe and reset the demo session when in demo mode. Bug: 27280140 Change-Id: If1843016889ec2c50818c67432d60f33063e0986