Add NearbyService
(cherry-pick from downstream branch) Test: loaded on device. Bug: 189954300 Merged-In: I399cdba08846a3eca1d7cd9378607b30fa8fd72d Change-Id: Ib9ef2a7b34abe18b1a7a4b48f9a09bc2d5856ac6
This commit is contained in:
committed by
Remi NGUYEN VAN
parent
51b03bb79c
commit
17c5caf93e
@@ -5777,6 +5777,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.
|
||||
|
||||
Reference in New Issue
Block a user