• Jeff Sharkey's avatar
    Kill apps using storage through bind mounts. · 89f74fbf
    Jeff Sharkey authored
    When unmounting an emulated volume, look for apps with open files
    using the final published volume path.
    
    Without this change, we were only looking at the internal paths
    used for runtime permissions, which apps never use directly.  This
    meant we'd always fail to unmount the volume if apps didn't respect
    the EJECTING broadcast, and volume migration would end up wedged
    until the device rebooted.
    
    Bug: 24863778
    Change-Id: Ibda484e66ab95744c304c344b226caa5b10b7e2e
    89f74fbf
Process.cpp 6.31 KB