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

Commit e0c8f4ab 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

Change-Id: I8a29091c8726a4e5160ec00c205ec1782c6842fb
parents 523fc719 caee2573
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