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 https://googleplex-android-review.googlesource.com/q/commit:e4b7f0116fed12a9609124eca1a0b75115fc72cd)
Merged-In: I54b568f94c76466d36504fb9bf80031bfaf90f91
Change-Id: I54b568f94c76466d36504fb9bf80031bfaf90f91
3 files changed