* changes: Add onDeviceStateChanged() callback to DeviceStateManager. Fix DeviceStateManagerServiceTests and add to presubmit.