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

Commit cea57336 authored by Tony Zhu's avatar Tony Zhu Committed by Android (Google) Code Review
Browse files

Merge "Remove setSuppServiceNotifications through CommandsInterface for GsmCdmaPhone."

parents 86a0c9d0 2a9fd924
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -832,13 +832,11 @@ public class GsmCdmaPhone extends Phone {
    public void registerForSuppServiceNotification(
            Handler h, int what, Object obj) {
        mSsnRegistrants.addUnique(h, what, obj);
        if (mSsnRegistrants.size() == 1) mCi.setSuppServiceNotifications(true, null);
    }

    @Override
    public void unregisterForSuppServiceNotification(Handler h) {
        mSsnRegistrants.remove(h);
        if (mSsnRegistrants.size() == 0) mCi.setSuppServiceNotifications(false, null);
    }

    @Override