Merge "Mark oemhook related APIs @Deprecated."

am: 79faa72eee

Change-Id: Ia31c163fdd65f305095ca1749cbc457eea4b0ca8
This commit is contained in:
Amit Mahajan
2017-02-24 20:48:10 +00:00
committed by android-build-merger
2 changed files with 4 additions and 0 deletions

View File

@@ -208,7 +208,9 @@ public class PhoneStateListener {
*
* @see #onOemHookRawEvent
* @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;
/**

View File

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