Check Which Photo App Is Installed on Android Device

For the Camera API, is there a way to check what native Android photo app (eg, Google Photos, Samsung Gallery, etc.) is opened via CameraSource.Photos?

We’re looking to show slightly different UI on our photo screen, based on whether the device is using Google Photos versus another API.