Merge \"SyncOperation float cast fix\" into nyc-dev

am: 5f72b129c4

Change-Id: I907544c36783e192a17a2aa7f629a3093a516de2
This commit is contained in:
Shreyas Basarge
2016-06-28 15:42:59 +00:00
committed by android-build-merger

View File

@@ -197,7 +197,7 @@ public class SyncOperation {
} else if (value instanceof Boolean) {
syncExtrasBundle.putBoolean(key, (Boolean) value);
} else if (value instanceof Float) {
syncExtrasBundle.putDouble(key, (Double) value);
syncExtrasBundle.putDouble(key, (double) (float) value);
} else if (value instanceof Double) {
syncExtrasBundle.putDouble(key, (Double) value);
} else if (value instanceof String) {