Merge "Talkback properly says top of the hour times - DO NOT MERGE" into ub-deskclock-fantasy
diff --git a/src/com/android/deskclock/widget/TextTime.java b/src/com/android/deskclock/widget/TextTime.java
index 7140c42..744f5d6 100644
--- a/src/com/android/deskclock/widget/TextTime.java
+++ b/src/com/android/deskclock/widget/TextTime.java
@@ -155,6 +155,9 @@
         final Calendar calendar = Calendar.getInstance();
         calendar.set(Calendar.HOUR_OF_DAY, mHour);
         calendar.set(Calendar.MINUTE, mMinute);
-        setText(DateFormat.format(mFormat, calendar));
+        final CharSequence text = DateFormat.format(mFormat, calendar);
+        setText(text);
+        // Strip away the spans from text so talkback is not confused
+        setContentDescription(text.toString());
     }
 }
\ No newline at end of file