OSDN Git Service

Let admin disable fingerprint for the work challenge
authorEsteban Talavera <etalavera@google.com>
Thu, 11 Feb 2016 15:45:30 +0000 (15:45 +0000)
committerEsteban Talavera <etalavera@google.com>
Thu, 11 Feb 2016 15:45:30 +0000 (15:45 +0000)
commit2547071ff8d83dc51c915a56202081ca3a100b23
tree2ef94f7bfe18094bf00a26aa29d5b0ae8004ac93
parente64f3da729ae6a00fb627f00b8a97e7c5feb8bcb
Let admin disable fingerprint for the work challenge

Also, reworked the logic a bit:
* Admins can only set flags that affect the parent on the
  parent DPM instance (i.e. no unredacted notifications)
* Admins can set flags not supported on the work challenge on
  the regular DPM instance. If there is a work challenge,
  they will have no effect (as managed profile policies don't
  affect the regular lockscreen if there is a work challenge).
  If there is no work challenge, they'll affect the parent profile.

Bug: 26891832
Change-Id: I8978e1aa6abe9c8dc07e030dfd069b5f4e1301f6
services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java