summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorYevgen Pronenko <yevgen.pronenko@sonymobile.com>2014-02-19 10:33:07 +0100
committerHenrik Baard <henrik.baard@sonymobile.com>2014-03-04 15:07:34 +0100
commitc36a5b9c3664d1b1e9787503161154d5b3470872 (patch)
tree8e0da5a121505ea0f06b503385658591a241910c /rs/java/android/renderscript/Script.java
parent2ba70fd49bfcbb516e75c198c106764609335feb (diff)
Avoid duplication of AppWindowToken in created Task
When WindowManagerService creates a new Task, it passes atoken to the Task constructor. In this case atoken is added to mAppTokens list by the Task constructor and then it is added manually again by calling newTask.mAppTokens.add(atoken). As a result, the same atoken is present in mAppTokens list twice. When another window token is added to the list, it may be placed in beetwen duplicated tokens and corresponding window will be hidden from the screen by corresponding duplicated windows. From user perspective it means that some windows will not be displayed on the screen. The issue is fixed by avoid adding atoken to mAppTokens list manually when it was added already in Task constructor. Change-Id: I10628e68186160fffdde07beb7d84ab3cecb7051
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions