summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJin Seok Park <jinpark@google.com>2020-07-23 15:08:08 +0900
committerJin Seok Park <jinpark@google.com>2020-07-23 15:08:08 +0900
commitf247c76020e936e2016a85293e19b4f553440030 (patch)
treeb0dd072fc1e2b398eb570e9802f6cca8c73382dd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4cc7111329edcc0d89a3f352669127decdbd8a0a (diff)
Set default locale to US
SimpleDateFormat will use the default locale value if not explicitly set. If the default locale is Arabic, SimpleDateFormat#format will return a string that does not conform to the given pattern. In ExifInterface, if setDateTime is called on a device with an Arabic locale, it will write a string value that will not follow the EXIF standard "YYYY:MM:DD HH:MM:SS" format. Thus, we need to set the locale to Locale.US at all times. Bug: 160674042 Test: N/A Change-Id: I2ad42f73742fd8ceeeeae47eafea69015f50814d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions