Fire TV, app resetting when remote status changes

I was testing one of our apps on the new Amazon Fire TV. It all works great except for some random app restarts. 

I think I’ve traced it back to when the amazon remote connects or disconnects to/from the device.

I’ve stripped the app down to just loading an image and the problem still persists. You can reproduce it by simply removing the batteries from the amazon remote for a few seconds and putting them back in and trying to use it.

Disconnecting/reconnecting other blue tooth devices doesn’t seem to cause the same problem.

Usually around the debug statement:

04-22 09:26:57.699: DEBUG/SessionManagerService(21819): Received intent: #Intent;action=android.intent.action.CONFIGURATION_CHANGED;launchFlags=0x70000010;end

or

#Intent;action=android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED;launchFlags=0x10;i.android.bluetooth.profile.extra.PREVIOUS_STATE=2;i.android.bluetooth.profile.extra.STATE=0;end

You probably want to check this FAQ at the Amazon Site. Particularly the third question in the “Controllers” section.

Engineering is quite interested in any bugs you find with regards to Amazon TV.  Please take your small project that fails and file a bug report using the Report a Bug feature at the top of the page.

Thanks

Rob

Case 32363 opened, I included the excerpt from the fact that juancampa linked (thanks, that looks like the exact problem)

You probably want to check this FAQ at the Amazon Site. Particularly the third question in the “Controllers” section.

Engineering is quite interested in any bugs you find with regards to Amazon TV.  Please take your small project that fails and file a bug report using the Report a Bug feature at the top of the page.

Thanks

Rob

Case 32363 opened, I included the excerpt from the fact that juancampa linked (thanks, that looks like the exact problem)