mirror of
https://github.com/chiteroman/PlayIntegrityFix.git
synced 2025-04-29 01:22:07 +08:00
drop DEVICE_INITIAL_SDK_INT from action.sh
This commit is contained in:
parent
74f785b943
commit
5aef30112f
@ -93,19 +93,13 @@ echo "$MODEL ($PRODUCT)"
|
||||
FINGERPRINT="$(strings PIXEL_ZIP_METADATA | grep -am1 'post-build=' | cut -d= -f2)"
|
||||
SECURITY_PATCH="$(strings PIXEL_ZIP_METADATA | grep -am1 'security-patch-level=' | cut -d= -f2)"
|
||||
|
||||
# Get device SDK version
|
||||
sdk_version="$(getprop ro.build.version.sdk)"
|
||||
sdk_version="${sdk_version:-25}"
|
||||
echo "Device SDK version: $sdk_version"
|
||||
|
||||
echo "- Dumping values to pif.json ..."
|
||||
cat <<EOF | tee pif.json
|
||||
{
|
||||
"FINGERPRINT": "$FINGERPRINT",
|
||||
"MANUFACTURER": "Google",
|
||||
"MODEL": "$MODEL",
|
||||
"SECURITY_PATCH": "$SECURITY_PATCH",
|
||||
"DEVICE_INITIAL_SDK_INT": $sdk_version
|
||||
"SECURITY_PATCH": "$SECURITY_PATCH"
|
||||
}
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user