Bumper un-@hide (un-@pending actually) of previously reviewed APIs:

- new Log methods for reportable conditions
- EventLog publication, EventLogTags deprecation
- a new stackTrace field in ProcessErrorStateInfo
This commit is contained in:
Dan Egnor
2010-01-07 10:08:19 -08:00
parent edc5189c33
commit 6e70912bd5
5 changed files with 244 additions and 9 deletions

View File

@@ -622,7 +622,6 @@ public class ActivityManager {
/**
* The stack trace where the error originated. May be null.
* @pending
*/
public String stackTrace;

View File

@@ -40,8 +40,6 @@ import java.util.regex.Pattern;
* <p>Events use integer tag codes corresponding to /system/etc/event-log-tags.
* They carry a payload of one or more int, long, or String values. The
* event-log-tags file defines the payload contents for each type code.
*
* @pending
*/
public class EventLog {
private static final String TAG = "EventLog";

View File

@@ -26,8 +26,8 @@ import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* to-be-deprecated: This class is no longer functional.
* Use {to-be-link android.util.EventLog} instead.
* @deprecated This class is no longer functional.
* Use {@link android.util.EventLog} instead.
*/
public class EventLogTags {
public static class Description {

View File

@@ -234,7 +234,6 @@ public final class Log {
* immediately with an error dialog.
* @param tag Used to identify the source of a log message.
* @param msg The message you would like logged.
* @pending
*/
public static int wtf(String tag, String msg) {
return wtf(tag, msg, null);
@@ -245,7 +244,6 @@ public final class Log {
* Similar to {@link #wtf(String, String)}, with an exception to log.
* @param tag Used to identify the source of a log message.
* @param tr An exception to log.
* @pending
*/
public static int wtf(String tag, Throwable tr) {
return wtf(tag, tr.getMessage(), tr);
@@ -257,7 +255,6 @@ public final class Log {
* @param tag Used to identify the source of a log message.
* @param msg The message you would like logged.
* @param tr An exception to log. May be null.
* @pending
*/
public static int wtf(String tag, String msg, Throwable tr) {
tr = new TerribleFailure(msg, tr);