Merge "Provide calling package name in cell info APIs"

This commit is contained in:
Sooraj Sasindran
2017-02-10 05:38:40 +00:00
committed by Gerrit Code Review

View File

@@ -493,7 +493,7 @@ public class RadioInfo extends Activity {
log("onPause: unregister phone & data intents"); log("onPause: unregister phone & data intents");
mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE); mTelephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_NONE);
phone.setCellInfoListRate(CELL_INFO_LIST_RATE_DISABLED); mTelephonyManager.setCellInfoListRate(CELL_INFO_LIST_RATE_DISABLED);
} }
private void restoreFromBundle(Bundle b) { private void restoreFromBundle(Bundle b) {
@@ -1282,7 +1282,7 @@ public class RadioInfo extends Activity {
public void onItemSelected(AdapterView parent, View v, int pos, long id) { public void onItemSelected(AdapterView parent, View v, int pos, long id) {
mCellInfoRefreshRateIndex = pos; mCellInfoRefreshRateIndex = pos;
phone.setCellInfoListRate(mCellInfoRefreshRates[pos]); mTelephonyManager.setCellInfoListRate(mCellInfoRefreshRates[pos]);
updateAllCellInfo(); updateAllCellInfo();
} }