-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[android] Lazy load media capability to avoid ANR (#1846)
1. Avoid any media capability queries from system callback, so if there's any display/audio device change, media capability cache would do a lazy reload. 2. Remove capability pre-loading to avoid querying capability right after app launch. 3. Reload all capabilities when there's any display device change to simplify the code. b/304602770
- Loading branch information
1 parent
0af7498
commit 3483cb4
Showing
3 changed files
with
18 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters