Merge "Add the subId chceking before the DB write allowed network type" into sc-dev am: e7794bc7a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telephony/+/14185463

Change-Id: I94cd53ba89911d4106f35b5c3361b63c38009492