keepass2android: Dummy implementation of IFileStorage

Xamarin Studio 5.2.1 generates compilation error when one of the
IFileStorage methods is not implemented.
This commit is contained in:
Wiktor Lawski 2014-08-20 17:46:44 +02:00
parent dcadc11992
commit de6e098a68
1 changed files with 5 additions and 0 deletions

View File

@ -482,6 +482,11 @@ namespace keepass2android.Io
_cachedStorage.StartSelectFile(activity, isForSave, requestCode, protocolId);
}
public void PrepareFileUsage(Context ctx, IOConnectionInfo ioc)
{
// Silence Xamarin Studio 5.2.1 build error
}
public void PrepareFileUsage(IFileStorageSetupInitiatorActivity activity, IOConnectionInfo ioc, int requestCode, bool alwaysReturnSuccess)
{
//we try to prepare the file usage by the underlying file storage but if the ioc is cached, set the flag to ignore errors