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

Commit 0f551d7f authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Mark oemhook related APIs @Deprecated.

Test: none
Bug: 34344851
Change-Id: I5358d94b3f4cce015effdb3a7517980f369a1224
parent a26000b8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -208,7 +208,9 @@ public class PhoneStateListener {
     *
     *
     * @see #onOemHookRawEvent
     * @see #onOemHookRawEvent
     * @hide
     * @hide
     * @deprecated OEM needs a vendor-extension hal and their apps should use that instead
     */
     */
    @Deprecated
    public static final int LISTEN_OEM_HOOK_RAW_EVENT                       = 0x00008000;
    public static final int LISTEN_OEM_HOOK_RAW_EVENT                       = 0x00008000;


    /**
    /**
+2 −0
Original line number Original line Diff line number Diff line
@@ -5040,7 +5040,9 @@ public class TelephonyManager {
     *         0 request was handled succesfully, but no response data
     *         0 request was handled succesfully, but no response data
     *         positive value success, data length of response
     *         positive value success, data length of response
     * @hide
     * @hide
     * @deprecated OEM needs a vendor-extension hal and their apps should use that instead
     */
     */
    @Deprecated
    public int invokeOemRilRequestRaw(byte[] oemReq, byte[] oemResp) {
    public int invokeOemRilRequestRaw(byte[] oemReq, byte[] oemResp) {
        try {
        try {
            ITelephony telephony = getITelephony();
            ITelephony telephony = getITelephony();