android_packages_modules_Co.../tests/unit/java/com
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 4943a17fb6 Log improvement when the meta-data format is unexpected
Currently, if the value of opt-in meta-data is not a String,
calling Bundle#getString would result in flooding the system
log with Bundle warning log and callstacks, but without
useful information like the package name.

Thus, a manual type check is performed, and the package name
is logged if a mismatch occurs.

Flag: EXEMPT flagged with a kill switch
Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideSatelliteDataOptInTest \
      ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.SatelliteAccessControllerTest \
      --update-device
Bug: 416351099
Change-Id: Iae8e26f657e009edb8630dbbe64c7e3e958abc43
2025-05-09 09:15:12 +08:00
..
android Log improvement when the meta-data format is unexpected 2025-05-09 09:15:12 +08:00