Skip to content

Commit

Permalink
App crashes (Seen in Crashlytics) #1032
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Jun 11, 2019
1 parent b092b8e commit b91bd78
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ public class ShareChooserPendingIntent extends BroadcastReceiver {
public static String chosenComponent = null;
@Override
public void onReceive(Context context, Intent intent) {
ShareChooserPendingIntent.chosenComponent = intent.getExtras().get(Intent.EXTRA_CHOSEN_COMPONENT).toString();
if (intent.getExtras() != null) {
ShareChooserPendingIntent.chosenComponent = intent.getExtras().get(Intent.EXTRA_CHOSEN_COMPONENT).toString();
}
}
}

0 comments on commit b91bd78

Please sign in to comment.