Add flag to hide disabled keyguard options.
Normally keyguard options are disabled by things like credential storage and device admins, so we show the reason in ChooseLockGeneric. However, in the case of fingerprint we want to limit the scope to just those options that have security (pin,password,pattern). Bug 19592835 Change-Id: I6832ff692bad538adeec2f2575fca4f8f04f40cf
This commit is contained in:
@@ -110,7 +110,7 @@ public class SetupChooseLockGeneric extends ChooseLockGeneric
|
||||
* @param quality the requested quality.
|
||||
*/
|
||||
@Override
|
||||
protected void disableUnusablePreferences(final int quality) {
|
||||
protected void disableUnusablePreferences(final int quality, boolean hideDisabled) {
|
||||
// At this part of the flow, the user has already indicated they want to add a pin,
|
||||
// pattern or password, so don't show "None" or "Slide". We disable them here and set
|
||||
// the HIDE_DISABLED flag to true to hide them. This only happens for setup wizard.
|
||||
|
Reference in New Issue
Block a user