From 46c4e58b827532d1888f82b6511062197e6e1701 Mon Sep 17 00:00:00 2001 From: Arthur Hung Date: Tue, 12 Feb 2019 15:55:28 +0800 Subject: Change the error log when populateViewport Currently, we are logging an error when a display does not support input device matching. (ex: a virtual display without TOUCH_VIRTUAL) But that's not a really an error. Convert it to a normal log instead. Bug: 122364588 Bug: 123514081 Test: Create a virtual display without touch. Check logcat. Change-Id: I3d44f20862ab0069f2a8649427914888d4f24d30 --- .../core/java/com/android/server/display/DisplayManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/display/DisplayManagerService.java b/services/core/java/com/android/server/display/DisplayManagerService.java index 80ea1dae3115..b99ba7ed0bf0 100644 --- a/services/core/java/com/android/server/display/DisplayManagerService.java +++ b/services/core/java/com/android/server/display/DisplayManagerService.java @@ -1336,7 +1336,7 @@ public final class DisplayManagerService extends SystemService { && !TextUtils.isEmpty(info.uniqueId)) { viewportType = VIEWPORT_VIRTUAL; } else { - Slog.wtf(TAG, "Unable to populate viewport for display device: " + info); + Slog.i(TAG, "Display " + info + " does not support input device matching."); return; } -- cgit v1.2.3-59-g8ed1b