Provide calling package name in cell info APIs

Provide calling package name in cell info APIs

BUG=31041780
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
This commit is contained in:
Sooraj Sasindran
2016-08-18 15:49:49 -07:00
parent 0d397d3ddb
commit 5cce06b2e8

View File

@@ -489,7 +489,7 @@ public class RadioInfo extends Activity {
log("onPause: unregister phone & data intents");
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) {
@@ -1278,7 +1278,7 @@ public class RadioInfo extends Activity {
public void onItemSelected(AdapterView parent, View v, int pos, long id) {
mCellInfoRefreshRateIndex = pos;
phone.setCellInfoListRate(mCellInfoRefreshRates[pos]);
mTelephonyManager.setCellInfoListRate(mCellInfoRefreshRates[pos]);
updateAllCellInfo();
}