OSDN Git Service

Fix state transition verification.
authorXia Wang <xiaw@google.com>
Tue, 4 Mar 2014 19:29:18 +0000 (11:29 -0800)
committerXia Wang <xiaw@google.com>
Tue, 18 Mar 2014 18:23:05 +0000 (18:23 +0000)
commit01f03b50fb8adac275b6e73abe92c8a926f5b602
treeda118d2092145f7503f91647f22aa71b37b1c5ee
parent6532523652cf16d3e498939965defab4bd22c491
Fix state transition verification.

When there is connectivity state change, the network states could be broadcasted multiple times.
The state transition should consider that.

Bug: 13277256
Change-Id: I3d400900a0e2454f9d198629f1c062cbb15bdcd8
(cherry picked from commit 71aae0b6fd1bb9204b81c2e9447f3544c29579c4)
core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/NetworkState.java