mirror of
https://github.com/nextcloud/talk-android
synced 2025-01-18 13:16:15 +00:00
13e5626159
It seems there could have been a race condition because currentUser was initialized too late. I was not able to reproduce but hopefully this fixes it: - initialize currentUser earlier (moved from onResume to onCreate) - use currentUserProvider instead userManager NPEs were reported via gplay: 1) Exception java.lang.NullPointerException: at com.nextcloud.talk.conversationlist.ConversationsListActivity.addToConversationItems (ConversationsListActivity.kt:851) at com.nextcloud.talk.conversationlist.ConversationsListActivity.access$addToConversationItems (ConversationsListActivity.kt:151) at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invokeSuspend (ConversationsListActivity.kt:394) at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invoke (Unknown Source:8) at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invoke (Unknown Source:4) 2) Exception java.lang.RuntimeException: at android.app.ActivityThread.performResumeActivity (ActivityThread.java:5427) at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5508) ... Caused by java.lang.NullPointerException: at com.nextcloud.talk.conversationlist.ConversationsListActivity.shouldShowNotificationWarning (ConversationsListActivity.kt:1557) Signed-off-by: Marcel Hibbe <dev@mhibbe.de> |
||
---|---|---|
.. | ||
schemas/com.nextcloud.talk.data.source.local.TalkDatabase | ||
src | ||
build.gradle | ||
lint.xml | ||
proguard-rules.pro |