Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Jan 8, 2025
1 parent f97528b commit a8bb4cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/coverage.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ if (!rootProject.ext.sonar.ignoreModules.contains(name)) {
"jacoco/test.exec"
]))

sourceDirectories.setFrom(files(android.sourceSets.main.kotlin.srcDirs))
sourceDirectories.setFrom(files([
android.sourceSets.main.java.srcDirs,
"src/main/kotlin"
]))

classDirectories.setFrom(files([
fileTree(
dir: "${buildDir}/tmp/kotlin-classes/debug",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public fun MediaPiPLifecycle(
override fun onActivityPaused(activity: Activity) {
if (activity == currentActivity) {
val isInPictureInPicture = context.isInPictureInPictureMode
println("TESTME")
if (!isInPictureInPicture && !enableInPictureInPicture) {
call.camera.pause(fromUser = false)
call.microphone.pause(fromUser = false)
Expand Down

0 comments on commit a8bb4cf

Please sign in to comment.