Update testIsExternalStorageLegacy according to the updated legacy behavior in R

Before R, apps with REQUEST_INSTALL_PACKAGES appop had legacy external
storage access. This behaviour has changed in R and such apps will
will only have access to other app's obb directory, but will not have access to
legacy external storage.

Bug: 132649864
Test: atest ExternalStorageHostTest
Test: atest com.android.providers.media
Merged-In: I5bea144225afc90963ffa3d65510aa90aae20efd
Change-Id: I5bea144225afc90963ffa3d65510aa90aae20efd
(cherry picked from commit 83edfd378c5a4f2e066064d754c3bdc9ccb11aa8)
1 file changed