summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTony Huang <tonyychuang@google.com>2020-12-09 13:45:58 +0800
committerTony Huang <tonyychuang@google.com>2020-12-10 08:55:44 +0800
commite9d60f87d0d06cb89653720025937450091ea9ec (patch)
tree453b603db2929bbf4674ac0d281388f5949a5b0c /tools/aapt2/java/JavaClassGenerator_test.cpp
parent087a5215d243e8b8428282b78478bfde1e75d05d (diff)
Fix some exception occrued possible code
1. When removeTask, task surface might be null so check null before call migrateToNewSurfaceControl. Refactor code in dispose too. 2. onTaskInfoChanged callback might before onTaskAppeared or after onTaskVanished in race condition then cause crash. Avoid it by check TaskAppearedInfo is null or not in the list. This is temp workaround and it should finally fixed in TaskOrganizerController side. Bug: 161803994 Bug: 174482124 Test: check app lunch, split screen, pip Test: atest WMShellUnitTests Test: atest WmTests:WindowOrganizerTests Change-Id: Iec5ec516ed71589832366c2b61e91c8804139f6e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions