LockPatternKeyguardViewPropertiespublic class LockPatternKeyguardViewProperties extends Object implements KeyguardViewPropertiesKnows how to create a lock pattern keyguard view, and answer questions about
it (even if it hasn't been created, per the interface specs). |
Fields Summary |
---|
private final com.android.internal.widget.LockPatternUtils | mLockPatternUtils | private final KeyguardUpdateMonitor | mUpdateMonitor |
Methods Summary |
---|
public KeyguardViewBase | createKeyguardView(android.content.Context context, KeyguardUpdateMonitor updateMonitor, KeyguardWindowController controller)
return new LockPatternKeyguardView(context, updateMonitor,
mLockPatternUtils, controller);
| private boolean | isLockPatternSecure()
return mLockPatternUtils.isLockPatternEnabled() && mLockPatternUtils
.savedPatternExists();
| public boolean | isSecure()
return isLockPatternSecure() || isSimPinSecure();
| private boolean | isSimPinSecure()
final SimCard.State simState = mUpdateMonitor.getSimState();
return (simState == SimCard.State.PIN_REQUIRED || simState == SimCard.State.PUK_REQUIRED
|| simState == SimCard.State.ABSENT);
|
|