NewPipe-app-android/app
Douile 384ca66205
#6522: Fix null pointer exception when displaying SearchFragment
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.
2021-06-22 16:52:02 +01:00
..
schemas/org.schabi.newpipe.database.AppDatabase
src #6522: Fix null pointer exception when displaying SearchFragment 2021-06-22 16:52:02 +01:00
.gitignore
build.gradle Merge pull request #6394 from TacoTheDank/androidx-fragment-134 2021-06-18 13:14:30 +02:00
proguard-rules.pro