Permalink
Browse files

Merge pull request #7541 from zackhow/notoreo

AndroidTv: Don't run oreo channels when not on oreo
  • Loading branch information...
JosJuice committed Nov 3, 2018
2 parents 0d00e62 + 409c064 commit 710b893b914bcc1e812f1a63fdb9a143ff682561
Showing with 3 additions and 0 deletions.
  1. +3 −0 Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/utils/TvUtil.java
@@ -197,6 +197,9 @@ private static String getFileProvider(Context context)
*/
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);

0 comments on commit 710b893

Please sign in to comment.