OSDN Git Service

Passing ServiceState as byte array into ServiceStateProvider
authorJack Yu <jackyu@google.com>
Tue, 2 Apr 2019 17:49:35 +0000 (10:49 -0700)
committerJack Yu <jackyu@google.com>
Tue, 2 Apr 2019 18:27:34 +0000 (11:27 -0700)
commit2e273b2f0f160487b75f5386a2a0cd688f095727
treef7883b88b4ed9bad4a6e325695cc6a77fe4c8ea1
parent0ec1b0f9deb9df83bd8b6535b4f95b4ab9cb1798
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
Change-Id: I835d30e544b3ed49d5d0b6b1ca981a81e3ee2039
telephony/java/android/provider/Telephony.java