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

Commit 02f22862 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "MSIM: Add support for cell info"

parents f4c9c223 1343326b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -937,9 +937,9 @@ public class MSimTelephonyManager {
     *
     * @hide pending API review
     */
    public List<CellInfo> getAllCellInfo() {
    public List<CellInfo> getAllCellInfo(int subscription) {
        try {
            return getITelephonyMSim().getAllCellInfo();
            return getITelephonyMSim().getAllCellInfo(subscription);
        } catch (RemoteException ex) {
            return null;
        } catch (NullPointerException ex) {
+2 −1
Original line number Diff line number Diff line
@@ -343,8 +343,9 @@ interface ITelephonyMSim {

    /**
     * Returns the all observed cell information of the device.
     * @param subscription user preferred subscription.
     */
    List<CellInfo> getAllCellInfo();
    List<CellInfo> getAllCellInfo(int subscription);

    /**
     * get default subscription