Merge pull request #25 from octet/fix_typos

s/exoprtToSd/exportToSd
This commit is contained in:
Moxie Marlinspike 2012-07-16 18:30:05 -07:00
commit c92d7f6a32
2 changed files with 3 additions and 3 deletions

View File

@ -664,7 +664,7 @@ public class SecureSMS extends ListActivity {
public void run() { public void run() {
try { try {
switch (task) { switch (task) {
case TASK_EXPORT: ApplicationExporter.exoprtToSd(SecureSMS.this); break; case TASK_EXPORT: ApplicationExporter.exportToSd(SecureSMS.this); break;
case TASK_IMPORT: ApplicationExporter.importFromSd(SecureSMS.this); break; case TASK_IMPORT: ApplicationExporter.importFromSd(SecureSMS.this); break;
} }
} catch (NoExternalStorageException e) { } catch (NoExternalStorageException e) {
@ -928,4 +928,4 @@ public class SecureSMS extends ListActivity {
} }
} }

View File

@ -107,7 +107,7 @@ public class ApplicationExporter {
} }
} }
public static void exoprtToSd(Context context) throws NoExternalStorageException, IOException { public static void exportToSd(Context context) throws NoExternalStorageException, IOException {
verifyExternalStorageForExport(); verifyExternalStorageForExport();
exportDirectory(context, ""); exportDirectory(context, "");
// exportDirectory(context, "databases"); // exportDirectory(context, "databases");