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; }