summaryrefslogtreecommitdiff
path: root/framework/api
diff options
context:
space:
mode:
authorHassan Ali <hsnali@google.com>2022-12-16 13:10:26 +0000
committerHassan Ali <hsnali@google.com>2022-12-16 20:16:25 +0000
commit6dc2ee552c5cdfcea4ea3ad51a7e9755e84aae97 (patch)
treecce0d8131e4dc5c4938823a0968485e4e23693aa /framework/api
parent8e8f1d26d88b525cb69bfa65527bfd7a3ae71063 (diff)
downloadConfigInfrastructure-6dc2ee552c5cdfcea4ea3ad51a7e9755e84aae97.tar.gz
Add monitor callback interface
Add monitor callback interface which has callback functions for updating a namespace and accessing device config. Test: m Bug: 261723248 Change-Id: Ifd7e61864db5b9df8fc3e0f5dd98d21491ab302b
Diffstat (limited to 'framework/api')
-rw-r--r--framework/api/system-current.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/api/system-current.txt b/framework/api/system-current.txt
index ff12196..0512dc5 100644
--- a/framework/api/system-current.txt
+++ b/framework/api/system-current.txt
@@ -94,6 +94,11 @@ package android.provider {
ctor public DeviceConfig.BadConfigException();
}
+ public static interface DeviceConfig.MonitorCallback {
+ method public void onDeviceConfigAccess(@NonNull String, @NonNull String);
+ method public void onNamespaceUpdate(@NonNull String);
+ }
+
public static interface DeviceConfig.OnPropertiesChangedListener {
method public void onPropertiesChanged(@NonNull android.provider.DeviceConfig.Properties);
}