Find FragmentManager.executePendingTransactions() calls
ProprietaryexecutePendingTransactions() forces synchronous fragment-transaction execution on the calling thread — usually a workaround for code that races a not-yet-attached fragment. Prefer commitNow()/commitNowAllowingStateLoss() at the call site that scheduled the transaction, or restructure the call to read state from the resulting fragment's onViewCreated.
org. openrewrite. kotlin. android. FindFragmentManagerExecutePendingTransactions$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. android. FindFragmentManagerExecutePendingTransactions$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.