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 3737import com .google .android .gms .common .api .internal .BackgroundDetector ;
3838import com .google .android .gms .common .internal .Objects ;
3939import com .google .android .gms .common .internal .Preconditions ;
40- import com .google .android .gms .common .util .PlatformVersion ;
4140import com .google .android .gms .common .util .ProcessUtils ;
4241import com .google .firebase .components .Component ;
4342import com .google .firebase .components .ComponentDiscovery ;
@@ -689,8 +688,7 @@ private static class GlobalBackgroundStateListener
689688 new AtomicReference <>();
690689
691690 private static void ensureBackgroundStateListenerRegistered (Context context ) {
692- if (!(PlatformVersion .isAtLeastIceCreamSandwich ()
693- && context .getApplicationContext () instanceof Application )) {
691+ if (!(context .getApplicationContext () instanceof Application )) {
694692 return ;
695693 }
696694 Application application = (Application ) context .getApplicationContext ();
You can’t perform that action at this time.
0 commit comments