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

Skip to content
Commit 6190a5da authored by Santiago Seifert's avatar Santiago Seifert
Browse files

Fix scan request leak in RouterInfoMediaManager

If a client of the class calls requestScanOnRouter twice in a row, the
first second scan request will never be released because the scan token
is leaked.

Bug: b/352271568
Test: atest SettingsLibTests
Test: Manually by adding logging and chasing scan requests.
Flag: com.android.media.flags.enable_screen_off_scanning
Change-Id: I7ad57076fff6c62f33898b06da6b5f094c451643
parent 0c1aab59
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