Merge "Fix too many receivers Exception" am: 2e6cde6b94
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Settings/+/1498417 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id69d676c8386f74a7e642984ea7387baacd2711c
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user