Remove unnecessary assignment
This commit is contained in:
parent
41503800e8
commit
0fe744c3e6
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ public class BroadcastStatus {
|
||||||
private static Logger log = LoggerFactory.getLogger(BroadcastStatus.class);
|
private static Logger log = LoggerFactory.getLogger(BroadcastStatus.class);
|
||||||
|
|
||||||
public static void handleNewStatus(NSSettingsStatus status, Context context, boolean isDelta) {
|
public static void handleNewStatus(NSSettingsStatus status, Context context, boolean isDelta) {
|
||||||
Intent intent = createIntent(status, isDelta);
|
LocalBroadcastManager.getInstance(MainApp.instance())
|
||||||
LocalBroadcastManager.getInstance(MainApp.instance()).sendBroadcast(intent);
|
.sendBroadcast(createIntent(status, isDelta));
|
||||||
|
|
||||||
if(SP.getBoolean(R.string.key_nsclient_localbroadcasts, true)) {
|
if(SP.getBoolean(R.string.key_nsclient_localbroadcasts, true)) {
|
||||||
context.sendBroadcast(createIntent(status, isDelta));
|
context.sendBroadcast(createIntent(status, isDelta));
|
||||||
|
|
Loading…
Reference in a new issue