File tree 2 files changed +4
-3
lines changed
compose/snippets/src/main/java/com/example/compose/snippets/pictureinpicture
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import androidx.compose.runtime.getValue
28
28
import androidx.compose.runtime.rememberUpdatedState
29
29
import androidx.compose.ui.platform.LocalContext
30
30
31
+ private const val PIP_TAG = " PiP info"
31
32
@Composable
32
33
fun PipListenerPreAPI12 (shouldEnterPipMode : Boolean ) {
33
34
// [START android_compose_pip_pre12_listener]
@@ -50,7 +51,7 @@ fun PipListenerPreAPI12(shouldEnterPipMode: Boolean) {
50
51
}
51
52
}
52
53
} else {
53
- Log .i(" PiP info " , " API does not support PiP" )
54
+ Log .i(PIP_TAG , " API does not support PiP" )
54
55
}
55
56
// [END android_compose_pip_pre12_listener]
56
57
}
@@ -80,7 +81,7 @@ fun EnterPiPPre12(shouldEnterPipMode: Boolean) {
80
81
}
81
82
}
82
83
} else {
83
- Log .i(" PiP info " , " API does not support PiP" )
84
+ Log .i(PIP_TAG , " API does not support PiP" )
84
85
}
85
86
// [END android_compose_pip_pre12_should_enter_pip]
86
87
}
Original file line number Diff line number Diff line change 1
1
[versions ]
2
2
accompanist = " 0.32.0"
3
3
androidGradlePlugin = " 8.2.2"
4
- androidx-activity-compose = " 1.9.0-alpha01 "
4
+ androidx-activity-compose = " 1.9.0-alpha03 "
5
5
androidx-appcompat = " 1.6.1"
6
6
androidx-compose-bom = " 2024.01.00"
7
7
androidx-constraintlayout = " 2.1.4"
You can’t perform that action at this time.
0 commit comments