Changing user inactivity and warning dialog timeouts
Increasing the inactivity timeout to 90 seconds to accomodate the longest app. demo video for retail. Also, removing the warning dialog by setting the countdown timeout to 0, so it can be re-enabled by overriding the value through gservices if needed. Bug: 30426773 Bug: 30866394 Change-Id: I6735943adfaf3d210ed9eb9163b5c7ce8dcf53ec
This commit is contained in:
@@ -89,8 +89,8 @@ public class RetailDemoModeService extends SystemService {
|
||||
|
||||
private static final long SCREEN_WAKEUP_DELAY = 2500;
|
||||
private static final long USER_INACTIVITY_TIMEOUT_MIN = 10000;
|
||||
private static final long USER_INACTIVITY_TIMEOUT_DEFAULT = 30000;
|
||||
private static final long WARNING_DIALOG_TIMEOUT_DEFAULT = 6000;
|
||||
private static final long USER_INACTIVITY_TIMEOUT_DEFAULT = 90000;
|
||||
private static final long WARNING_DIALOG_TIMEOUT_DEFAULT = 0;
|
||||
private static final long MILLIS_PER_SECOND = 1000;
|
||||
|
||||
private static final int[] VOLUME_STREAMS_TO_MUTE = {
|
||||
|
||||
Reference in New Issue
Block a user