Initial Java JSON serialization/deserialization.
This commit is contained in:
		@@ -316,7 +316,7 @@ public class EmergencyActivity extends Activity {
 | 
			
		||||
                        }
 | 
			
		||||
                    } );
 | 
			
		||||
                }
 | 
			
		||||
                catch (final MPInvalidatedException ignored) {
 | 
			
		||||
                catch (final MPKeyUnavailableException ignored) {
 | 
			
		||||
                    sitePasswordField.setText( "" );
 | 
			
		||||
                    progressView.setVisibility( View.INVISIBLE );
 | 
			
		||||
                }
 | 
			
		||||
 
 | 
			
		||||
@@ -148,7 +148,7 @@ public final class Preferences {
 | 
			
		||||
 | 
			
		||||
    @Nonnull
 | 
			
		||||
    public MPResultType getDefaultResultType() {
 | 
			
		||||
        return MPResultType.values()[prefs().getInt( PREF_RESULT_TYPE, getDefaultVersion().getAlgorithm().mpw_default_type().ordinal() )];
 | 
			
		||||
        return MPResultType.values()[prefs().getInt( PREF_RESULT_TYPE, getDefaultVersion().getAlgorithm().mpw_default_password_type().ordinal() )];
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public boolean setDefaultVersion(final MPMasterKey.Version value) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user