OSDN Git Service

DO NOT MERGE: MDST is not ready until connected to DcTracker.
authorWink Saville <wink@google.com>
Sat, 17 Aug 2013 00:17:28 +0000 (17:17 -0700)
committerThe Android Automerger <android-build@google.com>
Thu, 29 Aug 2013 20:02:24 +0000 (13:02 -0700)
commitf860f85c33d7a13ccc7c0c653deeaa9ec8cdd184
tree1f2c5a60899848172865c01f892ee703e3ee31eb
parentaa2e36190e0112257a220427af0bd92773f8b082
DO NOT MERGE: MDST is not ready until connected to DcTracker.

When the system becomes loaded the PhoneApp can be delayed
significantly and a call to setEnableFailFastMobileData may not
occur because the channel between the MobileDataStateTracker (MDST)
and DcTracker (DCT) is not connected.

Solution: Add a isReady to MDST and isMobileDataStateTrackerReady to
ConnectivityService and call it from isMobileOk.

Bug: 10351868
Change-Id: I92f9d58121b88186b636cd71c2fd2ef9a28f7cf6
core/java/android/net/MobileDataStateTracker.java
services/java/com/android/server/ConnectivityService.java