Ender Psp, on Jan 3 2010, 18:40, said:
The Light sensor works and appears to affect the issue. If I uncheck
UnlockOnLightSensor, I don't have the above problem. With it enabled, sometimes the screen blanks (phone locks) when I try the Gsensor unlock (portrait-upsidedown-portrait) in the middle of the operation (I suspect due to light changes sensed).
The above light sensor unlock (you described in 1st paragraph) doesn't seem to be working for me. I've tried this: keeping my finger over it until the call is in, then when the incoming call is displayed and I take the finger off (phone is face-up on the table the whole time and above the phone is a ceiling lamp so there's no doubt there's enough light) nothing happens after 1500 (1.5 sec? / the value displayed there)
I didn't mention, it does show "8 Samsung SDK compatible".
Will attach the logs in a few minutes (going for repro).
LE: logs attached:
Logs.rar
Everything happened at 17:47. I enabled debug, then put the phone face up (with light above phone). I kept the finger over the light sensor and made a call. When the call was displayed, I took off my finger and waited, but the light sensor didn't unlock the phone. Then I clicked ignore, and the screen went locked again (but not blanked). Then I picked the phone up and tried to do the Gsensor unlock: portrait-upsidedown-portrait, but in the middle of the operation the screen went blank again. I unlocked the phone via button and a couple of seconds later the time turned 17:48. So everything should be in the interval 17:47 (after the timeout) to 17:48.
Let me know if I can help otherwise!
Quick suggestion: Since I don't see the old battery icon anymore and I have no ideea if the phone is charging or not. Can you make the battery % blink (at a couple of seconds) or something from time to time as a notification? Or anything else you can think of!
Thanks for the effort to provide the log files.
I see in the logging you did change the size/colour of the BattClock.
I see in the logging the GSensor moves
2010-01-03 17:47:26 -457606998 ========================POWER_STATE_UNATTENDED====================
- here the power button is pressed to power down
2010-01-03 17:47:26 -410094286 ==================================Lock=============================(true)
- as a result the phone is already locked
2010-01-03 17:47:35 -457606998 SetCallStatus(CALL_INCOMING): 0
- TouchLockPro detects incoming call
2010-01-03 17:47:36 -410094286 Light OFF: 0
2010-01-03 17:47:36 -1521455966 SetOrientation: FaceDown
- TouchLockPro does *NOT* see light, hmmmm, but it sees gsensor changes
2010-01-03 17:47:49 -1521455966 = GSENSOR ORIENTATION MATCH =: 1 numberOk: 1 numbersequence: 3 orientation: 3 Portrait
2010-01-03 17:47:49 -1521455966 = GSENSOR ORIENTATION MATCH =: 2 numberOk: 1 numbersequence: 3 orientation: 3 Portrait
2010-01-03 17:47:49 -1521455966 = GSENSOR ORIENTATION MATCH =: 3 numberOk: 1 numbersequence: 3 orientation: 3 Portrait
2010-01-03 17:47:49 -1521455966 = GSENSOR ORIENTATION MATCH =: 4 numberOk: 1 numbersequence: 3 orientation: 3 Portrait
..
2010-01-03 17:47:49 -1521455966 = GSENSOR ORIENTATION MATCH =: 2 numberOk: 2 numbersequence: 6 orientation: 6 FaceUp
..
2010-01-03 17:47:50 -1521455966 = GSENSOR ORIENTATION MATCH =: 1 numberOk: 2 numbersequence: 4 orientation: 4 UpsideDown
2010-01-03 17:47:50 -1521455966 = GSENSOR ORIENTATION MATCH =: 4 numberOk: 2 numbersequence: 4 orientation: 4 UpsideDown
..
2010-01-03 17:47:50 -1521455966 = GSENSOR ORIENTATION MATCH =: 2 numberOk: 3 numbersequence: 5 orientation: 5 FaceDown
2010-01-03 17:47:50 -1521455966 ==================COMMAND BY GSENSOR ORIENTATION==========================: 2
2010-01-03 17:47:50 -1521455966 Execute(): !LOCKSUSPEND
So in your orientation moves, another GSENSOR sequence is triggered than the !UNLOCK, the !LOCKSUSPEND.
You can disable the other GSENSOR moves, if you do not want to lock the phone via a GSENSOR move. Or define another non-conflicting GSENSOR move for that.
Later on in the logging the orientation moves were correctly:
2010-01-03 17:47:58 -1521455966 = GSENSOR ORIENTATION MATCH =: 1 numberOk: 3 numbersequence: 3 orientation: 3 Portrait
2010-01-03 17:47:58 -1521455966 ==================COMMAND BY GSENSOR ORIENTATION==========================: 1
2010-01-03 17:47:58 -1521455966 Execute(): !UNLOCK
But it looks like the Light Sensor is *NOT* working.
When you go to the TouchLockAction Light Sensor settings screen, what are the readouts in the upper right corner?