-
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Milestone
Description
If a user extends an IntentService
and does not implement the onCreate
method explicitly, an internal implementation is generated by the SBG for the onCreate
method (used for NS runtime initialization cases). This generated method, however, does not make a call to super.onCreate()
which makes the instance of the newly generated service be incorrectly initialized by the Android runtime and crash when it's used.
There should be a call to super.onCreate()
in this internal implementation of onCreate
and this would remove the runtime crash. However, if the user has provided an implementation of onCreate
there should not be a generated call to super.onCreate()
because there may be a case where the user does not want this call to be made.
vhristov5555
Metadata
Metadata
Assignees
Labels
No labels