summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-02-24 15:36:50 -0800
committerFelipe Leme <felipeal@google.com>2016-02-25 11:14:03 -0800
commit85ae3cf46ad66d71e5a29a93e89a0f569d74288b (patch)
treef0f01f687870e4ee0f3e38bf72af2149e76de3d7 /tools/aapt2/java/JavaClassGenerator.cpp
parent1ce5c28ba54f31c0013542df81975148657b8229 (diff)
Final (?) fixes on id / pid split.
The main goal of this CL was to change the test cases to send an EXTRA_ID instead of EXTRA_PID, but in changing that it was revealed 2 minor bugs: - When setting the name property, it was using id instead of pid (which is what dumpstate expects). - When the pid is replaced by the name in the screenshots, it would be replaced twice if the pid was small enough (because the call to String.replace() would also replace the counter). This CL fixes these issues, and removes the temporary assignment of id = pid when the former is missing. BUG: 27076108 Change-Id: I70e7ce7d145019438272594686ac0d4d5dbe1723
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions