Merge "Improve debugging for multi-instance in split-screen"

This commit is contained in:
Jeff Chang
2022-09-22 08:21:23 +00:00
committed by Android (Google) Code Review

View File

@@ -892,9 +892,10 @@ class ActivityStarter {
final int userId = aInfo != null && aInfo.applicationInfo != null
? UserHandle.getUserId(aInfo.applicationInfo.uid) : 0;
final int launchMode = aInfo != null ? aInfo.launchMode : 0;
if (err == ActivityManager.START_SUCCESS) {
Slog.i(TAG, "START u" + userId + " {" + intent.toShortString(true, true, true, false)
+ "} from uid " + callingUid);
+ "} with " + launchModeToString(launchMode) + " from uid " + callingUid);
}
ActivityRecord sourceRecord = null;