commit | 3732c2bc6d2e709c7727445059310184d5e1aeca | [log] [tgz] |
---|---|---|
author | Malcolm Chen <refuhoo@google.com> | Wed Jul 18 20:15:24 2018 -0700 |
committer | Xiangyu/Malcolm Chen <refuhoo@google.com> | Thu Jul 19 19:21:30 2018 +0000 |
tree | 66c627543bc720e91184cb26d863ee8fe16c26b3 | |
parent | db6046365c3ff4929f638296bca853adefd98266 [diff] |
Fix the bug TM#getNetworkCountryISO returns null in SUW. TM#getNetworkCountryISO() will pass INVALID_PHONE_INDEX if no default SIM is ever set, and ends up having a null phone object. Then an empty string is returned instead of proper value from LocaleTracker# getCurrentCountry. Bug: 111387352 Test: TelephonyManagerTestApp. With no SIM, call TM#getNetworkCountryISO and see the result. Change-Id: I2bf04620d58a9610b1b2ea53be193061350d0137