Eliminate CrashData and friends.

(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating).  Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
This commit is contained in:
Dan Egnor
2009-12-09 16:22:32 -08:00
parent af1255dab8
commit b7f0367cec
23 changed files with 132 additions and 892 deletions

View File

@@ -34,21 +34,11 @@ import com.google.android.net.ParentalControlState;
public final class FallbackCheckinService extends ICheckinService.Stub {
static final String TAG = "FallbackCheckinService";
final Context mContext;
public FallbackCheckinService(Context context) {
mContext = context;
}
public boolean checkin() {
return false; // failure, because not implemented
}
public void reportCrashSync(byte[] crashData) {
}
public void reportCrashAsync(byte[] crashData) {
}
public void masterClear() {
if (mContext.checkCallingOrSelfPermission("android.permission.MASTER_CLEAR") !=
PackageManager.PERMISSION_GRANTED) {