We need to set a TV window size preference so the runtime will respect to it when launching
https://github.com/evelynhung/gaia/commit/5aba30a5ba908d67e324a2162287d443637cb9d5 I try to use this way for setting a pref, but it doesn't work well on Mulet. Guess there is something wrong... Alex, any suggestion?
okay, I will check bug 1191951 as you suggested in mail. :)
s/Set TV screen size when launching by Mulet/Set TV screen size on Desktop/ Setting b2g.screen.size should work. If not, we should fix screen.js accordingly. The priority order is expected to be like this: - default size hardcoded in screen.js (which is a phone size, 320x480) - preference: b2g.screen.size - command line: --screen If you set the pref from gaia profile, desktop runtime (b2g-desktop and mulet) should automatically get the correct size without having to pass a command line argument manually. Regarding mulet random behavior, this is most likely something buggy in responsive design code...
Status: NEW → RESOLVED
Last Resolved: 11 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.