Merge "Improved some WM / AM logs" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6c1c17a184
@@ -2539,7 +2539,8 @@ public class ActivityOptions extends ComponentOptions {
|
||||
public String toString() {
|
||||
return "ActivityOptions(" + hashCode() + "), mPackageName=" + mPackageName
|
||||
+ ", mAnimationType=" + mAnimationType + ", mStartX=" + mStartX + ", mStartY="
|
||||
+ mStartY + ", mWidth=" + mWidth + ", mHeight=" + mHeight;
|
||||
+ mStartY + ", mWidth=" + mWidth + ", mHeight=" + mHeight + ", mLaunchDisplayId="
|
||||
+ mLaunchDisplayId;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1155,6 +1155,8 @@ class ActivityMetricsLogger {
|
||||
sb.setLength(0);
|
||||
sb.append("Displayed ");
|
||||
sb.append(info.launchedActivityShortComponentName);
|
||||
sb.append(" for user ");
|
||||
sb.append(info.userId);
|
||||
sb.append(": ");
|
||||
TimeUtils.formatDuration(info.windowsDrawnDelayMs, sb);
|
||||
Log.i(TAG, sb.toString());
|
||||
|
||||
@@ -976,9 +976,10 @@ class RecentTasks {
|
||||
|
||||
if (!task.mUserSetupComplete) {
|
||||
// Don't include task launched while user is not done setting-up.
|
||||
if (DEBUG_RECENTS) {
|
||||
Slog.d(TAG_RECENTS, "Skipping, user setup not complete: " + task);
|
||||
}
|
||||
|
||||
// NOTE: not guarding with DEBUG_RECENTS as it's not frequent enough to spam logcat,
|
||||
// but is useful when running CTS.
|
||||
Slog.d(TAG_RECENTS, "Skipping, user setup not complete: " + task);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user