Closed
Bug 1181893
Opened 9 years ago
Closed 7 years ago
Unable call mozPower.reboot、mozPower.powerOff、mozPower.Restart from other certified apps
Categories
(Firefox OS Graveyard :: Gaia::System::Power Mgmt, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Chenguoqiang, Unassigned)
References
Details
Unable call mozPower.reboot、mozPower.powerOff、mozPower.reboot from other certified apps.
Reporter | ||
Updated•9 years ago
|
Summary: Unable call mozPower.reboot、mozPower.powerOff、mozPower.reboot from other certified apps → Unable call mozPower.reboot、mozPower.powerOff、mozPower.Restart from other certified apps
Reporter | ||
Comment 1•9 years ago
|
||
Because these functions call func StartForceQuitWatchdog (http://mxr.mozilla.org/mozilla-b2g37_v2_2/source/hal/Hal.cpp#632), this func must run on main process & main thread.
PowerManagerService::PowerOff()
http://mxr.mozilla.org/mozilla-b2g37_v2_2/source/dom/power/PowerManagerService.cpp#145
Updated•9 years ago
|
Updated•9 years ago
|
Updated•9 years ago
|
Comment 2•9 years ago
|
||
Hi Guoqiang:
Would you help check if the information in 1148740 can answer your question? That was asked recently from your team and it looks to me they are related questions?
Also would you help me know what's the scenario you try to use a App to control device's power? (restart, poweroff, etc.)
Flags: needinfo?(Chenguoqiang)
Reporter | ||
Comment 3•9 years ago
|
||
Dear Wehuang,
It's the same questions
Flags: needinfo?(Chenguoqiang)
Comment 4•9 years ago
|
||
Thanks Guoqiang's confirmation!
Comment 5•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•