Merge "Correct log format while comparing an existing task for new component"
This commit is contained in:
@@ -385,9 +385,9 @@ class RootWindowContainer extends WindowContainer<DisplayContent>
|
||||
}
|
||||
|
||||
ProtoLog.d(WM_DEBUG_TASKS, "Comparing existing cls=%s /aff=%s to new cls=%s /aff=%s",
|
||||
r.getTask().rootAffinity, mIntent.getComponent().flattenToShortString(),
|
||||
mInfo.taskAffinity, (task.realActivity != null
|
||||
? task.realActivity.flattenToShortString() : ""));
|
||||
(task.realActivity != null ? task.realActivity.flattenToShortString() : ""),
|
||||
task.rootAffinity, mIntent.getComponent().flattenToShortString(),
|
||||
mTaskAffinity);
|
||||
// TODO Refactor to remove duplications. Check if logic can be simplified.
|
||||
if (task.realActivity != null && task.realActivity.compareTo(cls) == 0
|
||||
&& Objects.equals(documentData, taskDocumentData)) {
|
||||
|
||||
Reference in New Issue
Block a user