This commit is contained in:
Electric
2021-06-09 00:35:44 +03:00
parent df49fac764
commit 32f8fce6a6
@@ -23,7 +23,7 @@ public class Starter extends BroadcastReceiver {
}
public static void startPodsService (Context context) {
if (Build.VERSION.SDK_INT >= 30)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R)
context.startForegroundService(new Intent(context, PodsService.class));
else
context.startService(new Intent(context, PodsService.class));