Passing ServiceState as byte array into ServiceStateProvider

This allows the provider to reconstruct the service state
object correctly. Also we can get rid of all the 'set'
methods in ServiceState, which we'd like to remove in the future.

Test: Manual
Bug: 129768354
Merged-In: I48053f3ae7ed8ce5c24e7406d66c442023ff8882
Change-Id: I48053f3ae7ed8ce5c24e7406d66c442023ff8882
(cherry picked from commit 2372bebab590f1c09fb24cf6307b5c707e17583a)
1 file changed