What steps will reproduce the problem?
1. Write custom data into AppSettings, e.g. settings.putBoolean("xyz", true);
2. Use AppSettings.save(String) and then AppSettings.load(String) with the same
string key.
What is the expected output? What do you see instead?
For the loaded AppSettings, settings.getBoolean("xyz") should return true, but
false is returned. The loaded AppSettings will not have the xyz boolean in it,
so getBoolean("xyz") will fail.
To fix the issue, the type of variable must be written into the preferences
instead of relying on the defaults map to query the type.
Original issue reported on code.google.com by ShadowIs...@gmail.com on 16 Nov 2011 at 4:26
Original issue reported on code.google.com by
ShadowIs...@gmail.com
on 16 Nov 2011 at 4:26