Skip to content

Instantly share code, notes, and snippets.

View nominalista's full-sized avatar

Marcin Hatalski nominalista

  • Cracow, Poland
View GitHub Profile
@Override
public void onActivityResult(final int reqCode, int resultCode, Intent data) {
Log.i(TAG, "onActivityResult called: " + reqCode + ", " + resultCode + " , " + data);
super.onActivityResult(reqCode, resultCode, data);
if ((data == null && reqCode != TAKE_PHOTO && reqCode != SMS_DEFAULT) ||
(resultCode != RESULT_OK && reqCode != SMS_DEFAULT)) {
updateLinkPreviewState();
return;
}