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

Commit 98f5c24b authored by Hall Liu's avatar Hall Liu Committed by Gerrit Code Review
Browse files

Merge "Remove usages of notifyOemHookRawEventForSubscriber"

parents 25f7e359 d2d851b5
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -207,12 +207,6 @@ public class DefaultPhoneNotifier implements PhoneNotifier {
                sender.getSubId(), state);
    }

    @Override
    public void notifyOemHookRawEventForSubscriber(Phone sender, byte[] rawData) {
        mTelephonyRegistryMgr.notifyOemHookRawEventForSubscriber(sender.getSubId(),
            sender.getPhoneId(), rawData);
    }

    @Override
    public void notifyDisplayInfoChanged(Phone sender, DisplayInfo displayInfo) {
        mTelephonyRegistryMgr.notifyDisplayInfoChanged(sender.getPhoneId(), sender.getSubId(),
+1 −7
Original line number Diff line number Diff line
@@ -716,13 +716,7 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
                break;

            case EVENT_UNSOL_OEM_HOOK_RAW:
                ar = (AsyncResult)msg.obj;
                if (ar.exception == null) {
                    byte[] data = (byte[])ar.result;
                    mNotifier.notifyOemHookRawEventForSubscriber(this, data);
                } else {
                    Rlog.e(LOG_TAG, "OEM hook raw exception: " + ar.exception);
                }
                // deprecated, ignore
                break;

            case EVENT_CONFIG_LCE:
+0 −3
Original line number Diff line number Diff line
@@ -87,9 +87,6 @@ public interface PhoneNotifier {
    /** Send a notification that the users mobile data setting has changed */
    void notifyUserMobileDataStateChanged(Phone sender, boolean state);

    /** Send a notification with an OEM hook payload */
    void notifyOemHookRawEventForSubscriber(Phone sender, byte[] rawData);

    /** Send a notification that the display info has changed */
    void notifyDisplayInfoChanged(Phone sender, DisplayInfo displayInfo);