Merge "Update testIsExternalStorageLegacy according to the updated legacy behavior in R" into rvc-dev