File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
firebase-common/src/main/java/com/google/firebase Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 37
37
import com .google .android .gms .common .api .internal .BackgroundDetector ;
38
38
import com .google .android .gms .common .internal .Objects ;
39
39
import com .google .android .gms .common .internal .Preconditions ;
40
- import com .google .android .gms .common .util .PlatformVersion ;
41
40
import com .google .android .gms .common .util .ProcessUtils ;
42
41
import com .google .firebase .components .Component ;
43
42
import com .google .firebase .components .ComponentDiscovery ;
@@ -689,8 +688,7 @@ private static class GlobalBackgroundStateListener
689
688
new AtomicReference <>();
690
689
691
690
private static void ensureBackgroundStateListenerRegistered (Context context ) {
692
- if (!(PlatformVersion .isAtLeastIceCreamSandwich ()
693
- && context .getApplicationContext () instanceof Application )) {
691
+ if (!(context .getApplicationContext () instanceof Application )) {
694
692
return ;
695
693
}
696
694
Application application = (Application ) context .getApplicationContext ();
You can’t perform that action at this time.
0 commit comments