Skip to content

Commit f40a02f

Browse files
isheriffAndroid (Google) Code Review
authored andcommitted
Merge "Fix build"
2 parents 6db6533 + 54ac7a5 commit f40a02f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/java/android/net/nsd/NsdManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

services/java/com/android/server/NsdService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)