OSDN Git Service

Bind mount install and android writable DATA and OBB dirs
authorRicky Wai <rickywai@google.com>
Tue, 7 Apr 2020 12:43:20 +0000 (13:43 +0100)
committerRicky Wai <rickywai@google.com>
Mon, 20 Apr 2020 14:06:58 +0000 (15:06 +0100)
commitef63921f81118ea71049f8ff36fa035c54ea5ecd
tree1651bf4102b73eaa620495b34c7ee0a4b6791480
parent0fbd0c15422c2ba72d86bc5b0059854ed76c95ed
Bind mount install and android writable DATA and OBB dirs

To improvement performance, and also making them able to list
the dirs.

This should also be fine under b/151055432, as the whole obb
directory is mounted, renameTo() from installer to apps should be
a move not copy.

Bug: 153422990
Bug: 153540919
Test: atest AdoptableHostTest
Change-Id: Ia18fd4393db14a0f11d6e5b947dd716515bdeeef
VolumeManager.cpp
model/EmulatedVolume.cpp