This patch focused on fixing compile errors and some runtime errors. Test: We can't test it now. But we will have an integration test later. Bug: 110259478 Change-Id: I16c471ddcd0fa1460c665b7f74d86fcace5ee67b
Test: make RunSettingsRoboTests Change-Id: I2584e820b72bb4672c53fd1a9f63c7f1662e0809
Bug: 24576551 Change-Id: Ifb717689c862193cf06c23de52b3fb68f910db3c