summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChilun <chilunhuang@google.com>2021-03-03 14:42:01 +0800
committerChilun <chilunhuang@google.com>2021-03-10 12:36:17 +0800
commit34976aa3f25bd88a2a813231bf0ac89301816cad (patch)
tree2a56b9b655e30558b1a51f8e9e0000438309c8d8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent304d3a07ea3a49d015f2cd793fe1b113f189efff (diff)
Add restored tasks with persisted activity to hierarchy
The Activity with persistAcrossReboots mode will be restored and added into Task while rebooting. However, after the WM hierarchy is unified, adding Activity to Task will trigger a series of events, such as relayout and create surface control, which require Task in the hierarchy. This causes the restore to fail. The solution here is to add the restored task to the hierarchy as early as the point of restoration. Bug: 178782815 Test: atest TaskPersisterTest TaskRecordTests Change-Id: I604d6c31f49cff959609373f85d177eadebb062b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions