From 63e4191745d6d5a0958fd4cac1fc11b06f082968 Mon Sep 17 00:00:00 2001 From: osm0sis Date: Sun, 24 Dec 2023 14:01:19 -0400 Subject: [PATCH] Update example.pif.json for system properties support --- module/example.pif.json | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/module/example.pif.json b/module/example.pif.json index 312473b..bdbd648 100644 --- a/module/example.pif.json +++ b/module/example.pif.json @@ -1,20 +1,26 @@ // Rename to custom.pif.json once completed // -// See android.os.Build source for corresponding properties: +// See android.os.Build source for field value corresponding properties: // https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/os/Build.java { - "MANUFACTURER": "", - "MODEL": "", - "FINGERPRINT": "", - "BRAND": "", - "PRODUCT": "", - "DEVICE": "", - "RELEASE": "", - "ID": "", - "INCREMENTAL": "", - "TYPE": "", - "TAGS": "", - "SECURITY_PATCH": "", - "DEVICE_INITIAL_SDK_INT": "" + // Build Fields + "MANUFACTURER": "", + "MODEL": "", + "FINGERPRINT": "", + "BRAND": "", + "PRODUCT": "", + "DEVICE": "", + "RELEASE": "", + "ID": "", + "INCREMENTAL": "", + "TYPE": "", + "TAGS": "", + "SECURITY_PATCH": "", + "DEVICE_INITIAL_SDK_INT": "", + + // System Properties + "*.build.id": "", // for ro.build.id + "*.security_patch": "", // for ro.build.version.security_patch + "*api_level": "" // for ro.board.first_api_level, ro.product.first_api_level and ro.vendor.api_level }