File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
core/java/com/android/internal/policy
policy/src/com/android/internal/policy/impl Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,6 @@ oneway interface IFaceLockCallback {
2222 void unlock ();
2323 void cancel ();
2424 void reportFailedAttempt ();
25+ void exposeFallback ();
2526 void pokeWakelock ();
2627}
Original file line number Diff line number Diff line change @@ -1375,6 +1375,13 @@ public void reportFailedAttempt() {
13751375 mKeyguardScreenCallback .pokeWakelock (BACKUP_LOCK_TIMEOUT );
13761376 }
13771377
1378+ // Removes the black area that covers the backup unlock method
1379+ @ Override
1380+ public void exposeFallback () {
1381+ if (DEBUG ) Log .d (TAG , "FaceLock exposeFallback()" );
1382+ hideFaceLockArea (); // Expose fallback
1383+ }
1384+
13781385 // Allows the Face Unlock service to poke the wake lock to keep the lockscreen alive
13791386 @ Override
13801387 public void pokeWakelock () {
You can’t perform that action at this time.
0 commit comments