Skip to content

Commit

Permalink
Merge pull request #215 from SecUSo/development
Browse files Browse the repository at this point in the history
Update to version 4.5.9
  • Loading branch information
udenr authored Jan 24, 2024
2 parents 7196cf8 + 21775db commit d267a8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
compileSdk 34
targetSdkVersion 34
multiDexEnabled true
versionCode 39
versionName "4.5.8"
versionCode 40
versionName "4.5.9"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
buildFeatures.dataBinding = true
vectorDrawables.useSupportLibrary = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void onProceedPressed(Context context) {
Intent contact = new Intent(ContactsContract.Intents.Insert.ACTION);
contact.setType(ContactsContract.RawContacts.CONTENT_TYPE);

contact.putExtra(ContactsContract.Intents.Insert.NAME, result.getNames()[0]);
contact.putExtra(ContactsContract.Intents.Insert.NAME, result.getNames() != null ? result.getNames()[0] : null);
contact.putExtra(ContactsContract.Intents.Insert.COMPANY, result.getOrg());
contact.putExtra(ContactsContract.Intents.Insert.JOB_TITLE, result.getTitle());
contact.putExtra(ContactsContract.Intents.Insert.NOTES, result.getNote());
Expand Down

0 comments on commit d267a8b

Please sign in to comment.