Stuff I've tried: 1) Removed all broadcast receivers from AndroidManifest.xml. 2) Removed all sendBroadcast calls from the code. 3) Removed all broadcast receivers from the code. 4) Removed all calls to AppWidgetManager. 5) (I don't have any calls to AlarmManager) 6) Delete all "<intent-filter>" from the manifest, except for the launcher. 7) Change android:targetSdkVersion="19" to different levels all the way down to 14.
At this point, I think the only safe way to handle this might be to override onTaskRemoved only for API 19 and use that to safely stop the app (since onDestroy doesn't get called), and display a warning / clear ongoing notifications so that the user at least knows that they stopped their task by swiping the app away. Does anyone have ideas on how I could trace this further and figure out what's triggering the app to get killed? Otherwise it's a wait to API 20 and hope it's fixed there. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

