Add a PREUPLOAD file.

This file will ensure that any new uploads within the
packages/apps/Car/libs directory passes the Android linter and style
guides.

Test: Attempt to upload a file that does not pass linter and ensure it
is blocked.
Bug: 74344429

Change-Id: Id7771951f89e7f1a5a2d4726b8257e836d59aaeb
(cherry picked from commit d04051cef617ede2925bc12ccb5bf08d8effa394)
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 0000000..38f9800
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,7 @@
+[Hook Scripts]
+checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
+ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}
+
+[Builtin Hooks]
+commit_msg_changeid_field = true
+commit_msg_test_field = true