summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorTiger Huang <tigerhuang@google.com>2021-04-17 02:37:23 +0800
committerTiger Huang <tigerhuang@google.com>2021-04-19 15:33:10 +0800
commit55581522eaf0dbb4356824d3bb8dc460110e70cc (patch)
tree80148d524aa0bbd3361c665788e8f8fc5818a627 /tools/aapt2/java/JavaClassGenerator.cpp
parente7f2887e7d25554a9fdb2e0fa7dc125aa3ab3859 (diff)
Stop processing if the new control equals the current one
InsetsSourceConsumer#setControl compares the identities between the new control and current one. If they are the same, the function stops processing. However, the instance of the control returned from relayout will always be different, which makes setControl process more than expected. This CL overrides InsetsSourceControl#equals, and use it to decide if we should do further processing in setControl. Bug: 185193241 Fix: 185460364 Test: steps in the bug Change-Id: If347df353202ef441b57dabccfd0ef254ec72477
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions