Merge "SyncOperation float cast fix" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5f72b129c4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user