From b78f03c0f1f5be3303e900272d9c7d243628a37b Mon Sep 17 00:00:00 2001 From: roldenburg Date: Fri, 13 Oct 2017 11:26:32 -0700 Subject: Enable Lightbringer upgrades on M Test: existing tests, manual (tested on Nexus 6 running M) PiperOrigin-RevId: 172122858 Change-Id: Ib22e33de3ed134cf76a06af54d054dbb92f91039 --- .../android/incallui/videotech/lightbringer/LightbringerTech.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'java') diff --git a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java index 784daa85a..eb2e92e85 100644 --- a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java +++ b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java @@ -17,7 +17,6 @@ package com.android.incallui.videotech.lightbringer; import android.content.Context; -import android.os.Build; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.telecom.Call; @@ -57,11 +56,6 @@ public class LightbringerTech implements VideoTech, LightbringerListener { @Override public boolean isAvailable(Context context) { - if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) { - LogUtil.v("LightbringerTech.isAvailable", "upgrade unavailable, only supported on N+"); - return false; - } - if (!ConfigProviderBindings.get(context) .getBoolean("enable_lightbringer_video_upgrade", true)) { LogUtil.v("LightbringerTech.isAvailable", "upgrade disabled by flag"); -- cgit v1.2.3