Merge "Mark oemhook related APIs @Deprecated."

This commit is contained in:
Treehugger Robot
2017-02-24 20:40:22 +00:00
committed by Gerrit Code Review
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

@@ -5040,7 +5040,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();