mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 19:26:17 +00:00
Fix NPE when launching conversation bubble.
This commit is contained in:
committed by
Cody Henthorne
parent
6801b5a1a3
commit
837f86bdd3
@@ -74,7 +74,10 @@ public class ConversationIntents {
|
||||
static @NonNull Bundle createParentFragmentArguments(@NonNull Intent intent) {
|
||||
Bundle bundle = new Bundle();
|
||||
|
||||
bundle.putAll(intent.getExtras());
|
||||
if (intent.getExtras() != null) {
|
||||
bundle.putAll(intent.getExtras());
|
||||
}
|
||||
|
||||
bundle.putParcelable(INTENT_DATA, intent.getData());
|
||||
bundle.putString(INTENT_TYPE, intent.getType());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user