Skip to content

Rewrite ImportVCardActivity to Kotlin + Compose - #39

Open
sdsantos wants to merge 3 commits into
GrapheneOS:mainfrom
sdsantos:import-vcard
Open

Rewrite ImportVCardActivity to Kotlin + Compose #39
sdsantos wants to merge 3 commits into
GrapheneOS:mainfrom
sdsantos:import-vcard

Conversation

@sdsantos

@sdsantos sdsantos commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Based on another branch. Compare diff: sdsantos/platform_packages_apps_Contacts@select-account...sdsantos:platform_packages_apps_Contacts:import-vcard

Closes #35

The ImportVCard user flow was simplified:

  • Now the ImportVCardActivity is always the responsible for selecting the account
  • The behavior no longer changes if it's called from an external app
  • The import confirmation dialog was removed, and the confirmation is done by selecting the destination account, which is always shown, even if there's only one destination account

The user flow is now:

  • Verifies and requests permissions if not granted
  • Selects provided VCard file from another app, or opens the select files system screen
  • Selects account
  • Parses VCard(s) to verify if they are valid
  • Starts background import
import_vcard.mp4

@sdsantos
sdsantos requested a review from RankoR August 4, 2026 14:42
@thestinger
thestinger force-pushed the main branch 3 times, most recently from cbaca32 to c9ac9d9 Compare August 5, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant