summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2017-08-09 12:55:00 -0700
committerChet Haase <chet@google.com>2017-08-09 20:03:56 +0000
commitb7c6a5d7e91b39074428b39e918e092768593700 (patch)
tree72fd36c88571bb5ae3009de57043c7c7c9a846eb /tools/aapt2/java/JavaClassGenerator.cpp
parent29865a021b133e92b6f0bc8d512d2dc0640f7867 (diff)
Document existing immutable behavior of ArrayAdapter
Various methods on ArrayAdapter throw exceptions if run on an adapter created with one of the varargs constructors. This is because those contructors create an Arrays.ArrayList, which does not allow modification. It is not worth changing the existing behavior, but it is worth making the behavior clearer in the docs. Bug: 63802412 ArrayAdapter crashes when calling clear() directly after constructor Test: docs-only fix. Verified with unit test that the docs apply correctly to the newly-documented methods. Built the docs target successfully. Change-Id: I75ae233879cc7db10853f93d78625a00675594b2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions