commit | b92de07b63bbcb05ff15a32dda8644ee763acc5d | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Oct 06 13:09:46 2017 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Oct 06 13:09:47 2017 -0600 |
tree | cbcdce810b4bcea1c6ca4ba3d408854e12c3ac2b | |
parent | 049c1147a12684a6f95c6d8b326dc29208908d14 [diff] |
Fix bug in directory depth counting. The path "dir//file" has the same depth as "dir/file". Also verify with local unit tests. Test: /data/nativetest64/installd_utils_test/installd_utils_test Test: cts-tradefed run commandAndExit cts-dev --abi armeabi-v7a -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AdoptableHostTest Bug: 67471251 Change-Id: Iab35b4fe5591ddd42a7121b630cffcd94ad23c40