commit | 897cb19e983d52febbb71041990d492eddea522b | [log] [tgz] |
---|---|---|
author | Xiaowen Lei <xilei@google.com> | Tue Nov 29 16:59:05 2022 +0000 |
committer | Xiaowen Lei <xilei@google.com> | Wed Dec 07 00:34:32 2022 +0000 |
tree | 697b84fb1eaaacd5bbde21d6007d69865104fc41 | |
parent | 5b7da895e28ce610243d80a87670bc0ab1c734f5 [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