Remove flag_check.py, we now have flag directive check in gerrit presubmit.
See b/340896878 & go/flag-format-checker-design-doc & go/flag-directive-checker
Bug: 391534772
Test: Manual
Flag: EXEMPT remove flag check hook
Change-Id: I1291678e29a96bae65b63db5d6750e1b48c4601f
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 9051ca8..6948133 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -10,4 +10,3 @@
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --config_xml tools/checkstyle.xml --sha ${PREUPLOAD_COMMIT}
-flag_hook = ${REPO_ROOT}/frameworks/base/packages/SystemUI/flag_check.py --msg=${PREUPLOAD_COMMIT_MESSAGE} --files=${PREUPLOAD_FILES} --project=${REPO_PATH}