Fix Error Prone errors

Soong wasn't including android_app or android_test sources in the
javac-check target used for the Error Prone build, which allowed
some Error Prone errors to get in.  Fix them so Error Prone can be
re-enabled for these targets.

Fixes:
packages/providers/MediaProvider/tests/jni/FuseDaemonTest/src/com/android/tests/fused/FilePathAccessTest.java:285: error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue

Bug: 146455923
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I5c13a426503c45bea477b4e8d637e392b8c03881
1 file changed