OSDN Git Service

Check if sdcard daemon exited.
authorDaniel Rosenberg <drosen@google.com>
Wed, 12 Jul 2017 00:59:55 +0000 (17:59 -0700)
committerDaniel Rosenberg <drosen@google.com>
Wed, 12 Jul 2017 01:09:15 +0000 (18:09 -0700)
commit1d79d1014e481c92c3f802bbaf174409d191571f
tree8167afc43ecd1682f40239c6dd5254b1aa2798ff
parent5139cdf9279015ef4c6e6a9452ae4a44f14bcba2
Check if sdcard daemon exited.

If the system is using sdcardfs, the sdcard daemon exits after mounting.
If it's using FUSE, the sdcard daemon runs until we go to unmount.

Bug: 37638548
Test: Run "adb shell ps | grep -w Z" with sdcardfs enabled.
      The sdcard daemon should not be listed.
      Run again with sdcardfs disabled. The daemon should be
      running, and vold should not be stuck waiting on it.
Change-Id: I930d22b35194ec99e7a6a4a022a04d36f4f39a34
EmulatedVolume.cpp
PublicVolume.cpp