summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2016-03-31 09:44:34 -0700
committerChong Zhang <chz@google.com>2016-04-01 13:58:41 -0700
commit167bbfac24b1e78576b18c0522218838dfdf57bb (patch)
tree88db80bf5d8a5dac8b3748a1c0b9a2d2d43954f0 /rs/java/android/renderscript/RenderScriptCacheDir.java
parentc2a091a04b36f0bac027d899d5a85200c757eb1f (diff)
Avoid extra relaunch when rotating side-by-side apps
Update configuration with WM first and check if the stacks need to be resized due to the update. If so, let activity manager resize the stacks inline, instead of letting WM schedule another pass of resizeStack. This way the configuration will be updated to the latest before ensureActivity- ConfigurationLocked, and we don't need another relaunch there. bug: 27834014 Change-Id: Ib761a96cada0c3247b0480f18370670c593159da
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions