diff options
| author | 2022-11-01 13:37:10 +0000 | |
|---|---|---|
| committer | 2023-01-03 16:24:28 +0000 | |
| commit | 38e5d9e797856b7f130ec35e43e33f6f43dcf70d (patch) | |
| tree | fba81d0c716f014873d79768fef9668bb73735a9 /services/coverage/java | |
| parent | 93bebe4f93f462151b9c1b11ddff1ee5d777a316 (diff) | |
Require apps to be in forground to be able to scan
After seeing the history of this change and debugging it, now OKG
doesn't initiate a scanning request and the latest documention for media
router recommends removing to remove the MediaRouter Callback in onStop
method.
- By this change we are limiting scanning to apps in the foreground
while screen is on.
- Wrap the change inside of a feature flag to help toggling it off
later if problems started to be reported.
Bug: 254634785
Test: manually && atest MediaRouter2Test MediaRouterManagerTest
Change-Id: I2d56cf3b2775f55e0e6b110c145b77d1a436a1ed
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions