OSDN Git Service

CertDialog supports multiple certs
authorVictor Chang <vichang@google.com>
Tue, 5 Apr 2016 19:01:24 +0000 (20:01 +0100)
committerVictor Chang <vichang@google.com>
Tue, 12 Apr 2016 15:09:30 +0000 (16:09 +0100)
commitd7d0e1b6b0710d6bd73d5440e827d6e129b02f0c
tree6c23c5685e6e0a8460d744ead31625048470aa88
parentb49c901f8ea6a2408755f62423eccb4be92d6ca6
CertDialog supports multiple certs

- Allow user to trust multiple certs in chain in one AlertDialog
- The animation is similar to GrantPermissionsViewHandlerImpl.
  - Fadeout current, Slide-in next cert from the right.
  - Not animate scale as the CustomeView in AlertDialog matchParent
- Refactor CertDialogBuilder into a separate class
- The change for config multiple cert into the dialog is another CL

note: For single cert case when user taps on a system/user cert,
no change is visible to user after this change

Bug: 18224038
Change-Id: I09ee8f683031c800830af4001582882d61cd4974
src/com/android/settings/TrustedCredentialsDialogBuilder.java [new file with mode: 0644]
src/com/android/settings/TrustedCredentialsSettings.java