summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Hsieh <victorhsieh@google.com>2019-11-27 09:30:08 -0800
committerVictor Hsieh <victorhsieh@google.com>2019-12-02 15:36:51 -0800
commit47ce608298669af8a803178b00593433990a8c8a (patch)
tree9e872acde98672f326d1a42e8bc6cd7722fc95ee
parenta8b96acb88a636d5723be43272b00857bc32dd26 (diff)
downloadlibsysprop-47ce608298669af8a803178b00593433990a8c8a.tar.gz
Add ro.apk_verity.mode to PlatformProperties
Test: build Bug: 142494008 Bug: 144164497 Change-Id: I4f5d15311afd63957a0db0453b9fda1bdb2ff595
-rw-r--r--srcs/android/sysprop/ApkVerityProperties.sysprop24
-rw-r--r--srcs/api/PlatformProperties-current.txt9
2 files changed, 33 insertions, 0 deletions
diff --git a/srcs/android/sysprop/ApkVerityProperties.sysprop b/srcs/android/sysprop/ApkVerityProperties.sysprop
new file mode 100644
index 0000000..ab7795c
--- /dev/null
+++ b/srcs/android/sysprop/ApkVerityProperties.sysprop
@@ -0,0 +1,24 @@
+# Copyright (C) 2019 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+owner: Platform
+module: "android.sysprop.ApkVerityProperties"
+
+prop {
+ api_name: "apk_verity_mode"
+ type: Integer
+ prop_name: "ro.apk_verity.mode"
+ scope: Public
+ access: Writeonce
+}
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index a5369c5..ceaafdc 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -8,6 +8,15 @@ props {
}
}
props {
+ module: "android.sysprop.ApkVerityProperties"
+ prop {
+ api_name: "apk_verity_mode"
+ type: Integer
+ access: Writeonce
+ prop_name: "ro.apk_verity.mode"
+ }
+}
+props {
module: "android.sysprop.CarProperties"
prop {
api_name: "boot_user_override_id"