summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChilun <chilunhuang@google.com>2020-05-13 17:20:09 +0800
committerChilun <chilunhuang@google.com>2020-05-21 18:53:44 +0800
commit762f0493ca7241eef1fd9f67f2d00f3ff25c9bc3 (patch)
tree860e7968e32e14110b540d5569bbe054a947edae /tools/aapt2/java/JavaClassGenerator.cpp
parent47059f7654a70ac69bd17b2a119801b9b3682c96 (diff)
Get the instance count as the initial value
Developer may not be able to enable strict mode before creating any activities. The initial value of expected instance count may not always be 1. This CL use the instance count from InstanceTracker as the initial value. Bug: 152348723 Test: atest ActivityLeakTests atest NexusLauncherTests Change-Id: I8d34c87748deac72cf8b6e5cc247029901bbffb3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions