OSDN Git Service

Adding a warning dialog before restarting demo session
authorSuprabh Shukla <suprabh@google.com>
Tue, 14 Jun 2016 23:28:23 +0000 (16:28 -0700)
committerSuprabh Shukla <suprabh@google.com>
Thu, 23 Jun 2016 21:55:41 +0000 (14:55 -0700)
commitf38b1d7abee34722e9293f7ed78875290369b850
treedcd536115580eb122a9df0e9d46ab5f1b22d3d84
parent6d296286e4bb1594a2dcfe955883dace504a2f33
Adding a warning dialog before restarting demo session

Instead of immediately restarting the demo after user inactivity timeout,
now the system shows a warning dialog that counts down for 6 seconds,
during which the user can choose to continue the current session or
restart the session immediately.

Bug: 29520255
Change-Id: I060f700dcbbb6f64ae5fe95e3f3027bc3c33b38d
core/res/res/values/strings.xml
core/res/res/values/symbols.xml
services/core/java/com/android/server/am/RetailDemoModeService.java
services/core/java/com/android/server/am/UserInactivityCountdownDialog.java [new file with mode: 0644]