Use --min_sdk_version to use newer APIs for Java

With min_sdk_version, we can use Parcel's newer APIs to generate better
(or smaller) code.

Since writeTypedObject is guarded with min_sdk_version,
DEFAULT_SDK_VERSION_JAVA is set to 1.

Bug: 205052430
Test: atest aidl_integration_test
             (uses newer APIs)
Change-Id: I55206d4c0632221b3d11f9d9249a13749ed92d84
diff --git a/options.h b/options.h
index 98d818e..a391332 100644
--- a/options.h
+++ b/options.h
@@ -29,10 +29,9 @@
 using std::vector;
 
 // The oldest SDK version that is supported for each backend. For non-Java backends, these are the
-// platform SDK version where the support for the backend was added. For Java backend, this should
-// ideally be 1, but is actually 23 as the generated code uses some APIs (like
-// `Parcel.writeTypedObject`) added in 23.
-constexpr uint32_t DEFAULT_SDK_VERSION_JAVA = 23;
+// platform SDK version where the support for the backend was added. For Java backend, this is 1.
+// TODO(b/205065703) switch back to DEFAULT_SDK_VERSION_JAVA = 23
+constexpr uint32_t DEFAULT_SDK_VERSION_JAVA = 1;
 constexpr uint32_t DEFAULT_SDK_VERSION_CPP = 23;
 constexpr uint32_t DEFAULT_SDK_VERSION_NDK = 29;
 constexpr uint32_t DEFAULT_SDK_VERSION_RUST = 31;