Change DcTracker construction so only initialization is preformed. DO NOT MERGE.
authorWink Saville <wink@google.com>
Wed, 2 Oct 2013 17:31:51 +0000 (10:31 -0700)
committerWink Saville <wink@google.com>
Wed, 2 Oct 2013 17:31:51 +0000 (10:31 -0700)
commit89518902fe52a162864b2b641462150002ee8b07
tree959586436cd9cfc445a1f3ae2113bfe7944cd832
parente9063f6973039d66e12d0d930af03906d377969e
Change DcTracker construction so only initialization is preformed. DO NOT MERGE.

In initApnContexts applyNewState and onSetDependency met could cause
calls to trySetupData which can send notifications or even try to
bring up a connection. This can cause problems as not all objects are
initialized. In particular when I tried to change ApnContext#isReady
to be false it caused a call to mPhone.notifyDataConnection but mPhone
wasn't completely initialized and an NPE occurred.

Bug: 9022095
Change-Id: Ie817db2c0c1b381b1f58e87817f4b2336c7a3159
src/java/com/android/internal/telephony/dataconnection/DcTracker.java