mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Issue #1053 - Remove MOZ_WIDGET_ANDROID and IDB_MOBILE
This commit is contained in:
parent
0ced696351
commit
348c6604be
43 changed files with 14 additions and 1048 deletions
|
|
@ -159,16 +159,8 @@ bool
|
|||
IsEnableAudioCompetingForAllAgents()
|
||||
{
|
||||
// In general, the audio competing should only be for audible media and it
|
||||
// helps user can focus on one media at the same time. However, we hope to
|
||||
// treat all media as the same in the mobile device. First reason is we have
|
||||
// media control on fennec and we just want to control one media at once time.
|
||||
// Second reason is to reduce the bandwidth, avoiding to play any non-audible
|
||||
// media in background which user doesn't notice about.
|
||||
#ifdef MOZ_WIDGET_ANDROID
|
||||
return true;
|
||||
#else
|
||||
// helps user can focus on one media at the same time.
|
||||
return sAudioChannelCompetingAllAgents;
|
||||
#endif
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue