Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into refactor/update-to…
Browse files Browse the repository at this point in the history
…-v2-textfieldstate-pt3
  • Loading branch information
saleniuk committed May 29, 2024
2 parents bf6c55a + d6cdb11 commit 7540dfb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ class ProximitySensorManager @Inject constructor(
}

fun unRegisterListener() {
if (wakeLock.isHeld) {
wakeLock.release()
}
sensorManager.unregisterListener(sensorEventListener)
}

Expand Down

0 comments on commit 7540dfb

Please sign in to comment.