diff --git a/changelog.d/2467.bugfix b/changelog.d/2467.bugfix new file mode 100644 index 0000000000..e707199e8a --- /dev/null +++ b/changelog.d/2467.bugfix @@ -0,0 +1 @@ +Fixing proximity sensor still being active after a call \ No newline at end of file diff --git a/changelog.d/4710.bugfix b/changelog.d/4710.bugfix new file mode 100644 index 0000000000..4abfaa91bd --- /dev/null +++ b/changelog.d/4710.bugfix @@ -0,0 +1 @@ +Call banner: center text vertically \ No newline at end of file diff --git a/changelog.d/4713.misc b/changelog.d/4713.misc new file mode 100644 index 0000000000..5207c03871 --- /dev/null +++ b/changelog.d/4713.misc @@ -0,0 +1 @@ +Avoids leaking the activity windows when loading dialogs are displaying \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index cf2b23094e..fa58fc5aae 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=b75392c5625a88bccd58a574552a5a323edca82dab5942d2d41097f809c6bcce -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-all.zip +distributionSha256Sum=dd54e87b4d7aa8ff3c6afb0f7805aa121d4b70bca55b8c9b1b896eb103184582 +distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/vector/src/main/java/im/vector/app/core/platform/VectorBaseFragment.kt b/vector/src/main/java/im/vector/app/core/platform/VectorBaseFragment.kt index eab1101064..64443139f1 100644 --- a/vector/src/main/java/im/vector/app/core/platform/VectorBaseFragment.kt +++ b/vector/src/main/java/im/vector/app/core/platform/VectorBaseFragment.kt @@ -151,6 +151,7 @@ abstract class VectorBaseFragment : Fragment(), MavericksView override fun onDestroyView() { Timber.i("onDestroyView Fragment ${javaClass.simpleName}") _binding = null + dismissLoadingDialog() super.onDestroyView() } diff --git a/vector/src/main/java/im/vector/app/features/call/CallProximityManager.kt b/vector/src/main/java/im/vector/app/features/call/CallProximityManager.kt index 74e6c40783..3aeeac15af 100644 --- a/vector/src/main/java/im/vector/app/features/call/CallProximityManager.kt +++ b/vector/src/main/java/im/vector/app/features/call/CallProximityManager.kt @@ -93,7 +93,9 @@ class CallProximityManager @Inject constructor( if (wakeLock == null) { wakeLock = powerManager.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, generateWakeLockTag()) } - wakeLock?.acquire(WAKE_LOCK_TIMEOUT_MILLIS) + wakeLock + ?.takeIf { !it.isHeld } + ?.acquire(WAKE_LOCK_TIMEOUT_MILLIS) } private fun onProximityFar() { diff --git a/vector/src/main/res/layout/view_current_calls.xml b/vector/src/main/res/layout/view_current_calls.xml index 892f097e01..ab4ed8a3b8 100644 --- a/vector/src/main/res/layout/view_current_calls.xml +++ b/vector/src/main/res/layout/view_current_calls.xml @@ -1,25 +1,20 @@ + android:textColor="?colorOnPrimary" + tools:text="@string/call_only_active" />