summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-07-28 08:33:36 -0700
committerBryce Lee <brycelee@google.com>2017-07-31 08:46:00 -0700
commit658d984f048e846b9039b7a44dc44fd22756c830 (patch)
treeec6c016f45e77b514198be3775fc7ecde24a1af1 /rs/java/android/renderscript/ProgramStore.java
parent3cace2a1482784ace8b8f732bfbb646b9ef612df (diff)
Do not call onConfigurationChanged for appBound position changes.
Since appBounds encodes both dimensions and positions, movement will cause a diff change. This happens in situations where the dimensions stay constant, such as dragging a PiP window around. To avoid flooding the client side with configuration changes, this CL checks whether the new configuration is equivalent to the existing configuration with the exception of the position of the appBounds before sending to the registered callbacks. Change-Id: I8fbc94458fd9ed3b39494c3587f25e704ec02a7d Fixes: 63927944 Test: bit FrameworksServicesTests:com.android.server.wm.AppBoundsTests Test: go/wm-smoke
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions