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

Commit 1faee741 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

Hide new non-standard APIs and permission

These were breaking builds due to the public API modification

Change-Id: I603fcf0601f40fb315086859aa03ef5b7ec39248
parent 8ea62c76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1919,6 +1919,7 @@ public abstract class Context {
     *
     * @see #getSystemService
     * @see android.hardware.IrdaManager
     * @hide
     */
    public static final String IRDA_SERVICE = "irda";

+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ import android.os.RemoteException;

/**
 * This class provides access to the system irda services.
 *
 * @hide
 * <p>You do not
 * instantiate this class directly; instead, retrieve it through
 * {@link android.content.Context#getSystemService
+2 −1
Original line number Diff line number Diff line
@@ -218,7 +218,8 @@
        android:label="@string/permlab_sendSms"
        android:description="@string/permdesc_sendSms" />

    <!-- Allows an application to send mock SMS messages. -->
    <!-- Allows an application to send mock SMS messages.
         @hide -->
    <permission android:name="android.permission.SEND_MOCK_SMS"
        android:permissionGroup="android.permission-group.MESSAGES"
        android:protectionLevel="dangerous"
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,8 @@ import android.os.Bundle;
import android.os.Message;
import android.util.Log;

/** @hide */

public class IrdaManagerService extends IIrdaManager.Stub {
    private static final String TAG = "IrdaManagerService";
    private IrdaWorkerHandler mHandler;