DO NOT MERGE - Check for existing lock pattern before changing credential in Settings

Fixes: 73383967
Test: RunCarSettingsRoboTests

- Encapsulate screen lock logic inside an Activity
- If a lock pattern is set, show the ConfirmLockPatternFragment, otherwise show ChooseLockTypeFragment
- When the existing lock is verified, launch the list fragment and pass the current lock
- Use the existing lock to update lock settings

Change-Id: Ie31f747f30c2fc1aa97a79e75c90af236f3e3a50
12 files changed
tree: c658633f5deba636ea9dca2a0c2cfca505ebdad6
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg