diff options
author | Yongjin Kwon <yj81.kwon@samsung.com> | 2019-11-06 17:36:24 +0900 |
---|---|---|
committer | Vishnu Nair <vishnun@google.com> | 2019-11-06 08:58:12 -0800 |
commit | 9c5f0aa96030ca190c1dd97f69631ae101892b9d (patch) | |
tree | fa4bafb7af1c83228d1ad5d29f4ee622f32c3c0c /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 98e9bbdb06d340d966f177173748c87ec93b3e11 (diff) |
[wm]: Changed an order to set a target window in TaskPositioner.
The system crash happens in TaskPositioner.unregister()
with the line mClientCallback.unlinkToDeath(this, 0 /* flags */).
Because mClientCallback has not been initialized before starting window drag.
Send the target window at the register function not at the start function.
Test: manual - Drag freefrom windowing task repeatedly
Test: atest WmTests:TaskPositionerTests
Bug: 142746031
Change-Id: Ied605f35d8b50540ad01056fa87bb2637135f1ab
(cherry picked from commit ac5ad99b44ea26aae1571de36c039eed81e886cf)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions