Skip to content

Commit 41acfd7

Browse files
Update activity compose level and align log tag with main branch (#215)
1 parent 940a400 commit 41acfd7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/pictureinpicture/PictureInPictureSnippets.kt

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import androidx.compose.runtime.getValue
2828
import androidx.compose.runtime.rememberUpdatedState
2929
import androidx.compose.ui.platform.LocalContext
3030

31+
private const val PIP_TAG = "PiP info"
3132
@Composable
3233
fun PipListenerPreAPI12(shouldEnterPipMode: Boolean) {
3334
// [START android_compose_pip_pre12_listener]
@@ -50,7 +51,7 @@ fun PipListenerPreAPI12(shouldEnterPipMode: Boolean) {
5051
}
5152
}
5253
} else {
53-
Log.i("PiP info", "API does not support PiP")
54+
Log.i(PIP_TAG, "API does not support PiP")
5455
}
5556
// [END android_compose_pip_pre12_listener]
5657
}
@@ -80,7 +81,7 @@ fun EnterPiPPre12(shouldEnterPipMode: Boolean) {
8081
}
8182
}
8283
} else {
83-
Log.i("PiP info", "API does not support PiP")
84+
Log.i(PIP_TAG, "API does not support PiP")
8485
}
8586
// [END android_compose_pip_pre12_should_enter_pip]
8687
}

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
accompanist = "0.32.0"
33
androidGradlePlugin = "8.2.2"
4-
androidx-activity-compose = "1.9.0-alpha01"
4+
androidx-activity-compose = "1.9.0-alpha03"
55
androidx-appcompat = "1.6.1"
66
androidx-compose-bom = "2024.01.00"
77
androidx-constraintlayout = "2.1.4"

0 commit comments

Comments
 (0)