Skip to content

Commit 5dee44d

Browse files
committed
Fix EServiceHolder receiver delegation method call
1 parent fd5527a commit 5dee44d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/holder/EServiceHolder.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public JBlock getOnStopBeforeSuperBlock() {
125125

126126
@Override
127127
public JBlock getOnResumeAfterSuperBlock() {
128-
return receiverRegistrationDelegate.getOnAttachAfterSuperBlock();
128+
return receiverRegistrationDelegate.getOnResumeAfterSuperBlock();
129129
}
130130

131131
@Override

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/holder/ReceiverRegistrationDelegate.java‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ public JBlock getOnDetachBeforeSuperBlock() {
8686
throw illegalStateException;
8787
}
8888

89+
public JBlock getOnResumeAfterSuperBlock() {
90+
throw illegalStateException;
91+
}
92+
8993
public static class IntentFilterData {
9094

9195
private final RegisterAt registerAt;

0 commit comments

Comments
 (0)