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

Commit bc934a8d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove usages of notifyOemHookRawEventForSubscriber"

parents d7a38f99 7c773171
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -212,12 +212,6 @@ public class DefaultPhoneNotifier implements PhoneNotifier {
            sender.getSubId(), sender.getPhoneId(), state);
    }

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

    @Override
    public void notifyPhoneCapabilityChanged(PhoneCapability capability) {
        mTelephonyRegistryMgr.notifyPhoneCapabilityChanged(capability);
+1 −7
Original line number Diff line number Diff line
@@ -703,13 +703,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
@@ -86,9 +86,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 phone capability has changed */
    void notifyPhoneCapabilityChanged(PhoneCapability capability);