android_packages_modules_Co.../tests/unit/java/com
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai fea137ae76 Refactor: Stop caching PackageManager in SatelliteAccessController
Stop caching per-user PackageManager instances to avoid potential race
conditions.
The previous implementation relied on the ordering of ACTION_USER_*
and ACTION_PACKAGE_* broadcasts, which is not guaranteed across
Android releases.
This change refactors the code to fetch the PackageManager on demand,
ensuring correctness and robustness. Corresponding tests have been
updated.

Flag: EXEMPT bug fix
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.SatelliteAccessControllerTest \
      --update-device
Fix: 422064138
Change-Id: I09db0be542a1ce9746174f4b8e816ac0def7c833
2025-06-28 06:40:14 +08:00
..
android Refactor: Stop caching PackageManager in SatelliteAccessController 2025-06-28 06:40:14 +08:00