Merge "Add a cache to getService with invalidation" into main am: 69333d682b

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/3152856

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