From 27b6d6a552f8446c7d0ecaf84d27f323f7b73bed Mon Sep 17 00:00:00 2001 From: Immanuel Raj Date: Tue, 30 Mar 2021 15:34:04 +0530 Subject: [PATCH] ActivityThread: Remove Failed to find provider info logspam 03-30 14:21:20.547 2706 2969 W ActivityThread: Failed to find provider info for com.google.android.gsf.gservices (user not unlocked) Signed-off-by: Joey Huab --- core/java/android/app/ActivityThread.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/java/android/app/ActivityThread.java b/core/java/android/app/ActivityThread.java index 9be448bd291d1..9dbc5f3f7317d 100644 --- a/core/java/android/app/ActivityThread.java +++ b/core/java/android/app/ActivityThread.java @@ -6821,11 +6821,6 @@ public final IContentProvider acquireProvider( throw ex.rethrowFromSystemServer(); } if (holder == null) { - if (UserManager.get(c).isUserUnlocked(userId)) { - if (DEBUG_MESSAGES) Slog.e(TAG, "Failed to find provider info for " + auth); - } else { - if (DEBUG_MESSAGES) Slog.w(TAG, "Failed to find provider info for " + auth + " (user not unlocked)"); - } return null; }