Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c472cb5e authored by Bishoy Gendy's avatar Bishoy Gendy
Browse files

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
parent 3163e221
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment