summaryrefslogtreecommitdiff
path: root/core/java/android/security/ConfirmationDialog.java
Commit message (Collapse)AuthorAgeFilesLines
* ConfirmationPrompt: Update for API review.David Zeuthen2018-04-041-332/+0
| | | | | | | | | | | | Misc. changes but notably the ConfirmationDialog class was renamed to ConfirmationPrompt. Manually tested by updating sample Android Confirmations application to use updated API. Bug: 77242268 Test: Manually tested. Change-Id: I1caa3c6bff9486b43ba111329d1ef83c3b67baf9
* ConfirmationDialog: Fail if accessibility services are running.David Zeuthen2018-03-121-0/+23
| | | | | | | | | | | | | As the confirmation dialog only has limited accessibility support it may not be usable by users requiring accessibility services. Therefore, if the user has enabled accessibility services, fail with ConfirmationNotAvailableException so the application can handle this case. Also document this behavior. Bug: 74545109 Test: Manually tested. Change-Id: Ibfb80d217f5cbdc9ec2f4e0432dfdd88add69703
* ConfirmationDialog: Pass accessibility options and implement isSupported().David Zeuthen2018-02-261-6/+32
| | | | | | Bug: 63928580 Test: Manually tested. Change-Id: I6a06d10a4cb924c3e57c8e212ba4626cad00f4a1
* Add Confirmation API.David Zeuthen2018-01-301-0/+283
This CL adds new Framework APIs that can be used for the secure confirmations. This includes support for configuring a key such that it can only sign data returned by the confirmation APIs. Bug: 63928580 Test: Manually tested. Change-Id: I94c1fc532376bd555b3dc37fc4709469450cfde6