384ca66205
It seems due to #6394 updating the FragmentX library there was a change to the order of lifecycle calls, as such onResume() was no longer before onCreateOptionsMenu() creating a null pointer exception when using service in onCreateOptionsMenu() as it is only set in onResume(). By moving the initialization of service to onStart() which still happens before onCreateOptionsMenu() this crash can be avoided. This commit also adds a check for a null service to prevent future crashes for similar issues. |
||
---|---|---|
.. | ||
schemas/org.schabi.newpipe.database.AppDatabase | ||
src | ||
.gitignore | ||
build.gradle | ||
proguard-rules.pro |