mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 1030740 - Add return statements inadvertently omitted from Bug 1025937. r=mcomella
This commit is contained in:
parent
0e0a47e9f3
commit
9bd97eea31
@ -123,6 +123,7 @@ public class AnnouncementsBroadcastService extends BackgroundService {
|
||||
// Intent can be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
final String action = intent.getAction();
|
||||
|
@ -121,6 +121,7 @@ public class AnnouncementsService extends BackgroundService implements Announcem
|
||||
// Intent can be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
Logger.debug(LOG_TAG, "Running AnnouncementsService.");
|
||||
|
@ -103,6 +103,7 @@ public class HealthReportBroadcastService extends BackgroundService {
|
||||
// Intent can be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
// The same intent can be handled by multiple methods so do not short-circuit evaluate.
|
||||
|
@ -43,6 +43,7 @@ public class HealthReportPruneService extends BackgroundService {
|
||||
// Intent can be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
Logger.debug(LOG_TAG, "Handling prune intent.");
|
||||
|
@ -46,6 +46,7 @@ public class HealthReportUploadService extends BackgroundService {
|
||||
// Intent can be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (HealthReportConstants.UPLOAD_FEATURE_DISABLED) {
|
||||
|
@ -32,6 +32,7 @@ public class FxAccountDeletedService extends IntentService {
|
||||
// Intent can, in theory, be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
final Context context = this;
|
||||
|
@ -35,6 +35,7 @@ public class SyncAccountDeletedService extends IntentService {
|
||||
// Intent can, in theory, be null. Bug 1025937.
|
||||
if (intent == null) {
|
||||
Logger.debug(LOG_TAG, "Short-circuiting on null intent.");
|
||||
return;
|
||||
}
|
||||
|
||||
final Context context = this;
|
||||
|
Loading…
Reference in New Issue
Block a user