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

Commit ba7e086d authored by Xinyi Zhou's avatar Xinyi Zhou Committed by Android (Google) Code Review
Browse files

Merge "Add NearbyService"

parents 2c8fb144 97e88eea
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -5882,6 +5882,16 @@ public abstract class Context {
    @SystemApi
    public static final String SAFETY_CENTER_SERVICE = "safety_center";

    /**
     * Use with {@link #getSystemService(String)} to retrieve a
     * {@link android.nearby.NearbyManager} to discover nearby devices.
     *
     * @see #getSystemService(String)
     * @see android.nearby.NearbyManager
     * @hide
     */
    public static final String NEARBY_SERVICE = "nearby";

    /**
     * Determine whether the given permission is allowed for a particular
     * process and user ID running in the system.