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

Commit 63d90ed5 authored by Sooraj Sasindran's avatar Sooraj Sasindran
Browse files

Provide calling package name in cell info APIs

Provide calling package name in cell info APIs

BUG=31041780

Merged-In: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
Change-Id: Iad6e5c67ead2bf50d83d1ccad48c3f0341f53712
parent 8e81cf13
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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();
        }
        }