summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2015-01-07 20:50:29 +0100
committerAdrian Roos <roosa@google.com>2015-01-07 22:10:35 +0100
commit230635efe7ffb09d6dc56bfd9193aa1d89c8a898 (patch)
tree9bb960ef1ddb52ee7ef42c57898058323598bae3 /packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java
parent382d6a9ed2360ceb462ea46a60f0f106fdb52540 (diff)
downloadframeworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.zip
frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.tar.gz
frameworks_base-230635efe7ffb09d6dc56bfd9193aa1d89c8a898.tar.bz2
Purge biometric weak and keyguard widgets
Bug: 18931518 Change-Id: I5da41908b1d6895a69f981e139f2d268327fafcd
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java22
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java
index 11f7c63..107f417 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSecurityModel.java
@@ -91,26 +91,4 @@ public class KeyguardSecurityModel {
}
return mode;
}
-
- /**
- * Some unlock methods can have an alternate, such as biometric unlocks (e.g. face unlock).
- * This function decides if an alternate unlock is available and returns it. Otherwise,
- * returns @param mode.
- *
- * @param mode the mode we want the alternate for
- * @return alternate or the given mode
- */
- SecurityMode getAlternateFor(SecurityMode mode) {
- return mode; // no alternate, return what was given
- }
-
- /**
- * Some unlock methods can have a backup which gives the user another way to get into
- * the device. This is currently only supported for Biometric and Pattern unlock.
- *
- * @return backup method or current security mode
- */
- SecurityMode getBackupSecurityMode(SecurityMode mode) {
- return mode; // no backup, return current security mode
- }
}