Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c59f153e authored by Louis Chang's avatar Louis Chang
Browse files

Adding source record info when starting an Activity

Also updates ActivityRecord#toString to match the hashCode format.

Bug: 369917766
Test: wm presubmit
Flag: EXEMPT log only update
Change-Id: Ib1d50f7b66196db85ed7b47751db888747ef5bb5
parent 64358d6a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10015,7 +10015,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
        }
        StringBuilder sb = new StringBuilder(128);
        sb.append("ActivityRecord{");
        sb.append(Integer.toHexString(System.identityHashCode(this)));
        sb.append(System.identityHashCode(this));
        sb.append(" u");
        sb.append(mUserId);
        sb.append(' ');
+1 −0
Original line number Diff line number Diff line
@@ -1028,6 +1028,7 @@ class ActivityStarter {
                if (requestCode >= 0 && !sourceRecord.finishing) {
                    resultRecord = sourceRecord;
                }
                request.logMessage.append(" (sr=" + System.identityHashCode(sourceRecord) + ")");
            }
        }