diff options
author | Elliott Hughes <enh@google.com> | 2017-03-15 13:01:53 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-03-15 13:01:53 -0700 |
commit | 70cfefa01ab7446120c11fbf23cc7fe21e71ac28 (patch) | |
tree | 5c3f4f87ade02471a157a6e78aa3424be30764ff /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 40aa5ee583c3948e1ac67b0afff71f899d131414 (diff) |
Restore SystemProperties.PROP_NAME_MAX to keep Kindle running.
The limit has been lifted in O, but without this constant, Kindle crashes here:
Caused by: java.lang.NoSuchFieldException: PROP_NAME_MAX
at java.lang.Class.getField(Class.java:1607)
at com.amazon.android.webkit.AmazonWebKitFactories$Implementation.<clinit>(AmazonWebKitFactories.java:59)
The code seems to want to truncate a system property name to avoid the
exception that SystemProperty.get threw if passed a name that was too long.
Bug: http://b/36095274
Test: select a word in Kindle
Change-Id: Id1881a8a7c6386400a1024beb0d1b741bdaefba7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions