Shutdown holding space delegates while device is suspended
Some file systems are unmounted during device suspend (for example drive FS), which was causing the holding space file system delegate's file path removal detection to remove them from the holding space on device suspend. To avoid this issue, holding space keyed service now observes device suspend status and shuts down holding space delegates when the device suspends. The delegates are re-initialized when suspend ends, restoring the model from persistence again. BUG=1152924 Change-Id: Iffe4586bcb87f47d687ceeff0fc76e60a443c0d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568355 Commit-Queue: Toni Baržić <tbarzic@chromium.org> Reviewed-by:David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#833515}
Showing
This diff is collapsed.
Please register or sign in to comment