Skip to content

Apply DeviceConfig defaults before boot-time consumers - #1348

Open
pbzin wants to merge 1 commit into
crdroidandroid:16.0from
pbzin:fix-deviceconfig-default-order
Open

Apply DeviceConfig defaults before boot-time consumers#1348
pbzin wants to merge 1 commit into
crdroidandroid:16.0from
pbzin:fix-deviceconfig-default-order

Conversation

@pbzin

@pbzin pbzin commented Aug 29, 2026

Copy link
Copy Markdown

Summary

  • apply crDroid product DeviceConfig defaults when CustomDeviceConfigService starts
  • start the service before network and other boot-time consumers read their flags
  • retain the existing BOOT_COMPLETED reapply path

Root cause

CustomDeviceConfigService was started late and only applied defaults at BOOT_COMPLETED. Services initialized earlier could therefore cache upstream values for the entire boot even when a product supplied device_configs_override entries.

Validation

  • verified product overrides are present before dependent boot services initialize
  • retained the existing late reapply for consistency
  • patch applies cleanly to current crDroid 16.0
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant