Cool, I am looking forward for the update. Yeah, I already guessed, that this is either legacy or hacky code. :) I am using a Samsung S9+ (SM-G965F) with LineageOS 20 20241227-NIGHTLY. The gallery app I am running is com.android.gallery3d Version 1.1.40030. But as far as I remember, it did not work with other, alternate gallery apps from F-Droid either.
this should be it String REVIEW_ACTION; if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.Q) { REVIEW_ACTION = android.provider.MediaStore.ACTION_REVIEW; } else { REVIEW_ACTION = "com.android.camera.action.REVIEW"; }
Gallery does not open, because of wrong Intent string
Worked like a charm! Thanks! Got the Version from here Java 8 Update 441