Revision 21a1bb5d
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/bandaged/BandagedCreatorActivity.java | ||
---|---|---|
36 | 36 |
import org.distorted.objectlib.main.InitAssets; |
37 | 37 |
import org.distorted.objectlib.main.TwistyJson; |
38 | 38 |
import org.distorted.objectlib.main.TwistyObject; |
39 |
import org.distorted.os.OSInterface; |
|
39 | 40 |
|
40 | 41 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
41 | 42 |
|
... | ... | |
286 | 287 |
{ |
287 | 288 |
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(this); |
288 | 289 |
SharedPreferences.Editor editor = preferences.edit(); |
289 |
object.removePreferences(editor); |
|
290 |
OSInterface os = new OSInterface(this); |
|
291 |
object.removePreferences(os); |
|
290 | 292 |
editor.apply(); |
291 | 293 |
} |
292 | 294 |
} |
Also available in: Unified diff
Move the SharedPreferences to the OSInterface