SyncOperation float cast fix
Fix casting of Float into Double in SyncOperation. Bug: 29510536 Change-Id: I553e8988e4bc09c3624e42f6f108f723007d32c4
This commit is contained in:
@@ -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