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

Commit f40a02f8 authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Fix build"

parents 6db65335 54ac7a51
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -158,14 +158,14 @@ public class NsdManager {
    /**
     * Network service discovery is disabled
     *
     * @see #NSD_STATE_CHANGED_ACTION
     * @see #ACTION_NSD_STATE_CHANGED
     */
    public static final int NSD_STATE_DISABLED = 1;

    /**
     * Network service discovery is enabled
     *
     * @see #NSD_STATE_CHANGED_ACTION
     * @see #ACTION_NSD_STATE_CHANGED
     */
    public static final int NSD_STATE_ENABLED = 2;

+1 −1
Original line number Diff line number Diff line
@@ -399,7 +399,7 @@ public class NsdService extends INsdManager.Stub {
    }

    private void sendNsdStateChangeBroadcast(boolean enabled) {
        final Intent intent = new Intent(NsdManager.NSD_STATE_CHANGED_ACTION);
        final Intent intent = new Intent(NsdManager.ACTION_NSD_STATE_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        if (enabled) {
            intent.putExtra(NsdManager.EXTRA_NSD_STATE, NsdManager.NSD_STATE_ENABLED);