summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCraig Mautner <cmautner@google.com>2014-12-17 15:45:03 -0800
committerCraig Mautner <cmautner@google.com>2014-12-17 15:45:03 -0800
commit6b904ef4741321dcb01caee9795c2a044018706c (patch)
tree6ead61e379928ccce6c4b6259647d0da8984384d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent052e9b12f5fc7a1e3ecdd126ca8c07298941f291 (diff)
Make window mgr stack movement track activity mgr
There were situations where the activity manager ActivityStack was moved to the front but the corresponding window manager TaskStack was not. This caused the wrong activity to receive focus which led to Application Not Responding errors. One path in particular occurred in startActivityUncheckedLocked() where curTop.task != intentActivity.task and sourceStack.topActivity().task != sourceRecord.task. In this case targetStack.moveTaskToFrontLocked() was never called. This fix forces all calls to ActivityStack.moveToFront() to make a call to WindowManagerService.moveTaskToTop() and eliminates redundant calls to moveTaskToTop(). Fixes bug 17721767. Change-Id: Ibf01389810dd36724eaec5a4a07560144b2f4cef
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions