Android P Will Automatically Crash Unresponsive Apps

A new feature in Android P will crash apps that become unresponsive without prompting users, creating the potential for developers to receive fewer crash reports.

In previous versions of Android, an App Not Responding (ANR) dialog is displayed to users when an app that is in the foreground stops responding.

As XDA Developers notes, the new behavior will not necessarily benefit users, but appears to be Google's way of encouraging developers to avoid this problem altogether. Specifically, Google is asking developers not to run apps in the foreground thread and instead use alternative solutions, such as the AsyncTask API.

Either way, this change is one that developers will want to be aware of and will increase the importance of using crash reporting tools like Firebase as the direct reports generated by ANR dialogs decrease in volume.

Be sure to read the next Application Development article: Progress Releases NativeScript 4.0

 

Comments (0)