Merge "Check dir path before updating permissions." into sc-v2-dev am: 9d158f2adf am: 9d1b03c77c am: 1ae3dc1e5b

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/providers/TelephonyProvider/+/19734284

Change-Id: I1b2d6f0b632bbf0574af17130aa8cffe5ad726e5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>