Skip to content

Commit

Permalink
Fix to sample as new constructor made passing null ambiguous
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyab committed Jul 16, 2015
1 parent 455e0c7 commit 7c3d3c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/src/com/securepreferences/sample/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public SharedPreferences getSharedPreferences() {
if(mSecurePrefs==null){
TickTock tickTock = new TickTock();
tickTock.tic();
mSecurePrefs = new SecurePreferences(this, null, "my_prefs.xml");
mSecurePrefs = new SecurePreferences(this, "", "my_prefs.xml");
SecurePreferences.setLoggingEnabled(true);
Log.d("securepref", "SecurePreferences init time: " + TickTock.formatDuration(tickTock.toc()));
}
Expand Down

0 comments on commit 7c3d3c1

Please sign in to comment.