Closed
Bug 1131388
Opened 11 years ago
Closed 11 years ago
[Camera][Gonk][Shinano] ~4s delay during startup while looking for batterystats service
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S6 (20feb)
People
(Reporter: mikeh, Assigned: gerard-majax)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file, 2 obsolete files)
When the Camera app is started up, with all of the other issue addressed, there is still a ~4s delay. During this time, the following appears in the logcat:
02-09 19:33:24.122 939 954 I ServiceManager: Waiting for service batterystats...
02-09 19:33:25.122 939 954 I ServiceManager: Waiting for service batterystats...
02-09 19:33:26.132 939 954 I ServiceManager: Waiting for service batterystats...
02-09 19:33:27.132 939 954 I ServiceManager: Waiting for service batterystats...
02-09 19:33:28.132 939 954 I ServiceManager: Waiting for service batterystats...
| Assignee | ||
Comment 1•11 years ago
|
||
While hacking on ZR, I had similar behavior. I'll reuse my gonk-misc/fakebattery code and keep you posted.
| Assignee | ||
Comment 2•11 years ago
|
||
This will include a fake provider for this service. Maybe we would want this in Gecko directly ? You need to build, push, and run by hand for now.
| Assignee | ||
Comment 3•11 years ago
|
||
Michael, did you figured out for sensorservice ? If you have nothing against this approach, I'll use this in shinano/aries device-specific init.
Flags: needinfo?(mwu)
Comment 4•11 years ago
|
||
Starting sensorservice via init.rc is fine. It's not much different than how android starts it - not sure why android doesn't just start it via init.rc.
Flags: needinfo?(mwu)
| Assignee | ||
Comment 5•11 years ago
|
||
Assignee: nobody → lissyx+mozillians
Attachment #8564037 -
Flags: review?(mwu)
Comment 6•11 years ago
|
||
Comment on attachment 8564037 [details] [review]
PR for gonk-misc
I think this is more appropriate in shinano-common, unless we start seeing more devices that want to talk to the battery stats service.
Attachment #8564037 -
Flags: review?(mwu)
| Assignee | ||
Comment 7•11 years ago
|
||
I have included it in my shinano-common tree
Attachment #8562040 -
Attachment is obsolete: true
Attachment #8564037 -
Attachment is obsolete: true
Attachment #8564765 -
Flags: review?(mwu)
| Assignee | ||
Updated•11 years ago
|
Updated•11 years ago
|
Attachment #8564765 -
Flags: review?(mwu) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
shinano-common is r+ in bug 1132921.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Whiteboard: [systemsfe]
Target Milestone: --- → 2.2 S6 (20feb)
You need to log in
before you can comment on or make changes to this bug.
Description
•