commit | edba98c1c8728189dfd14c34527b8445fdd146e0 | [log] [tgz] |
---|---|---|
author | jovanak <jovanak@google.com> | Fri Sep 14 15:46:24 2018 -0700 |
committer | jovanak <jovanak@google.com> | Tue Oct 23 15:50:19 2018 -0700 |
tree | ebab72120d671fb0094c580f6f75cb201de42b67 | |
parent | 0d541559af18191897104e0685f43a561b1e5ba5 [diff] |
Adds automatic switching to Guest if user starts driving with the keyguard up. driving_on_keyguard_timeout_ms controlls the number of milliseconds we wait, before switching to Guest. If this number is negative, feature is disabled. Change-Id: Ic1357362a97cb14a4f221d53e17a30cd3fefc5ea Fixes: 110228676 Test: manual testing on mojave and emulator. Toggling driving state and keyguard, and observing the timer logs and switching.