Closed
Bug 1144515
Opened 8 years ago
Closed 8 years ago
[gonk-lmr1] Adapt to ConsumerListener interface changes in gonknativewindow/libdisplay
Categories
(Firefox OS Graveyard :: GonkIntegration, defect)
Tracking
(blocking-b2g:2.2+, firefox38 wontfix, firefox39 wontfix, firefox40 fixed, b2g-v2.2 fixed, b2g-master fixed)
People
(Reporter: m1, Assigned: m1)
References
Details
(Whiteboard: [caf priority: p2][CR 810046])
Attachments
(1 file)
8.53 KB,
patch
|
mwu
:
review+
sotaro
:
review+
bajaj
:
approval-mozilla-b2g37+
|
Details | Diff | Splinter Review |
BufferItem was introduced into ConsumerListener [1], which causes a ripple effect through widget/gonk/{gonknativewindow,libdisplay} [1] http://androidxref.com/5.1.0_r1/diff/frameworks/native/include/gui/IConsumerListener.h?r2=%2Fframeworks%2Fnative%2Finclude%2Fgui%2FIConsumerListener.h%408dc55396fc9bc425b5e2c82e76a38080f2a655ff&r1=%2Fframeworks%2Fnative%2Finclude%2Fgui%2FIConsumerListener.h%40399184a4cd728ea1421fb0bc1722274a29e38f4a
Comment 1•8 years ago
|
||
Hi Michael Wu & Shawn Ku, Please help route this to the appropriate owner. Thanks, Mike
Flags: needinfo?(sku)
Flags: needinfo?(mwu)
Updated•8 years ago
|
Whiteboard: [CR 810046]
Updated•8 years ago
|
Whiteboard: [CR 810046] → [caf priority: p2][CR 810046]
Assignee | ||
Comment 2•8 years ago
|
||
Little ugly (#ifdefs, a gnarly cast, 'BufferItem' name conflict). But OTOH, this patch does seem work well on L MR1 so maybe that's something. Please steal, I'm a PTO for next two weeks. Note that these are minimal changes for L MR1, that is the addition BufferItem to 'onFrameAvailable' is ignored as is the new 'onFrameReplaced' method. Not sure if Gecko might like to use this new facility in the future, I honestly haven't thought about it that much :)
Comment 4•8 years ago
|
||
Comment on attachment 8581064 [details] [diff] [review] 0004-Bug-1144515-ConsumerListener-interface-changes.patch Review of attachment 8581064 [details] [diff] [review]: ----------------------------------------------------------------- mwu is the proper one to review this patch. mwu, please help review this patch.
Attachment #8581064 -
Flags: review?(mwu)
Updated•8 years ago
|
Flags: needinfo?(sku)
Updated•8 years ago
|
Assignee: nobody → mvines
Comment 5•8 years ago
|
||
I applied this patch locally and it does work properly.
Comment 6•8 years ago
|
||
Comment on attachment 8581064 [details] [diff] [review] 0004-Bug-1144515-ConsumerListener-interface-changes.patch Review of attachment 8581064 [details] [diff] [review]: ----------------------------------------------------------------- Touches nativewindow, so passing review to sotaro.
Attachment #8581064 -
Flags: review?(sotaro.ikeda.g)
Attachment #8581064 -
Flags: review?(mwu)
Attachment #8581064 -
Flags: review+
Comment 7•8 years ago
|
||
Comment on attachment 8581064 [details] [diff] [review] 0004-Bug-1144515-ConsumerListener-interface-changes.patch Review of attachment 8581064 [details] [diff] [review]: ----------------------------------------------------------------- Looks good. If we need to use onFrameReplaced() in future b2g, we need additional change to GonkNativeWindow.
Attachment #8581064 -
Flags: review?(sotaro.ikeda.g) → review+
Comment 8•8 years ago
|
||
try result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=34857d936909
https://hg.mozilla.org/mozilla-central/rev/7bd2bc8251bf
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S9 (3apr)
Comment 11•8 years ago
|
||
Comment on attachment 8581064 [details] [diff] [review] 0004-Bug-1144515-ConsumerListener-interface-changes.patch NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): Gonkintegration User impact if declined: b2g build on L will not work properly. Testing completed: verify on master Risk to taking this patch (and alternatives if risky): low, update api to Lmr1 accordingly String or UUID changes made by this patch: none
Attachment #8581064 -
Flags: approval-mozilla-b2g37?
Updated•8 years ago
|
Attachment #8581064 -
Flags: approval-mozilla-b2g37? → approval-mozilla-b2g37+
Comment 12•8 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/ee218cbd5dd1
status-b2g-v2.2:
--- → affected
status-b2g-master:
--- → fixed
status-firefox38:
--- → wontfix
status-firefox39:
--- → wontfix
Comment 13•8 years ago
|
||
Ryan, it seems be landed to b2g37_v2_2, so let's updated the status flag. Please correct it if I misunderstood.
Updated•8 years ago
|
Flags: needinfo?(mwu)
You need to log in
before you can comment on or make changes to this bug.
Description
•