commit | 8aff854b940039cce5fa2a227b19e39de6787b20 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Wed Mar 30 20:37:28 2016 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Wed Mar 30 20:37:30 2016 -0600 |
tree | e4dbb238718a79a37df2453d5549d38842a88d8e | |
parent | 71ee662ec3f82db66f1a34579aff75cc27d4b205 [diff] |
Kill apps using PublicVolume when unmounting. Bug: 24863778 Change-Id: I86a482c6de78afe2e09ca91165000e1b10a42058
diff --git a/PublicVolume.cpp b/PublicVolume.cpp index 8580da9..e748de6 100644 --- a/PublicVolume.cpp +++ b/PublicVolume.cpp
@@ -200,6 +200,8 @@ mFusePid = 0; } + KillProcessesUsingPath(getPath()); + ForceUnmount(kAsecPath); ForceUnmount(mFuseDefault);