diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-12-19 16:00:42 -0800 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-12-19 16:03:02 -0800 |
commit | 0453145e386b49489b473b64737b27b9b5f8fb85 (patch) | |
tree | bdfce370f16f5f54c366837943c4a1ff7390e8fc | |
parent | 79d299821731155556c04dc0b482b9006ad61097 (diff) |
Fix casting issue in use of ICU Measures in Dialer
Bug: 33670388
Bug: 33750033
Test: manual
Change-Id: I5ed4fd9078ee5c976cda706e0ef73877928db2b1
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallDateUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallDateUtils.java b/InCallUI/src/com/android/incallui/InCallDateUtils.java index c737ae922..3401692ea 100644 --- a/InCallUI/src/com/android/incallui/InCallDateUtils.java +++ b/InCallUI/src/com/android/incallui/InCallDateUtils.java @@ -47,7 +47,7 @@ public class InCallDateUtils { return ""; } else { return MeasureFormat.getInstance(Locale.getDefault(), FormatWidth.WIDE) - .formatMeasures((Measure[]) measures.toArray()); + .formatMeasures(measures.toArray(new Measure[measures.size()])); } } } |