remove "export to file" code path from export operation

This commit is contained in:
Vincent Breitmoser
2015-09-26 02:20:21 +02:00
parent 15c9fde27f
commit 04fd2eeb79
4 changed files with 6 additions and 74 deletions

View File

@@ -38,7 +38,6 @@ public class ExportKeyringParcel implements Parcelable {
public enum ExportType {
UPLOAD_KEYSERVER,
EXPORT_FILE,
EXPORT_URI
}
@@ -54,13 +53,6 @@ public class ExportKeyringParcel implements Parcelable {
mUncachedKeyRing = uncachedKeyRing;
}
public ExportKeyringParcel(long[] masterKeyIds, boolean exportSecret, String outputFile) {
mExportType = ExportType.EXPORT_FILE;
mMasterKeyIds = masterKeyIds;
mExportSecret = exportSecret;
mOutputFile = outputFile;
}
@SuppressWarnings("unused") // TODO: is it used?
public ExportKeyringParcel(long[] masterKeyIds, boolean exportSecret, Uri outputUri) {
mExportType = ExportType.EXPORT_URI;