diff options
| author | JosJuice <josjuice@gmail.com> | 2018-11-03 18:54:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-03 18:54:27 +0100 |
| commit | 710b893b914bcc1e812f1a63fdb9a143ff682561 (patch) | |
| tree | 0d8c51702bc53e8e05061762d5a4a91c4116469a /Source/Android/app/src/main/java | |
| parent | 0d00e6225b6c2774293e6abb6f73cc8c9932b5e5 (diff) | |
| parent | 409c064c73a5cf1d24ec1f00e575ea16fe7ad208 (diff) | |
Merge pull request #7541 from zackhow/notoreo
AndroidTv: Don't run oreo channels when not on oreo
Diffstat (limited to 'Source/Android/app/src/main/java')
| -rw-r--r-- | Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/TvUtil.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/TvUtil.java b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/TvUtil.java index e0b7bd0eeb..e56d2cd8c0 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/TvUtil.java +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/TvUtil.java @@ -197,6 +197,9 @@ public class TvUtil */ public static void scheduleSyncingChannel(Context context) { + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) + return; + ComponentName componentName = new ComponentName(context, SyncChannelJobService.class); JobInfo.Builder builder = new JobInfo.Builder(1, componentName); builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); |
