- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent the device from sleeping. - If we get a successful fingerprint, wake the device up, immediately dismiss the keyguard and tell PWM that we kicked off our frame that will represent the correct state. - PWM then waits for this frame to be drawn, and then turns on the screen, which results in unlocking directly to the previsouly opened app. Bug: 21855614 Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
32 lines
1.0 KiB
Java
32 lines
1.0 KiB
Java
/*
|
|
* Copyright (C) 2014 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
|
|
*/
|
|
|
|
package com.android.keyguard;
|
|
|
|
/**
|
|
* Defines constants for the Keyguard.
|
|
*/
|
|
public class KeyguardConstants {
|
|
|
|
/**
|
|
* Turns on debugging information for the whole Keyguard. This is very verbose and should only
|
|
* be used temporarily for debugging.
|
|
*/
|
|
public static final boolean DEBUG = false;
|
|
public static final boolean DEBUG_SIM_STATES = false;
|
|
public static final boolean DEBUG_FP_WAKELOCK = true;
|
|
}
|