Closed GoogleCodeExporter closed 8 years ago
reports have come in from a large number of users for this issue. i am testing
in the 2.3 emulator to identify what is causing the service to disable. it
doesn't make sense as there are no changes to the services API in 2.2 to 2.3
Original comment by myLockan...@gmail.com
on 25 Feb 2011 at 4:17
[deleted comment]
i just installed peter alfonso 2.3 for droid and will commence testing to find
why this is supposedly happening on all 2.3 setups
Original comment by myLockan...@gmail.com
on 25 Feb 2011 at 5:42
successfully duplicated issue on this 2.3 rom. what i know so far:
the service is still alive according to system running services
we aren't getting any screen events or activity from the service (thus no quick
unlock)
the pref screen cannot locate our binding to the service (so it treats it like
the service hasn't been started)
widget click recognizes the bind and tries to turn off quick unlock, but that
causes a NPE force close, presumably because the bind is actually null.
Original comment by myLockan...@gmail.com
on 25 Feb 2011 at 8:24
log confirms that the issue was a death of the process. there is no indication
why it died. status notification (foreground) mode would prevent issue.
the system successfully restarts the service 5 seconds after the death, but the
problem is that it seems to be sitting there in a started but not actually
calling onStartCommand which gets everything going. the other issue is that
there is no binding. we need to implement something that recognizes this system
restarted case which launches an intent to Toggler to get a proper bind in the
new process.
Original comment by myLockan...@gmail.com
on 25 Feb 2011 at 8:28
the solution is to implement an intent so that the service will know it has
been started by toggler. that intent will be absent as we use the stick service
mode when system is recreating it. in onCreate for the service, we can check
the intent. if it is our toggled intent, proceed as normal. if it is null,
schedule a toggler call and call stop on ourself so we can be properly started
through toggler.
Original comment by myLockan...@gmail.com
on 25 Feb 2011 at 8:30
i have tested a fix that worked and updated in the market
Original comment by myLockan...@gmail.com
on 26 Feb 2011 at 4:03
i have tested a fix that worked and updated in the market
Original comment by myLockan...@gmail.com
on 26 Feb 2011 at 4:03
Original issue reported on code.google.com by
myLockan...@gmail.com
on 17 Feb 2011 at 5:59