Find legacy Intent.ACTION_PICK / ACTION_GET_CONTENT references

Proprietary

ACTION_PICK / ACTION_GET_CONTENT predate the Photo Picker (ACTION_PICK_IMAGES, API 33+ with backport) and the Storage Access Framework (ACTION_OPEN_DOCUMENT). For media, prefer ActivityResultContracts.PickVisualMedia; for documents, OpenDocument.

org.openrewrite.kotlin.android.FindIntentActionGetContent$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.android.FindIntentActionGetContent$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.