Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_frameworks_base-old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Farzin Kazemzadeh
platform_frameworks_base-old
Commits
8089347d
Commit
8089347d
authored
10 months ago
by
Max Bires
Committed by
Gerrit Code Review
10 months ago
Browse files
Options
Downloads
Plain Diff
Merge "Revert "Deprecate uses of Android Protected Confirmation"" into main
parents
0ffcc276
38359725
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
keystore/java/android/security/AndroidProtectedConfirmation.java
+0
-15
0 additions, 15 deletions
...e/java/android/security/AndroidProtectedConfirmation.java
with
0 additions
and
15 deletions
keystore/java/android/security/AndroidProtectedConfirmation.java
+
0
−
15
View file @
8089347d
...
...
@@ -59,10 +59,6 @@ public class AndroidProtectedConfirmation {
/**
* Requests keystore call into the confirmationui HAL to display a prompt.
* @deprecated Android Protected Confirmation had a low adoption rate among Android device
* makers and developers alike. Given the lack of devices supporting the
* feature, it is deprecated. Developers can use auth-bound Keystore keys
* as a partial replacement.
*
* @param listener the binder to use for callbacks.
* @param promptText the prompt to display.
...
...
@@ -72,7 +68,6 @@ public class AndroidProtectedConfirmation {
* @return one of the {@code CONFIRMATIONUI_*} constants, for
* example {@code KeyStore.CONFIRMATIONUI_OK}.
*/
@Deprecated
public
int
presentConfirmationPrompt
(
IConfirmationCallback
listener
,
String
promptText
,
byte
[]
extraData
,
String
locale
,
int
uiOptionsAsFlags
)
{
try
{
...
...
@@ -89,16 +84,11 @@ public class AndroidProtectedConfirmation {
/**
* Requests keystore call into the confirmationui HAL to cancel displaying a prompt.
* @deprecated Android Protected Confirmation had a low adoption rate among Android device
* makers and developers alike. Given the lack of devices supporting the
* feature, it is deprecated. Developers can use auth-bound Keystore keys
* as a partial replacement.
*
* @param listener the binder passed to the {@link #presentConfirmationPrompt} method.
* @return one of the {@code CONFIRMATIONUI_*} constants, for
* example {@code KeyStore.CONFIRMATIONUI_OK}.
*/
@Deprecated
public
int
cancelConfirmationPrompt
(
IConfirmationCallback
listener
)
{
try
{
getService
().
cancelPrompt
(
listener
);
...
...
@@ -113,14 +103,9 @@ public class AndroidProtectedConfirmation {
/**
* Requests keystore to check if the confirmationui HAL is available.
* @deprecated Android Protected Confirmation had a low adoption rate among Android device
* makers and developers alike. Given the lack of devices supporting the
* feature, it is deprecated. Developers can use auth-bound Keystore keys
* as a partial replacement.
*
* @return whether the confirmationUI HAL is available.
*/
@Deprecated
public
boolean
isConfirmationPromptSupported
()
{
try
{
return
getService
().
isSupported
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment