File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/java/android/net/nsd
services/java/com/android/server Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,14 +158,14 @@ public class NsdManager {
158158 /**
159159 * Network service discovery is disabled
160160 *
161- * @see #NSD_STATE_CHANGED_ACTION
161+ * @see #ACTION_NSD_STATE_CHANGED
162162 */
163163 public static final int NSD_STATE_DISABLED = 1 ;
164164
165165 /**
166166 * Network service discovery is enabled
167167 *
168- * @see #NSD_STATE_CHANGED_ACTION
168+ * @see #ACTION_NSD_STATE_CHANGED
169169 */
170170 public static final int NSD_STATE_ENABLED = 2 ;
171171
Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ public void setEnabled(boolean enable) {
399399 }
400400
401401 private void sendNsdStateChangeBroadcast (boolean enabled ) {
402- final Intent intent = new Intent (NsdManager .NSD_STATE_CHANGED_ACTION );
402+ final Intent intent = new Intent (NsdManager .ACTION_NSD_STATE_CHANGED );
403403 intent .addFlags (Intent .FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT );
404404 if (enabled ) {
405405 intent .putExtra (NsdManager .EXTRA_NSD_STATE , NsdManager .NSD_STATE_ENABLED );
You can’t perform that action at this time.
0 commit comments