legoim / toggleheadset2

Automatically exported from code.google.com/p/toggleheadset2
0 stars 0 forks source link

Service stops responding after a while #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Initially the service is able to automatically toggle headset status
without issue when the 3.5mm jack is plugged and unplugged, however a few
hours later it stops responding.

Removing the widget and re-adding fixes the problem.

Original issue reported on code.google.com by danwal...@gmail.com on 8 Nov 2009 at 5:41

GoogleCodeExporter commented 8 years ago
Me too, it's about 2 hours without using it, it doesn't works...

Original comment by sgim...@gmail.com on 9 Nov 2009 at 10:12

GoogleCodeExporter commented 8 years ago
I'm seeing the same problem. Deleting and adding the widget again fixes it.

Original comment by rick...@gmail.com on 9 Nov 2009 at 4:03

GoogleCodeExporter commented 8 years ago
I think I need to find a way to schedule a re-start the service after it is 
removed
by the OS.  I'll look at it this week.

Original comment by danwal...@gmail.com on 9 Nov 2009 at 4:34

GoogleCodeExporter commented 8 years ago
With version 1.2 (now that manual toggle is working,) you should only need to 
touch
the icon to re-start the service.  You shouldn't need to delete and add the 
widget
anymore.

Original comment by danwal...@gmail.com on 9 Nov 2009 at 4:35

GoogleCodeExporter commented 8 years ago
With the 1.4 release I've added a receiver for ACTION_POWER_CONNECTED.  This 
means as
long as your adapter has power the broadcast receiver should automatically wake 
up
and catch the HEADSET_PLUG intent.  It should no longer be possible to miss
HEADSET_PLUG with 1.4

Original comment by danwal...@gmail.com on 3 Jan 2010 at 3:27