Always allow lookups on the root node.
An earlier change started rejecting operations on the root (eg
"/storage/emulated") if the caller was an app; but we should exempt
lookups from that, since lookups are always allowed for the root, and
failing them might cause bind mounts to get removed.
Bug: 159194382
Test: atest
android.os.storage.cts.StorageManagerTest#testMountAndUnmountObbNormal
Change-Id: I40b2743b9965ecd200de404922a3d234a23c85da
Change-Id: Ic3c2abd765e25c669c99ce45744b1c2df72cac62
1 file changed