Find LocalBroadcastManager.getInstance(...) usage
ProprietaryLocalBroadcastManager was deprecated in AndroidX 1.1 — the project effectively documents it as a global event bus, with all the ordering and lifetime trouble that implies. Migrate to LiveData, StateFlow, or SharedFlow for in-process pub/sub.
org. openrewrite. kotlin. android. FindLocalBroadcastManager$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. android. FindLocalBroadcastManager$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.