summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2023-03-08 11:01:18 -0500
committer Lucas Silva <lusilva@google.com> 2023-03-08 11:01:18 -0500
commit182754e971d43dae5f89351fce41e50ab66afe9a (patch)
treec70d8b7aba9b430fd7835c45e9325f7683cde7e3 /libs/androidfw/ApkParsing.cpp
parentdc94ae961f4017f4848b9cc9c47979463df7a6fb (diff)
Avoid callback leak in ComplicationHostViewController
There is no reason to add the callback instead of just checking the state when it is needed, since we don't need to respond to state changes. This avoids the callback object leaking when new instances are created. Bug: 272019210 Test: atest ComplicationHostViewControllerTest Change-Id: I91d798a8130199a27ad134b30240a9073501d7fb
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions