diff options
Diffstat (limited to 'tests/unit/src/com/android/tv/util/TestUtils.java')
-rw-r--r-- | tests/unit/src/com/android/tv/util/TestUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/src/com/android/tv/util/TestUtils.java b/tests/unit/src/com/android/tv/util/TestUtils.java index db5e93cc..09d32779 100644 --- a/tests/unit/src/com/android/tv/util/TestUtils.java +++ b/tests/unit/src/com/android/tv/util/TestUtils.java @@ -32,7 +32,7 @@ public class TestUtils { // Create a mock TvInputInfo by using private constructor // TODO: Find better way to mock TvInputInfo. // Note that mockito doesn't support mock/spy on final object. - if (Build.VERSION.SDK_INT < 23) { + if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { return createTvInputInfoForLmp(service, id, parentId, type); } return createTvInputInfoForMnc(service, id, parentId, type, isHardwareInput); |