android_packages_modules_Co.../common/networksecurity_flags.aconfig
Sandro Montanari 70c4de8edc Add daily CertificateTransparencyJob
Following a conversation with the Experiments team (b/374692404), it
appears we will not be able to use device config flags to trigger the
download of CT log lists.

This CL is the first of a series that will allow us to move away from
flags and instead rely on a daily job execution. For scheduling we rely
on the Android AlarmManager.

I previously attempted to schedule the daily job using the Android
JobScheduler. However, those attempts were unsuccessful beacause the
Tethering apex is not on the system_server classpath, so the system
would crash when attempting to load the class to execute the job.

Flag: com.android.net.ct.flags.certificate_transparency_job
Bug: 374692404
Test: NetworkSecurityUnitTests
Change-Id: I6ce44dcea464cab20d2df73b065e35c0f76dcbab
2024-11-21 14:54:50 +00:00

19 lines
564 B
Text

package: "com.android.net.ct.flags"
container: "com.android.tethering"
flag {
name: "certificate_transparency_service"
is_exported: true
namespace: "network_security"
description: "Enable service for certificate transparency log list data"
bug: "319829948"
is_fixed_read_only: true
}
flag {
name: "certificate_transparency_job"
is_exported: true
namespace: "network_security"
description: "Enable daily job service for certificate transparency instead of flags listener"
bug: "319829948"
is_fixed_read_only: true
}