[automerger skipped] Make EffectFactory implementation thread-safe am: 5091d1c6cf -s ours

am skip reason: Merged-In I04560c62bdbcfb85dbe223bec0149b112205a323 with SHA-1 074cf23ff6 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24108111

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