summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorSungmin Choi <sungmin.choi@lge.com>2013-02-28 20:17:15 +0900
committerElliott Hughes <enh@google.com>2013-03-11 11:24:02 -0700
commit9a2ada418b0a53cb10e009398116ff8cd914d71e (patch)
treeef623ed6a21442396987b3d90170d5efa5bfeb1f /graphics/java/android/renderscript/ProgramVertexFixedFunction.java
parent5b5437752fb2318142a41b6320b00a000575503f (diff)
use Calendar in DateUtils format method
The DatePickerDialog is using DateUtils to format the dialog's title and the DateUtils class does not work with dates outside to the specified range. For example, if user selects 2038-03-07, DatePickerDialog shows 1902-01-30 on Title. The reason for the DateUtils class not being able to format dates outside the range of 1902 and 2036 is because internally it is using the Time class which does not support such dates. To fix it, use Calendar class in DataUilts format method. Steps to reproduce: 1. Settings -> Date & time 2. uncheck Automatic date & time 3. Set Date 4. choose any date before 1902 or after 2037 5. update wrong date on Title Bug: https://code.google.com/p/android/issues/detail?id=13050 Change-Id: I003266765751b5c340426af84daef271f39f771e
Diffstat (limited to 'graphics/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions