Skip to content
Snippets Groups Projects
Commit 6bcd65c9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Keystore 2.0: Add namespace locksettings."

parents d42f1be8 52e19940
No related branches found
No related tags found
No related merge requests found
......@@ -904,6 +904,7 @@ public abstract class KeyProperties {
@IntDef(prefix = { "NAMESPACE_" }, value = {
NAMESPACE_APPLICATION,
NAMESPACE_WIFI,
NAMESPACE_LOCKSETTINGS,
})
public @interface Namespace {}
......@@ -924,6 +925,13 @@ public abstract class KeyProperties {
@SystemApi
public static final int NAMESPACE_WIFI = 102;
/**
* The namespace identifier for the LOCKSETTINGS Keystore namespace.
* This must be kept in sync with system/sepolicy/private/keystore2_key_contexts
* @hide
*/
public static final int NAMESPACE_LOCKSETTINGS = 103;
/**
* For legacy support, translate namespaces into known UIDs.
* @hide
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment