commit | c7c84d2c87312f420f3dd19066af4a65c62ae452 | [log] [tgz] |
---|---|---|
author | Bonian Chen <bonianchen@google.com> | Mon Sep 09 15:10:13 2019 +0800 |
committer | Bonian Chen <bonianchen@google.com> | Tue Oct 01 17:59:43 2019 +0000 |
tree | b4e40251bb567ed29672a27d51c397b4272bec35 | |
parent | 0631ad6efb99d63b8e952c252365813834b75c98 [diff] |
[Settings Telephony] Carrier name API replacement Replacing TelephonyManager.getNetworkOperatorName() by Obtaining carrier name from SubscriptionInfo.getCarrierName(). TelephonyManager.getNetworkOperatorName() only be used when there's no SubscriptionInfo can be found. Bug: b/140443508 Test: Manual testing atest MobileNetworkUtilsTest atest OpenNetworkSelectPagePreferenceControllerTest Change-Id: I7a86395c86d31fe2ba54c04ac16b1a0ebfc843f3