Skip to content

Commit 3a57e59

Browse files
authored
Merge pull request #586 from KOWX712/action_update
drop DEVICE_INITIAL_SDK_INT from action.sh
2 parents 74f785b + 5aef301 commit 3a57e59

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

module/action.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,13 @@ echo "$MODEL ($PRODUCT)"
9393
FINGERPRINT="$(strings PIXEL_ZIP_METADATA | grep -am1 'post-build=' | cut -d= -f2)"
9494
SECURITY_PATCH="$(strings PIXEL_ZIP_METADATA | grep -am1 'security-patch-level=' | cut -d= -f2)"
9595

96-
# Get device SDK version
97-
sdk_version="$(getprop ro.build.version.sdk)"
98-
sdk_version="${sdk_version:-25}"
99-
echo "Device SDK version: $sdk_version"
100-
10196
echo "- Dumping values to pif.json ..."
10297
cat <<EOF | tee pif.json
10398
{
10499
"FINGERPRINT": "$FINGERPRINT",
105100
"MANUFACTURER": "Google",
106101
"MODEL": "$MODEL",
107-
"SECURITY_PATCH": "$SECURITY_PATCH",
108-
"DEVICE_INITIAL_SDK_INT": $sdk_version
102+
"SECURITY_PATCH": "$SECURITY_PATCH"
109103
}
110104
EOF
111105

0 commit comments

Comments
 (0)