We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df49fac commit 32f8fceCopy full SHA for 32f8fce
1 file changed
OpenPods/app/src/main/java/com/dosse/airpods/Starter.java
@@ -23,7 +23,7 @@ public void onReceive (Context context, Intent intent) {
23
}
24
25
public static void startPodsService (Context context) {
26
- if (Build.VERSION.SDK_INT >= 30)
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R)
27
context.startForegroundService(new Intent(context, PodsService.class));
28
else
29
context.startService(new Intent(context, PodsService.class));
0 commit comments