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

Commit 89bace0b authored by Aishwarya Mallampati's avatar Aishwarya Mallampati Committed by Android (Google) Code Review
Browse files

Merge "setCellInfoListRate on specific sub"

parents 8775b0fe be0df527
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6893,11 +6893,11 @@ public class TelephonyManager {
     *
     * @hide
     */
    public void setCellInfoListRate(int rateInMillis) {
    public void setCellInfoListRate(int rateInMillis, int subId) {
        try {
            ITelephony telephony = getITelephony();
            if (telephony != null)
                telephony.setCellInfoListRate(rateInMillis);
                telephony.setCellInfoListRate(rateInMillis, subId);
        } catch (RemoteException ex) {
        } catch (NullPointerException ex) {
        }
+1 −1
Original line number Diff line number Diff line
@@ -621,7 +621,7 @@ interface ITelephony {
    /**
     * Sets minimum time in milli-seconds between onCellInfoChanged
     */
    void setCellInfoListRate(int rateInMillis);
    void setCellInfoListRate(int rateInMillis, int subId);

    /**
     * Opens a logical channel to the ICC card.