Skip to content

Commit

Permalink
Renaming PrefsStorage.resetPassword() to .removeEntry()
Browse files Browse the repository at this point in the history
  • Loading branch information
pcoltau committed Jun 28, 2017
1 parent e07e571 commit 71f567d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ public void resetGenericPasswordForOptions(String service, Promise promise) {
cipherStorage.removeKey(service);
}
}
// And then we reset
prefsStorage.resetPassword(service);
// And then we remove the entry in the shared preferences
prefsStorage.removeEntry(service);

promise.resolve(true);
} catch (KeyStoreAccessException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public ResultSet getEncryptedEntry(String service) {
return null;
}

public void resetPassword(String service) {
public void removeEntry(String service) {
service = service == null ? EMPTY_STRING : service;

String keyForUsername = getKeyForUsername(service);
Expand Down

0 comments on commit 71f567d

Please sign in to comment.