Closed
Bug 1159618
Opened 9 years ago
Closed 9 years ago
The built-in keyboard app would not be run as OOP when using WebIDE to debug
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1160980
People
(Reporter: rudyl, Unassigned)
References
Details
Attachments
(1 file)
STR === 1. Use WebIDE to debug keyboard app 1.a Enable debugging via USB on device, with Settings > Developer 1.b Request higher privileges with these steps, https://developer.mozilla.org/en-US/docs/Tools/WebIDE/Running_and_debugging_apps#Unrestricted_app_debugging_(including_certified_apps.2C_main_process.2C_etc.) 2. After phone reboots, found that keyboard app was not run as OOP.
Reporter | ||
Comment 1•9 years ago
|
||
After some investigation, I found input window manager would get 0 as the total memory so that it won't run keyboard app as OOP (will do when mem >= 512).
Comment 2•9 years ago
|
||
Reporter | ||
Comment 3•9 years ago
|
||
I suspect this is related to bug 1150423, so set the dependency.
Blocks: 1150423
Component: Gaia::System::Input Mgmt → Gaia::System
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8599208 [details] [review] [gaia] RudyLu:system/FeatureDetector > mozilla-b2g:master Hi Alive, Chens, It seems there are cases that deviceMemory was not assigned with correct value and then input window manager would get 0 from this module and then caused this issue. Not sure this fits in the correct code pattern of system module, so ask for your opinions first. Thanks.
Attachment #8599208 -
Flags: feedback?(chens)
Attachment #8599208 -
Flags: feedback?(alive)
Comment 5•9 years ago
|
||
Comment on attachment 8599208 [details] [review] [gaia] RudyLu:system/FeatureDetector > mozilla-b2g:master I found reboot is the key to repro this issue, and the fix looks good to me.
Attachment #8599208 -
Flags: feedback?(chens) → feedback+
Comment 6•9 years ago
|
||
Comment on attachment 8599208 [details] [review] [gaia] RudyLu:system/FeatureDetector > mozilla-b2g:master Could we do this in FeatureDetector.js and have Keyboard to call Service.request('getDeviceMemory').then(....) on start? Thx.
Attachment #8599208 -
Flags: feedback?(alive)
Comment 7•9 years ago
|
||
Dup to the newer bug that has an r+'d patch.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•