This change adds in two mechanisms to dismiss the login
screen that shows up on boot. The first is a countdown
timer and the second is a start driving button. Both of
them behave in the same way that once the timer runs out
or if the button is clicked, the system will automatically
try to select a user and get the system running.
Right now the implementation of selecting a user is a bit
trivial, it just tries to drop the keyguard on the currently
running user.
Bug: 36454400
Test: 1. Booted mojave, watched progress bar make progress
and automatically log in user.
2. Booted mojave, clicked the start driving button and
watch the keyguard dismiss itself.
Change-Id: If22f4c3c7e21aadf2951b9c0cd8b97a4b474b349
23 lines
805 B
XML
23 lines
805 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/**
|
|
* Copyright (c) 2016, The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
-->
|
|
<resources>
|
|
<string name="unknown_user_label">Unknown</string>
|
|
<string name="start_driving">Start Driving</string>
|
|
</resources>
|