Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ed41629 authored by Sooraj Sasindran's avatar Sooraj Sasindran Committed by android-build-merger
Browse files

Provide calling package name in cell info APIs

am: 63d90ed5

Change-Id: Ia2a1d01f2bb8fb257f756f7df6dfbedb755e87b1
parents 041604d9 63d90ed5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -502,7 +502,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) {
@@ -1339,7 +1339,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();
        }