Skip to content

Commit 333c2ec

Browse files
author
Craig Mautner
committed
Remove misleading error log.
It's perfectly ok for a secondary display to not have a home stack. There is no reason to report it. Related to b/17677973. Change-Id: Ia9d52cabb601760d32d2b847dfa0ca4f304e4e2a
1 parent bc156ba commit 333c2ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

services/core/java/com/android/server/wm/DisplayContent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ ArrayList<Task> getTasks() {
162162
}
163163

164164
TaskStack getHomeStack() {
165-
if (mHomeStack == null) {
165+
if (mHomeStack == null && mDisplayId == Display.DEFAULT_DISPLAY) {
166166
Slog.e(TAG, "getHomeStack: Returning null from this=" + this);
167167
}
168168
return mHomeStack;

0 commit comments

Comments
 (0)