Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7734a75 authored by Sunny Shao's avatar Sunny Shao
Browse files

Add the checkstyle_hook into PREUPLOAD.cfg

Check the unused import and the sequence of import before submitting.

Fixes: 142160947
Test: Manual test
Change-Id: I846f4ab5f349f0017163cf9d35b4d44e85597bbc
parent 764115ca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@ checkcolor_hook = ${REPO_ROOT}/prebuilts/checkcolor/checkcolor.py -p .

strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_COMMIT}

checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}