commit | 50814321c03a295ba9688cea180d6b4aa9040da1 | [log] [tgz] |
---|---|---|
author | Kyunglyul Hyun <klhyun@google.com> | Tue Apr 06 16:50:58 2021 +0000 |
committer | Kyunglyul Hyun <klhyun@google.com> | Wed Apr 07 04:06:25 2021 +0000 |
tree | 5b5e3d28f18974a79b15d30dabca24eca057fec1 | |
parent | 7eb1c4c24e2039d78d8f609010f830c4fb2c9013 [diff] |
Adjust the condition for scanning in MRService This CL allows foreground services to scan media route providers. Android 12 restricts starting of FGS and doing this enables apps to response while in the background. Instead, the media router service unbinds from the provider services when the device is not interactive. Bug: 179160443 Test: manually && atest MediaRouterManagerTest Change-Id: Ie3712e9d2cba1f801975ea49e6f48a287b3c003e