commit | f08c4c89622ddcbc4ed9315fe6b399941dad4939 | [log] [tgz] |
---|---|---|
author | Wink Saville <wink@google.com> | Wed Dec 12 14:44:17 2012 -0800 |
committer | Wink Saville <wink@google.com> | Wed Dec 12 14:44:17 2012 -0800 |
tree | 3ed5f81bb962df0a6295dfc59801180be0ee5732 | |
parent | f2a22db80d9921fae213c763f08f2800d30b5cd3 [diff] |
Turn auto attach on/off when we attach/detach. Some network operators will detach after a timeout period, isDataAllowed() will not allow a data connection because mAutoAttachOnCreation is false and gprsState is not STATE_IN_SERVICE. This change toggles mAutoAttachOnCreation based on attach/detach events and data will be allowed if gprsState == STATE_IN_SERVICE or mAutoAttachOnCreation. Bug: 7491805 Change-Id: If41c2514ebdb9cd2fba88eef692f2c7160c04b0f