Skip to content

Commit 88877d7

Browse files
vineetfrozeninfernoGerrit Code Review
authored andcommitted
Merge "Point tv-material to earlier tv-foundation release" into androidx-main
2 parents 9ab06f8 + 1e2f5eb commit 88877d7

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

tv/tv-material/build.gradle

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,23 @@ plugins {
2424
id("org.jetbrains.kotlin.android")
2525
}
2626

27+
// needed for the tv-foundation pinning. Can be removed later.
28+
configurations.all {
29+
resolutionStrategy {
30+
preferProjectModules()
31+
}
32+
}
33+
2734
dependencies {
2835
api(libs.kotlinStdlib)
2936

3037
def composeVersion = '1.4.3'
38+
def composeBetaVersion = "1.5.0-beta01"
3139

3240
api("androidx.compose.animation:animation:$composeVersion")
3341
api("androidx.compose.material:material-icons-core:$composeVersion")
34-
api(project(":tv:tv-foundation"))
42+
api("androidx.tv:tv-foundation:1.0.0-alpha06")
43+
api("androidx.compose.foundation:foundation:$composeBetaVersion")
3544

3645
implementation(libs.kotlinStdlibCommon)
3746
implementation("androidx.profileinstaller:profileinstaller:1.3.1")

tv/tv-material/src/androidTest/java/androidx/tv/material3/ImmersiveListTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ import androidx.test.platform.app.InstrumentationRegistry
5252
import androidx.tv.foundation.lazy.list.TvLazyColumn
5353
import androidx.tv.foundation.lazy.list.TvLazyRow
5454
import com.google.common.truth.Truth.assertThat
55+
import org.junit.Ignore
5556
import org.junit.Rule
5657
import org.junit.Test
5758

5859
class ImmersiveListTest {
5960
@get:Rule
6061
val rule = createComposeRule()
6162

63+
@Ignore("b/285317959")
6264
@OptIn(ExperimentalTvMaterial3Api::class, ExperimentalAnimationApi::class)
6365
@Test
6466
fun immersiveList_scroll_backgroundChanges() {
@@ -122,6 +124,7 @@ class ImmersiveListTest {
122124
rule.onNodeWithTag("background-2").assertDoesNotExist()
123125
}
124126

127+
@Ignore("b/285317959")
125128
@Test
126129
fun immersiveList_scrollToRegainFocusInLazyColumn_checkBringIntoView() {
127130
val focusRequesterList = mutableListOf<FocusRequester>()
@@ -152,6 +155,7 @@ class ImmersiveListTest {
152155
assertThat(checkNodeCompletelyVisible("immersive-list")).isTrue()
153156
}
154157

158+
@Ignore("b/285317959")
155159
@Test
156160
fun immersiveList_scrollToRegainFocusInTvLazyColumn_checkBringIntoView() {
157161
val focusRequesterList = mutableListOf<FocusRequester>()

0 commit comments

Comments
 (0)