Skip to content

Commit 73f0dc4

Browse files
committed
Merge branch 'hotfix/putInt_for_setPrefInt'
2 parents bcb37a3 + f956027 commit 73f0dc4

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v3.3.3 (2015-04-02)
2+
3+
### Fixed
4+
* Fix setPrefInt in SenseServiceStub to use putInt instead of putFloat
5+
6+
17
## v3.3.2 (2015-03-02)
28

39
### Changed

sense-android-library/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<manifest
33
xmlns:android="http://schemas.android.com/apk/res/android"
44
package="nl.sense_os.service"
5-
android:versionName="3.3.2">
5+
android:versionName="3.3.3">
66
<!-- <uses-sdk -->
77
<uses-sdk android:minSdkVersion="7"/>
8-
</manifest>
8+
</manifest>

sense-android-library/src/nl/sense_os/service/SenseServiceStub.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public void setPrefInt(String key, int value) {
263263
Context.MODE_PRIVATE);
264264

265265
// store value
266-
boolean stored = prefs.edit().putFloat(key, value).commit();
266+
boolean stored = prefs.edit().putInt(key, value).commit();
267267
if (stored == false) {
268268
Log.w(TAG, "Preference " + key + " not stored!");
269269
}

sense-android-library/src/nl/sense_os/service/phonestate/AppInfoVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
public abstract class AppInfoVersion {
44

5-
public final static String SENSE_LIBRARY_VERSION = "v3.3.2";
5+
public final static String SENSE_LIBRARY_VERSION = "v3.3.3";
66
public final static String CORTEX_VERSION = "";
77
}

0 commit comments

Comments
 (0)