summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramRaster.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-12-05 20:33:10 -0800
committerRobert Carr <racarr@google.com>2016-12-06 12:34:35 -0800
commit4647acb60e407670356c628d3a823c172dfeea64 (patch)
tree94e4b2da590ac8b2f601ca7e4dd717c3eff7ba4f /rs/java/android/renderscript/ProgramRaster.java
parentcac1d6a00b8e21f5f6c9925e25a29ef883c56308 (diff)
Correct error in Configuration.updateFrom
When updating the non direction members of screenLayout we check that they are not in total undefined, before accepting the new value in full. This was enough for LONG/SIZE which are always undefined or set together. It seems we have paths now where SCREENLAYOUT_ROUND however can be undefined and the others will be set. In this case if we pass a configuration with SCREENLAYOUT_ROUND_UNDEFINED but LONG/SIZE set to updateFrom then we will overwrite our previous SCREENLAYOUT_ROUND value. This triggers extra configuration changes. Bug: 33098677 Test: bit FrameworksCoreTests:android.content.res.ConfigurationTest Change-Id: I6eb321d27011a2af2134d0ed5b6864d4cd902dc3
Diffstat (limited to 'rs/java/android/renderscript/ProgramRaster.java')
0 files changed, 0 insertions, 0 deletions