commit | 2f5d3e9f68cb76b68f281683d4074ba51c6b6a85 | [log] [tgz] |
---|---|---|
author | 张倞诚 <a591951062@gmail.com> | Sat May 11 09:45:59 2024 +0000 |
committer | 张倞诚 <a591951062@gmail.com> | Thu May 16 12:48:18 2024 +0000 |
tree | 67bf3ceee245417fd97fa18508dc3c77e3e4c712 | |
parent | 9f83523d60a6db42321c7ad17ffafae2d12d3141 [diff] |
Fixed device restart caused by starting Activity under split-screen root task. The root task used for split screen contains two or more sub-tasks. In this case, the activity should not be allowed to be started under the root task, which will cause a null pointer and cause the device to restart. Therefore, when the activity is started by specifying the taskid, check that the task is leaftask. Change-Id: I095feb549ce2d3a4e61d999a342f64bea8264288