Change-Id: I0101e88ca9d8d44138bdcaf571f24b0352f4f6ce
Implement save/restore of state, and add native APIs for configuration information. Change-Id: I2a3ddc2ba605db58d7c8b2b31b9215fb323f90b5