Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9c417c8 authored by Brian Colonna's avatar Brian Colonna Committed by Android (Google) Code Review
Browse files

Merge "Added callback to allow Face Unlock to hide black area" into ics-mr0

parents b0994ed7 f8b9a475
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -22,5 +22,6 @@ oneway interface IFaceLockCallback {
    void unlock();
    void cancel();
    void reportFailedAttempt();
    void exposeFallback();
    void pokeWakelock();
}
+7 −0
Original line number Diff line number Diff line
@@ -1375,6 +1375,13 @@ public class LockPatternKeyguardView extends KeyguardViewBase implements Handler
            mKeyguardScreenCallback.pokeWakelock(BACKUP_LOCK_TIMEOUT);
        }

        // Removes the black area that covers the backup unlock method
        @Override
        public void exposeFallback() {
            if (DEBUG) Log.d(TAG, "FaceLock exposeFallback()");
            hideFaceLockArea(); // Expose fallback
        }

        // Allows the Face Unlock service to poke the wake lock to keep the lockscreen alive
        @Override
        public void pokeWakelock() {