summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2018-03-01 15:38:07 -0800
committerBryce Lee <brycelee@google.com>2018-03-08 12:11:51 -0800
commitfc7cedd093c97600b3b5cc73361db7ce3b571d2f (patch)
tree7c2969fffcbc1d8aeb5a6b8cc60ca811a943d02a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5f6980af6e988670bef921956815c644d1a9c7e8 (diff)
Do not call checkReadyForSleep recursively.
resumeTopActivityUncheckedLocked can be recusively called. There are currently measures in place to guard against resumeTopActivityInnerLocked from being called inside recursively. However, calls to checkReadyForSleep in the same method are not protected in the same way. This can lead to a stack overflow. This changelist moves the call to inside the scope protected from recusive invocations. Change-Id: Id5a7e04a354032ad10cf285f8d6b26d666734e6e Fixes: 66344012 Test: go/wm-smoke-auto
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions