Add Setting.Config delegate

This is called during the initialization of AutofillManager, and needs
to happen after BridgeCotnext has been created. So we also move the
creation of AutofillManager to the first time it is called for.

Bug: 74062470
Test: layoutlib tests
(cherry picked from
Merged-In: I54b568f94c76466d36504fb9bf80031bfaf90f91
Change-Id: I54b568f94c76466d36504fb9bf80031bfaf90f91
3 files changed