commit | 56878a93989a49538fabccfb7218face645030bf | [log] [tgz] |
---|---|---|
author | Clara Bayarri <clarabayarri@google.com> | Thu Oct 29 15:43:55 2015 +0000 |
committer | Clara Bayarri <clarabayarri@google.com> | Thu Dec 03 12:01:39 2015 +0000 |
tree | bca6d3e9111e79cbf88df6f48356d0ef5c1c2c25 | |
parent | fc6e25ef6e288cf75d70cf8185ff1c8831428936 [diff] |
Create work challenge timeout The work challenge should be locked whenever the device goes to sleep + admin timeout or when the power button is pressed if the lock setting is on. This change creates the infrastructure to lock a specific user instead of the device and uses it in these cases. Then, the current code that brings up the work challenge can check to only show it if the user is locked. Change-Id: I89b4342b1458d97734d7afa66be52bf04ec3a3d4