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

Commit fb280d3a authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk
Browse files

Disable more deprecated calls

Bug: 379356026
Test: m
Flag: com.android.internal.telephony.flags.cleanup_cdma
Change-Id: I8d431560e4aa1289977ba49c40eaa3834ed0ab1a
parent 2f27354e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -132,6 +132,7 @@ public class RadioNetworkProxy extends RadioServiceProxy {
     * @throws RemoteException
     */
    public void getAvailableBandModes(int serial) throws RemoteException {
        if (Flags.cleanupCdma()) return;
        if (isEmpty()) return;
        if (isAidl()) {
            mNetworkProxy.getAvailableBandModes(serial);
@@ -401,6 +402,7 @@ public class RadioNetworkProxy extends RadioServiceProxy {
     * @throws RemoteException
     */
    public void setBandMode(int serial, int bandMode) throws RemoteException {
        if (Flags.cleanupCdma()) return;
        if (isEmpty()) return;
        if (isAidl()) {
            mNetworkProxy.setBandMode(serial, bandMode);
@@ -525,6 +527,7 @@ public class RadioNetworkProxy extends RadioServiceProxy {
     * @throws RemoteException
     */
    public void setLocationUpdates(int serial, boolean enable) throws RemoteException {
        if (Flags.cleanupCdma()) return;
        if (isEmpty()) return;
        if (isAidl()) {
            mNetworkProxy.setLocationUpdates(serial, enable);
@@ -629,6 +632,7 @@ public class RadioNetworkProxy extends RadioServiceProxy {
     * @throws RemoteException
     */
    public void setSuppServiceNotifications(int serial, boolean enable) throws RemoteException {
        if (Flags.cleanupCdma()) return;
        if (isEmpty()) return;
        if (isAidl()) {
            mNetworkProxy.setSuppServiceNotifications(serial, enable);
+1 −0
Original line number Diff line number Diff line
@@ -693,6 +693,7 @@ public class RadioSimProxy extends RadioServiceProxy {
     */
    public void setUiccSubscription(int serial, int slotId, int appIndex, int subId, int subStatus)
            throws RemoteException {
        if (Flags.cleanupCdma()) return;
        if (isEmpty()) return;
        if (isAidl()) {
            android.hardware.radio.sim.SelectUiccSub info =