summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-04-01 18:40:59 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-04-06 08:53:01 +0000
commit8a87a596a2bd8557f1a4d9647673f937a14b217d (patch)
treede453c570e838602c79ed3759b3fd3f30cccbbc1 /libs/input/PointerController.cpp
parent5e230aef5efaa3b2e9682e47c6c79a7c7f0f92a0 (diff)
Ensure task will be attached when starting activity from AppTask
ActivityManager#addAppTask can add a non-attached task into recents. And then the caller can use ActivityManager.AppTask#startActivity to launch activity in the task. The specified task will be mInTask, but before putting activity in it, the task must attach to hierarchy, otherwise it may cause NPE on random places by the incomplete launch. Bug: 227634021 Test: atest ActivityStarterTests#testStartActivityInner_inTask Change-Id: I66242e2ffa94be19bad49354b5d9cccded17b25c
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions