History log of /frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5b679c4d177b18435d362e34a2fce43e0d63e4ae 16-Jan-2018 Andrew Sapperstein <asapperstein@google.com> Update crash dialog options.

Add app info to crash dialog. Show close (aka force stop) on all dialogs,
not just the repeat dialog.

Remove showing restart and mute by default. Add Settings.Global
configuration parameters for both in case we want to show those options again.

Also some minor cleanup (converting some members to locals).

Bug: 63703353
Bug: 70640329
Test: manual
Change-Id: I83a2b1a5ea0f6a2a9765d7648dab7c184bfbc43f
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
b0c8a887299a7f462c41408edda6043202143233 28-Aug-2017 Amith Yamasani <yamasani@google.com> Retry crashed bound foreground service with some delay

After quick crashes, back-off for 30 minutes and try again.
Keep backing-off up to 10 times and then give up.

Bug: 63075467
Test: runtest -x frameworks/base/tests/ServiceCrashTest

Change-Id: I3819aefac5fd48b49a70b1765e07696f2ad61328
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
5ab024333065c60620867e58eaa27f27dfa85752 27-Jun-2017 Jeff Sharkey <jsharkey@android.com> Only require that system UIDs tag their sockets.

Apps with a normal UID are typically isolated enough to not require
socket tagging; we're mostly interested in tracking down internal
UIDs that have lots of code sharing the same UID.

Also fix up everyone doing manual string checks of Build.TYPE, since
we now have first-class fields for those.

Bug: 38126076
Test: builds, boots
Change-Id: I3a40348196bd8459289f2b9355d9783a07f1e7dd
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
0da67d661e20a3361f0ee4f10a19d1b8edf5e73d 17-Apr-2017 Adrian Roos <roosa@google.com> AppErrors: Add test for AppErrorDialog.onCreate

Also refactor to make sure we always remove the TIMEOUT
message and clear the mProc.mCrashDialog field, even when
dismissing without the Handler.

Bug: 37351370
Test: runtest -c com.android.server.am.AppErrorDialogTest frameworks-services
Change-Id: If9fb348e8ed83c6c1c0f48fa7fd27ffd33b530f2
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
51efddbd3bb304de2dd47fa8cd1114ac555958bb 05-Apr-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Just frameworks/ this time. More paths to come.

Bug: 24137209
Test: make -j32
Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
805ea307e726e31a179a3ac9856b0588450bcc63 27-Jul-2016 Adrian Roos <roosa@google.com> Allow restarting foreground services once

If a process is important to the user, even if it is not
hosting an activity, we'll allow it to be restarted once

Change-Id: I3e2997d1ebe87514e8ce71f81698241234487ed8
Fixes: 30250003
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
ad028c1616be016e6bef0d9a664d3a0054804e01 17-May-2016 Adrian Roos <roosa@google.com> Simplify crash dialog

Remove "Reopen app" for background crashes, remove "Close"
for foreground crashes.

Make crash dialog cancelable with back / tapping outside.

Remove reset option for repeating crashes.

Change-Id: I3773ee6b6986efa35da30830fec223300cda5d75
Fixes: 28768481
Fixes: 28740658
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
890f1f372e9bdaeefc1707acbbd97de95709db39 04-Mar-2016 Adrian Roos <roosa@google.com> Fix BiDi issues in app error dialogs

Bug: 27116512
Change-Id: I3ce4584f1b3eee4261a30d9b98e901f4ddcee922
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
9046222cb2b1bd57278ddbf71d9f628f8dd254ae 18-Feb-2016 Adrian Roos <roosa@google.com> Add logging to crash and anr dialog

Bug: 26760334
Change-Id: If81c7a6834e86f7390febef6767a07fa4caded4d
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
20d7df3c3ff0000678a208b25fcf7ddf90c5abe4 12-Jan-2016 Adrian Roos <roosa@google.com> Crash dialog improvements, move crash code to AppErrors

Factors out the crash and ANR handling code into separate
class and allows clearing cache and restarting app from
crash dialog.

Bug: 22692162
Change-Id: I2a08a4255ea02ab3c7441d351bf278128fcf5a5d
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
a925f1897f9e8fa0db7cf8b72b53d7c56dc3921c 28-Jul-2015 Filip Gruszczynski <gruszczy@google.com> Allow disabling of crash dialog.

Bug: 22007110

Change-Id: I78cd234715c740347dda34e23617b22ae1d8d0a6
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
31dd3a74c1d5a6746eec6b7f1260fae11f488af0 08-Jul-2015 Wale Ogunwale <ogunwale@google.com> Set AppErrorDialog result during dismissal if it isn't already set

The system watch dog was triggering because all binder threads were
waiting for AppErrorResult#set() to be called which never happened.
One situation where this can occur is if a process continues to crash
and the activity manager marks the process as bad there by causing it
to kill the process immediately which causes a binder death
notification that automatically dismisses the app error dialog before
the user ACKs it.
We now set the result during dialog dismissal if it isn't already set.

Bug: 22141958
Change-Id: If3ac116df5e29c6fba43ee556a859ad3c84c66f3
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
b1a8a89697fbe714c0fa447fec2a73628555a656 21-Aug-2014 Dianne Hackborn <hackbod@google.com> Work on issue #16683269: system_server still leaking memory

Fix a small temporary leak of app crash dialogs, which weren't
removing their timeout message.

Change-Id: Iee90b5fa2be700e3006388f32145ce4b14baa2ec
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
9158825f9c41869689d6b1786d7c7aa8bdd524ce 22-Nov-2013 Amith Yamasani <yamasani@google.com> Move some system services to separate directories

Refactored the directory structure so that services can be optionally
excluded. This is step 1. Will be followed by another change that makes
it possible to remove services from the build.

Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java