Fix the query of apn based upon id am: 07ee4a010f

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

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