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

Commit b56bb8fa authored by Xinyi Zhou's avatar Xinyi Zhou Committed by Automerger Merge Worker
Browse files

Add NearbyService am: 17c5caf9 am: 56f293db am: 54018f78

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1966440

Change-Id: Ie8744fb79530aec185d7446afe3760ea9e631e29
parents 5f8c7c2a 54018f78
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -5781,6 +5781,16 @@ public abstract class Context {
     */
    public static final String DISPLAY_HASH_SERVICE = "display_hash";

    /**
     * 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.