summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2013-04-05 13:42:57 +0200
committerDanny Baumann <dannybaumann@web.de>2013-04-05 13:42:57 +0200
commitf15a419e70a51518e2c68e837c09c15fef09e721 (patch)
tree72ecbb72e3d7ea328529a0755790138d19d62b60 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9658de2df79f6472dd0728d50074e27a3553637d (diff)
Fix documentation of requestCode parameter.
It's not correct to state requestCode is 'currently not used'. It can be used to differentiate multiple PendingIntents since a number of Android versions now. Also, the introduction block of the PendingIntent documentation explicitly states this as a possible use: "If you truly need multiple distinct PendingIntent objects active at the same time [...], then you will need to ensure there is something that is different about them to associate them with different PendingIntents. This may be any of the Intent attributes considered by Intent.filterEquals, or different request code integers supplied [...]" So fix the documentation inconsistency to make the possible use immediately clear. Change-Id: Ia65d7a5ab12c2c3ee1aa1c5107e5ea8fd937b765
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions