History log of /frameworks/base/core/java/android/widget/DateTimeView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
570bfa2768f385496beeab31a81b1b6ad98717e9 26-May-2016 Selim Cinek <cinek@google.com> Fixed the relative time spoken with accessibility

The relative time was unclear for certain locales
and even worse 1m was spoken as 1 meter.

Change-Id: Ie172092da27ea8119906b0c301b5569bf3efabbb
Fixes: 28961667
/frameworks/base/core/java/android/widget/DateTimeView.java
b85f36fd48e470be386289bcfe861d19c8d5b011 21-Apr-2016 Selim Cinek <cinek@google.com> Fixed a bug where notification header could become empty

Also fixed a few more issues with the header util that could
lead to wrong states.

Change-Id: I95c3479f5d9e5221ee9e91120271e7957b887607
Fixes: 28295743
/frameworks/base/core/java/android/widget/DateTimeView.java
36d570863aad37c949e578ca7a8e45abfd36d5c8 20-Apr-2016 Selim Cinek <cinek@google.com> Switched the notification time to relative time

The time is now displayed in a relative manner instead
of absolute.

Change-Id: Idcc4411ed07991b6e176c4890a0d804394d8598a
Fixes: 27435284
/frameworks/base/core/java/android/widget/DateTimeView.java
4b67713709342dfa6d0059637aed49b457d2c62a 31-Jul-2015 Dan Sandler <dsandler@android.com> Make DateTimeView more robust to weird contexts.

In particular, some clients (*ahem* SystemUI) have been
known to inflate RemoteViews with unusual derived contexts
that may not have valid application contexts. DateTimeView
can now resist this.

Bug: 22852700
Change-Id: I5e91ae0e66859f5f5efd7b19c0ae6dfbc26bcc54
/frameworks/base/core/java/android/widget/DateTimeView.java
7bd8e6a8f2d0d200fd9a74b55469492cc02de6a4 30-Jul-2015 Dan Sandler <dsandler@android.com> DateTimeView: don't assume you have an ApplicationContext.

Bug: 22840771
Change-Id: I3be6369936f90e9ce4e61a59ea81b0d3408a0f99
/frameworks/base/core/java/android/widget/DateTimeView.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/widget/DateTimeView.java
97ee3f7ca6ca3959f4fff4d264921c1c4e379bba 24-Nov-2014 Narayan Kamath <narayan@google.com> resolved conflicts for merge of 98b8fe74 to lmp-mr1-dev-plus-aosp

Change-Id: Ic2826f3be8337e72a80978e4565e0884b9ceed70
775eca105c34f0b3c2a305ad881ce0353b2f1618 18-Nov-2014 Narayan Kamath <narayan@google.com> Stop using DATE_FORMAT from settings.

bug: 18388178
Change-Id: I315dc463bb0569adc0b5d1c5ac5a17485f2b5adc
/frameworks/base/core/java/android/widget/DateTimeView.java
740da4753a878bfa2103ca3d4f487bdbfa75f445 07-Nov-2014 Adam Powell <adamp@google.com> Don't register more receivers and observers for every DateTimeView

SystemUI uses several of these per notification, so be a little more
conservative and track individual views to update per process instead.

Bug 16902706

Change-Id: Ib77a8e7727d027cae39d5e6f431cac1d1ff8a121
/frameworks/base/core/java/android/widget/DateTimeView.java
692356b7c392130b7f38f46a60570617c978ba75 04-Sep-2014 Kenny Guy <kennyguy@google.com> Revert "Ensure all RemoteViews use myUserId rather than context."

This reverts commit 5287e37687f117ac0b690100ad90842eff58d15a.
Reverting because only worked if settings cache had been populated
already.

Bug: 17302505
Change-Id: I4360606e9d9c6409951f0a02bd0b78c55085e0c6
/frameworks/base/core/java/android/widget/DateTimeView.java
879ebec4e2a12a802339549cb4fefa32b5368379 02-Sep-2014 Kenny Guy <kennyguy@google.com> Ensure all RemoteViews use myUserId rather than context.

Remote views may be inflated in another user so
explicitly use processes user id rather than the
user id of the context.

Bug: 17302505
Change-Id: I985c91745f03dd7e6b2ab6357600077664d8e6be
/frameworks/base/core/java/android/widget/DateTimeView.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
/frameworks/base/core/java/android/widget/DateTimeView.java
4caba61ea0433099fc94e61221d02542c34e9e3a 15-Jan-2013 Elliott Hughes <enh@google.com> Switch over to getting 12-/24-hour time formats from CLDR via icu4c.

I removed the duplication in DateTimeView rather than fix that copy
of the code.

Bug: 7924970
Change-Id: I60c205d06ad3b50fd2f5d5fc432e4eb186f9c0e7
/frameworks/base/core/java/android/widget/DateTimeView.java
8d3c234407883afd574b17b13ea92a9cdc6afc7a 09-Aug-2011 Daniel Sandler <dsandler@google.com> Fix obviously broken DateTimeView.onAttachedToWindow().

Change-Id: I6b9e948d26b4c22b4520ca48b71c1f7e45ca7899
/frameworks/base/core/java/android/widget/DateTimeView.java
f3311c940aee73afb0eeeedde4799e45f544dbc3 24-Mar-2010 Adam Powell <adamp@google.com> Fix bug 2531732 - DateTimeView explodes on bad system date format.

Fall back to a default date format instead of throwing an exception.

Change-Id: I827a81d9610ea7f9243c1c33579e7a5d3b423692
/frameworks/base/core/java/android/widget/DateTimeView.java
7747210426f0169b7f10f47a66d15a754b36d64c 02-Feb-2010 Joe Onorato <joeo@android.com> Fix bug 2389454 - DateTimeView can NPE if "date_format" isn't set in Settings.
/frameworks/base/core/java/android/widget/DateTimeView.java
c83bb730ec0333e52990a40edf6d54bb66b1d5ba 20-Jan-2010 Joe Onorato <joeo@android.com> Add DateTimeView, a widget that shows a time or the date depending on the
current time. Use that for notifications instead of a TextView that
doesn't ever update.

BUG 1563917
/frameworks/base/core/java/android/widget/DateTimeView.java