Update freeze test level along with finalization

Bug: 390060775
Test: manual
Change-Id: Ia322e3f9ff6c89e29238721aef50e9312e113fb1
diff --git a/tools/finalize-vintf-resources.sh b/tools/finalize-vintf-resources.sh
index 3f3def6..aa67b94 100755
--- a/tools/finalize-vintf-resources.sh
+++ b/tools/finalize-vintf-resources.sh
@@ -149,3 +149,5 @@
 bpmodify="$top/out/host/linux-x86/bin/bpmodify"
 $bpmodify -a ":${ver}_sepolicy_cts_data" -m prebuilt_sepolicy_cts_data -property srcs -w \
     $top/system/sepolicy/tests/Android.bp
+sed -i "s/FREEZE_TEST_BOARD_API_LEVEL = \".\{6\}\"/FREEZE_TEST_BOARD_API_LEVEL = \"${ver}\"/" \
+    $top/system/sepolicy/Android.bp