Initialize mRetyMgr when constructing GsmDataConnectionTracker.
bug: 3501596 Change-Id: I7bcc5cf317519dae3e5c0106f32fcb4481b2aa90
This commit is contained in:
@@ -159,7 +159,10 @@ public final class GsmDataConnectionTracker extends DataConnectionTracker {
|
||||
Telephony.Carriers.CONTENT_URI, true, mApnObserver);
|
||||
|
||||
/** Create the default connection */
|
||||
createDataConnection(Phone.APN_TYPE_DEFAULT);
|
||||
int id = createDataConnection(Phone.APN_TYPE_DEFAULT);
|
||||
mRetryMgr = mDataConnections.get(id).getRetryMgr();
|
||||
mRetryMgr.resetRetryCount();
|
||||
|
||||
broadcastMessenger();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user