From 962b5ba6a1a4cc8db585753772b068c408d72bfc Mon Sep 17 00:00:00 2001 From: lpeter Date: Thu, 16 May 2024 15:32:15 +0000 Subject: Use wtf and log originalComponentName to help debugging. Bug: 339651741 Test: presubmit Change-Id: I9e6d4d3a2201cf5a409e6748fb0054bc6fee80f8 --- services/core/java/com/android/server/pm/Settings.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/pm/Settings.java b/services/core/java/com/android/server/pm/Settings.java index 41d6288d4411..8d6d774a9959 100644 --- a/services/core/java/com/android/server/pm/Settings.java +++ b/services/core/java/com/android/server/pm/Settings.java @@ -2142,7 +2142,8 @@ public final class Settings implements Watchable, Snappable, ResilientAtomicFile ComponentName unflattenOriginalComponentName = ComponentName.unflattenFromString( originalComponentName); if (unflattenOriginalComponentName == null) { - Slog.d(TAG, "Incorrect component name from the attributes"); + Slog.wtf(TAG, "Incorrect component name: " + originalComponentName + + " from the attributes"); continue; } -- cgit v1.2.3-59-g8ed1b