Merge "SyncOperation float cast fix" into nyc-dev

This commit is contained in:
Shreyas Basarge
2016-06-28 15:38:05 +00:00
committed by Android (Google) Code Review

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) {