Skip to content

Commit 7767d16

Browse files
committed
Add missing component type in isEntryPointMethod()
1 parent 6fa77d5 commit 7767d16

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

soot-infoflow-android/src/soot/jimple/infoflow/android/entryPointCreators/AndroidEntryPointUtils.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ public boolean isEntryPointMethod(SootMethod method) {
169169
if (componentType == ComponentType.Service
170170
&& AndroidEntryPointConstants.getServiceLifecycleMethods().contains(subsignature))
171171
return true;
172+
if (componentType == ComponentType.Application
173+
&& AndroidEntryPointConstants.getApplicationLifecycleMethods().contains(subsignature))
174+
return true;
172175
if (componentType == ComponentType.Fragment
173176
&& AndroidEntryPointConstants.getFragmentLifecycleMethods().contains(subsignature))
174177
return true;

0 commit comments

Comments
 (0)