summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Santiago Seifert <aquilescanta@google.com> 2022-10-21 17:09:00 +0000
committer Santiago Seifert <aquilescanta@google.com> 2022-10-24 11:46:48 +0000
commitc0af0d2b8dbcf56ea62651f6e0ab1bd93d3ec0a4 (patch)
treee5fc12eb40b864708269946b57805011483d1192 /libs/androidfw/StringPool.cpp
parent3c155090fe878518a2c316ffbafe31c25a10fd90 (diff)
Simplify onProviderStateChangedOnHandler
Mostly a non-functional refactor, except for the addition of a validity check when adding routes from a new provider. Before this change the validity check was only made for routes added by an existing provider, but not for routes coming from a new provider. Under the assumption that this was an oversight, we make the validity check for all routes. Test: atest mediaroutertest CtsMediaBetterTogetherTestCases Bug: 205124386 Change-Id: I4b4ca48756ac027e3c54b7c1000dfab05248682a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions