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

Commit be0df527 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

setCellInfoListRate on specific sub

Bug: 242144387
test: CtsTelephonyTestCases, Sanity Check
Change-Id: Iaa64c4a560ffe7bd99bfdb86d0b3caa145a07d25
parent 2cd24931
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6844,11 +6844,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
@@ -583,7 +583,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.