summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Xiaowen Lei <xilei@google.com> 2022-11-29 16:59:05 +0000
committer Xiaowen Lei <xilei@google.com> 2022-12-07 00:34:32 +0000
commit897cb19e983d52febbb71041990d492eddea522b (patch)
tree697b84fb1eaaacd5bbde21d6007d69865104fc41 /libs/androidfw/ApkParsing.cpp
parent5b7da895e28ce610243d80a87670bc0ab1c734f5 (diff)
Guard regionSampler registering/deregistering code behind the flag.
When the flag is off, regionSampler was being created and registered, but it actually does nothing. So guard this code behind the flag to avoid confusion. Note: I noticed this while debugging b/254095511. But this current CL isn't required for the fix for the bug (ag/20597942). Bug: 202758428 Bug: 254095511 Test: no-op. Passes existing tests. Change-Id: I391b788debbb0e3063e72745c09b1e94b027ac83
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions