Display SAS based on zrtp account preferences
Refs #40232
diff --git a/src/org/sflphone/utils/CallProximityManager.java b/src/org/sflphone/utils/CallProximityManager.java
index a5431e9..8236d6d 100644
--- a/src/org/sflphone/utils/CallProximityManager.java
+++ b/src/org/sflphone/utils/CallProximityManager.java
@@ -122,7 +122,7 @@
}
if (supportProximity) {
Log.d(THIS_FILE, "We can use native screen locker !!");
- proximityWakeLock = powerManager.newWakeLock(proximityScreenOffWakeLock, "com.csipsimple.CallProximity");
+ proximityWakeLock = powerManager.newWakeLock(proximityScreenOffWakeLock, "org.sflphone.CallProximity");
proximityWakeLock.setReferenceCounted(false);
}
@@ -275,7 +275,7 @@
activeRegardingCalls = mDirector.shouldActivateProximity();
}
- Log.d(THIS_FILE, "Horizontal : " + horizontal + " and activate for calls " + activeRegardingCalls);
+ //Log.d(THIS_FILE, "Horizontal : " + horizontal + " and activate for calls " + activeRegardingCalls);
if (activeRegardingCalls && !horizontal) {
// Phone is in use! Arrange for the screen to turn off
// automatically when the sensor detects a close object.