summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
author Bishoy Gendy <bishoygendy@google.com> 2022-11-17 16:13:56 +0000
committer Bishoy Gendy <bishoygendy@google.com> 2022-11-21 11:00:06 +0000
commitc472cb5eb6cb0f11c41cc07af09be51f5f04a6d9 (patch)
tree4ca28fea0c7f5c8a102c0eff59c09168f6a89797 /libs/androidfw/ResourceUtils.cpp
parent3163e221900a914d925ba0fe6e851f0dfa8ff28c (diff)
Fix propagation of RouteDiscoveryPreferences active scan flag
- This caused provider apps to be always scanning to make sure the UI has up to date information. This can result in unnecessary network scans, which can impact other devices on the network's ability to enter sleep mode for power savings, which is a critical issue, especially in European markets where regulations are strict around requirements for TV sleep modes. - The solution was to propagate the flag through the framework as for providers (isActiveScan = isAnyRouterScanning || isManagerScanning); Bug: 250024338 Test: manually by adding logs in onDiscoveryRequestChanged in the MediaRouting Androidx demo Change-Id: I8dece5f5792dccb8df3db497b3b5bdceedede6a3
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions