commit | 40b0e247a4a79e83f10b6410025ef1d7cc537692 | [log] [tgz] |
---|---|---|
author | Robert Greenwalt <rgreenwalt@google.com> | Mon Oct 24 14:52:00 2016 -0700 |
committer | Robert Greenwalt <rgreenwalt@google.com> | Thu Oct 27 22:19:45 2016 +0000 |
tree | d1084c8e94d79b41f24e57463420db222db52df5 | |
parent | deeab2c77aaa1b70924766b7253fc25d1e4ab8b3 [diff] |
Use preferred APN for IA if it'll work. The old behavior would prefer the first IA APN over the preferred APN even if the preferred APN listed IA. Crazy! Reworked ApnSetting.canHandleType to incorporate the "wildcard (*) doesn't work for IA - that has to be explicitly listed" idea and added tests for the function. Test: added ApnSettingTest.testCanHandleType unit test bug:31949444 Change-Id: I7d72dcbb3e068c2defcf4cfbc0c2a5a0f69f26b8