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

Commit f65e3470 authored by Shuo Qian's avatar Shuo Qian Committed by android-build-merger
Browse files

Merge "Restore the OEM hook implementation and usage" am: 093ade31 am: caee2573

am: e0c8f4ab

Change-Id: Ie0e88826b647c1982e0475575c7a6dd1a40eb2b0
parents d67c432e e0c8f4ab
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -612,6 +612,16 @@ public class PhoneStateListener {
        // default implementation empty
    }

    /**
     * Callback invoked when OEM hook raw event is received. Requires
     * the READ_PRIVILEGED_PHONE_STATE permission.
     * @param rawData is the byte array of the OEM hook raw data.
     * @hide
     */
    public void onOemHookRawEvent(byte[] rawData) {
        // default implementation empty
    }

    /**
     * Callback invoked when telephony has received notice from a carrier
     * app that a network action that could result in connectivity loss