OSDN Git Service

Fix two bugs in external storage accounting.
authorJeff Sharkey <jsharkey@android.com>
Thu, 26 Jan 2017 05:15:42 +0000 (22:15 -0700)
committerJeff Sharkey <jsharkey@android.com>
Thu, 26 Jan 2017 05:16:14 +0000 (22:16 -0700)
commit76ddaeb2017e422de5a8d686ab62844d23d17624
treea610cbe0ec9c4f5b602d58f3cb21aed08cb06ebb
parentaf78fe13a0765873984ee6a805a25f971e851600
Fix two bugs in external storage accounting.

When doing a manual tree walk, we always want to inherit fts_number
from the parent fts node.

For create_data_media_package_path(), two of the arguments had been
swapped.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.StorageHostTest
Bug: 2794881730927649
Change-Id: Ic3cbf387cf119aa82af6e380bde9d9b069f6bfb0
cmds/installd/InstalldNativeService.cpp