henryadamsjr / media-button-router

Automatically exported from code.google.com/p/media-button-router
Apache License 2.0
0 stars 0 forks source link

Crash after some items were removed from the selector list. #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Press the media play/pause button.
2. When the selector comes up, choose the bottom one on the list.
3. Open up the Media Button preferences screen and uncheck the last app on the 
list.
4. Press the media play/pause button. 

At this point you'll get a crash.

I've attached a patch to fix this.

Original issue reported on code.google.com by pet...@sapros.com on 26 Dec 2011 at 7:22

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in version 1.3.0 (should be on market shortly).

I changed it to just finish the activity as if the user hadn't made a selection 
if the index is out of bounds.

Original comment by harleens...@gmail.com on 26 Dec 2011 at 11:55