1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-11-05 01:26:23 +00:00
NewPipe/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 Implement feed groups manual sorting 2020-03-14 00:12:45 -03:00
src #6522: Fix null pointer exception when displaying SearchFragment 2021-06-22 16:52:02 +01:00
.gitignore Update app/.gitignore 2020-02-19 17:40:03 +01:00
build.gradle Merge pull request #6394 from TacoTheDank/androidx-fragment-134 2021-06-18 13:14:30 +02:00
proguard-rules.pro Show parsed relative times instead of whatever the service gives us 2019-11-17 23:58:55 -03:00