Enable the clang-format pre-submit hook for Java codes

Style: android java style modified from google style.
Checks only delta part in commit, not the entire modified file.
Will provide automatic fix option (type 'y' during upload)


Bug: 37003930
Test: Try to upload a patch with formatting errors.
Change-Id: I6bca0f334abd8a42dc3edd76fcc1f93a5ed347a8
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 78e7341..6be6e5f 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -2,5 +2,5 @@
 clang_format = true
 
 [Builtin Hooks Options]
-clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
+clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp,java