summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRyan Lothian <rjlothian@google.com>2016-01-21 15:07:01 +0000
committerRyan Lothian <rjlothian@google.com>2016-01-21 15:07:01 +0000
commitce8d4f51b9405003e664736d81e2374dfc117db9 (patch)
treed6c872a7d1d83933993999ecba2c2c29f00c4bb6 /tools/aapt2/java/JavaClassGenerator.cpp
parentc1b92381f5cc0063cf5d5ce3167ed9b70373dd5b (diff)
Improve documentation for IntentService
The argument to onHandleIntent(Intent) is sometimes null. This is surprising, and isn't mentioned in the Javadoc. + Add a warning about this behavior to the method's Javadoc. + Add @Nullable annotation so tools that do null safety analysis (e.g. Android Studio) will generate a warning for apps that dereference the intent parameter without checking. Change-Id: I26485eba8c79ba700dd9423e5d356efbb423becd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions