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

Commit 60309fc7 authored by Irfan Sheriff's avatar Irfan Sheriff
Browse files

Expose Context.NSD_SERVICE

Missed exposing Context.NSD_SERVICE for the network service
discovery API

Change-Id: I38cfa93e923286072ded05b707d31cd4db7ff7d4
parent a8d6ddee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5319,6 +5319,7 @@ package android.content {
    field public static final int MODE_WORLD_WRITEABLE = 2; // 0x2
    field public static final java.lang.String NFC_SERVICE = "nfc";
    field public static final java.lang.String NOTIFICATION_SERVICE = "notification";
    field public static final java.lang.String NSD_SERVICE = "servicediscovery";
    field public static final java.lang.String POWER_SERVICE = "power";
    field public static final java.lang.String SEARCH_SERVICE = "search";
    field public static final java.lang.String SENSOR_SERVICE = "sensor";
+2 −3
Original line number Diff line number Diff line
@@ -1770,12 +1770,11 @@ public abstract class Context {

    /**
     * Use with {@link #getSystemService} to retrieve a {@link
     * android.net.NsdManager} for handling management of network service
     * android.net.nsd.NsdManager} for handling management of network service
     * discovery
     *
     * @hide
     * @see #getSystemService
     * @see android.net.NsdManager
     * @see android.net.nsd.NsdManager
     */
    public static final String NSD_SERVICE = "servicediscovery";