Merge "Fix too many receivers Exception"

This commit is contained in:
Treehugger Robot
2021-01-08 05:35:46 +00:00
committed by Gerrit Code Review

View File

@@ -56,7 +56,7 @@ public class ControllerRendererPool {
final Class<? extends ContextualCardController> clz =
ContextualCardLookupTable.getCardControllerClass(cardType);
for (ContextualCardController controller : mControllers) {
if (controller.getClass() == clz) {
if (controller.getClass().getName().equals(clz.getName())) {
Log.d(TAG, "Controller is already there.");
return (T) controller;
}