reverted
This commit is contained in:
parent
46e2a1c736
commit
231fdde672
@ -53,11 +53,7 @@ abstract class AbstractCalculatorWidgetProvider extends AppWidgetProvider implem
|
|||||||
protected AbstractCalculatorWidgetProvider() {
|
protected AbstractCalculatorWidgetProvider() {
|
||||||
final Class<? extends AppWidgetProvider> componentClass = this.getComponentClass();
|
final Class<? extends AppWidgetProvider> componentClass = this.getComponentClass();
|
||||||
|
|
||||||
final CalculatorExternalListenersContainer externalListenersContainer = Locator.getInstance().getExternalListenersContainer();
|
Locator.getInstance().getExternalListenersContainer().addExternalListener(componentClass);
|
||||||
// NOTE: null might be in tests, now robolectric creates widget provider before application
|
|
||||||
if (externalListenersContainer != null) {
|
|
||||||
externalListenersContainer.addExternalListener(componentClass);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user