Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 477366ac authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Allow import from SIM when there are no contacts

Bug: 5639533

Change-Id: I96903021d6ff04b9bb007204284475bb37960f9e
parent 30b610c8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -62,12 +62,13 @@
                android:layout_marginBottom="15dip"
                android:text="@string/contacts_unavailable_add_account" />

            <!-- TODO: Use a string that says "Import" instead of "Import/export contacts"-->
            <Button
                android:id="@+id/import_contacts_button"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginBottom="15dip"
                android:text="@string/contacts_unavailable_import_contacts" />
                android:text="@string/dialog_import_export" />

            <Button
                android:id="@+id/import_failure_uninstall_button"
+1 −1
Original line number Diff line number Diff line
@@ -1198,7 +1198,7 @@ public class PeopleActivity extends ContactsActivity

        @Override
        public void onImportContactsFromFileAction() {
            AccountSelectionUtil.doImportFromSdCard(PeopleActivity.this, null);
            ImportExportDialogFragment.show(getFragmentManager());
        }

        @Override