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