commit | b4a93aceb84df4237c3e8eb87e6c6bd4627ed047 | [log] [tgz] |
---|---|---|
author | Ben Kwa <kenobi@google.com> | Fri Jan 08 08:41:34 2016 -0800 |
committer | Ben Kwa <kenobi@google.com> | Fri Jan 08 11:36:55 2016 -0800 |
tree | b06b2e65eea70850d5e6bd1d2f1e16302ff5a6dc | |
parent | c625816a0ea26c6c66b780a115030610b0f55a87 [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