When the Android app stops responding, the system will pop up a dialog asking the user whether to wait or close the app. Android next version, Android P will change this approach, the system will no longer pop up a dialog box, the application will silently crash, the user will not see the notification.
iOS also adopts this approach. However, if the developer wants to continue to display the crash dialog, they can also modify the settings in the developer tool.
There are many changes introduced by Android P, in addition to new navigation gestures, Slices API, biometrics API and so on.