Merge "Merge "Reduce "Failed to find provider info" logspam." into rvc-dev am: 6a28d69c24 am: 19459ea5a7 am: 4a2e25e155" into rvc-qpr-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
7bcc302d2f
@@ -123,6 +123,7 @@ import android.os.SystemProperties;
|
||||
import android.os.TelephonyServiceManager;
|
||||
import android.os.Trace;
|
||||
import android.os.UserHandle;
|
||||
import android.os.UserManager;
|
||||
import android.permission.IPermissionManager;
|
||||
import android.provider.BlockedNumberContract;
|
||||
import android.provider.CalendarContract;
|
||||
@@ -6816,7 +6817,11 @@ public final class ActivityThread extends ClientTransactionHandler {
|
||||
throw ex.rethrowFromSystemServer();
|
||||
}
|
||||
if (holder == null) {
|
||||
Slog.e(TAG, "Failed to find provider info for " + auth);
|
||||
if (UserManager.get(c).isUserUnlocked(userId)) {
|
||||
Slog.e(TAG, "Failed to find provider info for " + auth);
|
||||
} else {
|
||||
Slog.w(TAG, "Failed to find provider info for " + auth + " (user not unlocked)");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user