From b547383444937d8997237011d1944964eb85fb9d Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Tue, 13 Oct 2020 12:39:31 -0700 Subject: [PATCH] Do not send WTF when ETHERNET_SERVICE Not all devices have the ETHERNET_SERVICE service, which is expected, so do not send WTF even when it's not available. Fix: 169024836 Test: Build Change-Id: Ia1fa2d1753aa40e1d09996be11082d65afc5458f --- core/java/android/app/SystemServiceRegistry.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/java/android/app/SystemServiceRegistry.java b/core/java/android/app/SystemServiceRegistry.java index e9683a4fdd778..97ef62bf457dd 100644 --- a/core/java/android/app/SystemServiceRegistry.java +++ b/core/java/android/app/SystemServiceRegistry.java @@ -1386,6 +1386,7 @@ public final class SystemServiceRegistry { case Context.CONTENT_CAPTURE_MANAGER_SERVICE: case Context.APP_PREDICTION_SERVICE: case Context.INCREMENTAL_SERVICE: + case Context.ETHERNET_SERVICE: return null; } Slog.wtf(TAG, "Manager wrapper not available: " + name);