Collapse crostini shared paths when a parent is shared.

If 2 child dirs such as /a/a, and /a/b, are shared, then parent
/a is shared, we no longer register both children as being shared
and we only show the parent in settings page as being shared.
If the parent is subsequently unshared, then children will also be

Bug: 878324
Change-Id: I1c85d75ad934d48cd353299943f7de893ca62017
Reviewed-by: Timothy Loh <>
Commit-Queue: Joel Hockey <>
Cr-Commit-Position: refs/heads/master@{#604465}
5 files changed