I ran a test, sent an email and a text message to myself, and I got two successive lights (pink and yellow). After reading them, I have the email color (pink) flashing continuously. every two seconds.
After reboot, trackball blinking has stopped.
I'll see if I can figure out the exact sequence of events that triggered it.
Also having the issue where trackball wont light up anymore when screen is off. Power on will fix it, but then it'll stop again once the screen dims.
Sitting here typing this, just noticed the lights flash on again...but it's very sporadic. Fast green blinking about 5 times, then one blue flash (twidroid)...then it stopped completely.
Hope to get this working again at some point, it was a nice mod.
I'd just like to make sure this is working as expected.
I reboot the phone, power the screen off.
Send myself a text.
Phone receives text, trackball flashes 2 time and stops.
About 1 minute later, it flashes a bunch of times, then stops.
Thats it, no more flashes for the next 10 minutes.
Press power button, screen turns on, trackball flashes continuous.
I read text message, light goes out, as expected.
Power screen off again.
Send myself an email, K-9 is set for 1 minute polling.
Phone receives email, trackball flashes 5 times.
10 seconds later, trackball flashes continuously ~ 30 seconds till the next email poll, where it flashes white, then all flashing stops for a minute, then starts again. Sometimes it flashes white followed by just one purple (email) flash, sometimes 20 times.
FWIW, my normal poll interval is 30 minutes, so based on this behavior, I'd only see the email notification once every 30 mins!
Which I'll test again now.
So far, I received an email, one white flash (poll), 2 purple flashes, ~10 second pause followed by 5 purple flashes. Pause of ~40 seconds, 7 purple flashes. Pause 5 minutes so far. I'll wait to see if after 30 minutes I get a flash. Display is still in the off state. I know if I turn the display on, the trackball will flash.
Just got a purple flash after 8 mins or so. I need to use a timer.
2.5 minutes later I got continuous flashes for the next 2 minutes.
Is it possible some other apps are waking up the phone at odd intervals, causing the trackball flash to be active during those periods of time only?
/.../ I wonder if your phone is sleeping properly and maybe mine is not. That could be why I'm not seeing this behavior.
It should keep flashing once you get the notification until you cancel it or touch the notification bar.
I threw together this white text version, this is untested tho as I'm running CM6 nightly builds now.
Rename to services.jar & push, as usual...