How to change default camera app or re-install foundation.e.camera?

I’ve purchased an new Fairphone 6 and installed successfully the newest /e/OS version 3.3. Because the stock Fairphone app is available in /e/OS, I removed the stock /e/OS camera app (foundation.e.camera) with adb. So far so good.

But than I wanted to use the lockscreen camera shortcut and that doesn’t work, because it want to open the stock /e/OS camera app. Now you probably say ‘you shouldn’t have removed foundation.e.camera’ and that is fair, but it doesn’t hurt to ask anyhow.

  1. Is there a (hidden?) option to change the default camera app? In other words; the app that is connected to the lockscreen camera shortcut?
  2. If this isn’t possible; how do I re-install foundation.e.camera? So I can use the stock /e/OS camera app when using the lockscreen shortcut.

If you used pm uninstall

Wow. I didn’t know that the removed apps are cached or somehow. The camera is back. Even better, it gives the standard Android modal to choose the preferred app for the shortcut.

Thanks!

It gives that after you install a new camera app, since you had 2 already on it, one was default. But you should also be able to revoke that to force the modal to choose.

Reinstalling works because the Apps aren’t removed completely. The ADB command might be named “uninstall”, but technically it’s more like “reboot-proof and update-proof disable for the user”.