Merge sub pages for lock/unlock into 1 xml.
And create PreferenceControllers for each setting The page is still pretty janky and controllers are invoked manually. Next CL will clean these up. Bug: 32953042 Test: TODO Change-Id: I1d7478324f5de4fdb464d79f89086f7e79c0ee67
This commit is contained in:
@@ -974,6 +974,10 @@ public class FingerprintSettings extends SubSettings {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated in favor of new SecuritySettings.
|
||||
*/
|
||||
@Deprecated
|
||||
public static Preference getFingerprintPreferenceForUser(Context context, final int userId) {
|
||||
final FingerprintManager fpm = Utils.getFingerprintManagerOrNull(context);
|
||||
if (fpm == null || !fpm.isHardwareDetected()) {
|
||||
|
Reference in New Issue
Block a user