Editorial question38.8K views4,661 votes0 answers2,630 following
AI-generatedPackageManager cache invalidation after component enable/disable on Android 34
Goal Determine how and when the internal cache used by PackageManager.queryIntentActivities() is refreshed after a component’s enabled state is toggled via PackageManager.setComponentEnabledSetting() on Android 34. Constraints There is no public API to force a cache flush, and the documented AOSP source indicates the cache lives until the package‑manager ser