Bug 1085383 - Allow FM radio tuning to be run on a separate thread, r=dhylands
authorMichael Wu <mwu@mozilla.com>
Thu, 13 Nov 2014 14:11:03 +0800
changeset 241832 d0f20c0182ae56ed0feea8ac27525ac0871d2722
parent 241831 8fa168485aff56664b8ab01793a1c0e4c9d409f9
child 241833 5f91f3cd7e89a310435067a7e874fc33f008d257
push id660
push userraliiev@mozilla.com
push dateWed, 18 Feb 2015 20:30:48 +0000
treeherdermozilla-release@49e493494178 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdhylands
bugs1085383
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1085383 - Allow FM radio tuning to be run on a separate thread, r=dhylands
hal/Hal.cpp
--- a/hal/Hal.cpp
+++ b/hal/Hal.cpp
@@ -1067,29 +1067,27 @@ EnableFMRadio(const FMRadioSettings& aIn
 void
 DisableFMRadio() {
   AssertMainThread();
   PROXY_IF_SANDBOXED(DisableFMRadio());
 }
 
 void
 FMRadioSeek(const FMRadioSeekDirection& aDirection) {
-  AssertMainThread();
   PROXY_IF_SANDBOXED(FMRadioSeek(aDirection));
 }
 
 void
 GetFMRadioSettings(FMRadioSettings* aInfo) {
   AssertMainThread();
   PROXY_IF_SANDBOXED(GetFMRadioSettings(aInfo));
 }
 
 void
 SetFMRadioFrequency(const uint32_t aFrequency) {
-  AssertMainThread();
   PROXY_IF_SANDBOXED(SetFMRadioFrequency(aFrequency));
 }
 
 uint32_t
 GetFMRadioFrequency() {
   AssertMainThread();
   RETURN_PROXY_IF_SANDBOXED(GetFMRadioFrequency(), 0);
 }