summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2017-04-27 18:09:19 -0700
committerAdam Lesinski <adamlesinski@google.com>2017-04-28 12:48:36 -0700
commit360182156a8e188534620de1e804993a6458470d (patch)
tree9eb787734d772b7edf061d55caa58fd771dcbe60 /tools/aapt2/java/JavaClassGenerator.cpp
parent1e4b0e54a3db31bdbcb9385bf22bab4b96096d1f (diff)
Valid resource IDs may be negative
Package IDs greater than 0x7f are interpreted as negative numbers in Java's signed integer. The proper check for existence of a resource ID is that it is not 0. Bug: 37498913 Test: none Change-Id: I446fb6abb514bf7cf2d0dcbfbd81dd5718cd2cb4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions