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

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

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