OSDN Git Service

Setting a system property when device goes into demo mode
authorSuprabh Shukla <suprabh@google.com>
Wed, 20 Jul 2016 00:32:15 +0000 (17:32 -0700)
committerSuprabh Shukla <suprabh@google.com>
Wed, 20 Jul 2016 01:30:29 +0000 (18:30 -0700)
commit707a9fc0027b76942e07f3c1aca8ff3db46b719c
tree74c81afbe7fe78133fc29f7a0ae60d59dbb0f4b4
parentd87be076446d0687f31ef7fd8f80b52818466153
Setting a system property when device goes into demo mode

Need a system property so that init can listen to changes to
it and restrict the battery driver from charging the battery beyond
an optimal charge level when the device is in retail demo mode

Bug: 30230924
Change-Id: I277acf27a442ec8f37aac2b01a1a8e0164947a45
services/retaildemo/java/com/android/server/retaildemo/RetailDemoModeService.java