diff options
author | Jaewan Kim <jaewan@google.com> | 2018-02-02 16:12:42 +0900 |
---|---|---|
committer | Jaewan Kim <jaewan@google.com> | 2018-02-02 18:11:48 +0900 |
commit | 25749c6a2356a124071205e2bf85c0024c594d47 (patch) | |
tree | 864690b44c305d3a66a200d063b5094973b88d34 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | e851d7c662a9bbc35b86783b96331d9e05957232 (diff) |
MediaSession2: Workaround javadoc issue with hidden generic super class
This includes two changes.
- Change all methods in MediaSession2.BuilderBase signatures from
public to package private.
- Subclasses of MediaSession2.BuilderBase (MediaSession2.Builder,
MediaLibraryService2.MediaLibrarySessionBuilder) now inherit all
methods from its super class and change method signatures to public
Changes are needed to workaround and fix following issues.
- Hidden super class's methods aren't shown in the Javadoc and 3rd
party apps cannot use them.
- Public generic methods in the super classes are shown in the Javadoc
with the generic types (e.g. 'U setSessionCallback()' instead of
'Builder setSessionCallback()')
- Stub classes for tests are automatically generated, but it somehow
fails to generate stub for the BuilderBase (seems like a bug)
Test: 'm update-api' and checked generated javadoc
Change-Id: I6f635624ef806578ab79d080424f11cb637d7984
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions