Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,4 @@ After you make a change, here's the flow you should follow:
## Updating this Guide

If new patterns or conventions are discovered, update this guide to ensure it remains a useful
resource.
resource.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import com.google.android.gms.common.api.internal.BackgroundDetector;
import com.google.android.gms.common.internal.Objects;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.common.util.PlatformVersion;
import com.google.android.gms.common.util.ProcessUtils;
import com.google.firebase.components.Component;
import com.google.firebase.components.ComponentDiscovery;
Expand Down Expand Up @@ -689,8 +688,7 @@ private static class GlobalBackgroundStateListener
new AtomicReference<>();

private static void ensureBackgroundStateListenerRegistered(Context context) {
if (!(PlatformVersion.isAtLeastIceCreamSandwich()
&& context.getApplicationContext() instanceof Application)) {
if (!(context.getApplicationContext() instanceof Application)) {
return;
}
Application application = (Application) context.getApplicationContext();
Expand Down