summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBen Kwa <kenobi@google.com>2016-01-08 08:41:34 -0800
committerBen Kwa <kenobi@google.com>2016-01-08 11:36:55 -0800
commitf5ce1035d41b590c5a25074242baed9dbd48ef3f (patch)
tree5c0b175f11095d4922e08a50eca6ad63e5a7c01f /tools/aapt2/java/JavaClassGenerator.cpp
parent2e79249795ab7b48afe255daaa056f9a03119c76 (diff)
Fix home key behaviour when there are no subdirs in cwd.
The divider is extraneous when a directory contains only subdirs, or only files. The "only dirs" case works (the divider is omitted) but in the case where a directory contains only files, a divider gets inserted at position 0, which messes up navigation. This change adds code to avoid adding a divider when a directory contains only files. BUG=26406821 Change-Id: I7333911baf94e34bf428a3dd18b55694a73e3a62
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions