Closed
Bug 736073
Opened 14 years ago
Closed 13 years ago
Implement ANSystem::setPowerState for Flash
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox14 verified, firefox15 verified, firefox16 verified, blocking-fennec1.0 .N+)
VERIFIED
FIXED
Firefox 16
People
(Reporter: snorp, Assigned: snorp)
References
Details
Attachments
(2 files, 1 obsolete file)
|
13.06 KB,
patch
|
Details | Diff | Splinter Review | |
|
5.88 KB,
patch
|
blassey
:
review+
blassey
:
approval-mozilla-aurora+
blassey
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This allows Flash to keep the screen on while playing videos, for instance.
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #606208 -
Flags: review?(blassey.bugs)
Comment 2•14 years ago
|
||
Comment on attachment 606208 [details] [diff] [review]
Implement power state interface for Flash on Android
Review of attachment 606208 [details] [diff] [review]:
-----------------------------------------------------------------
have a look and dom/power and hal/android to see what can be shared
Attachment #606208 -
Flags: review?(blassey.bugs)
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → snorp
Updated•13 years ago
|
blocking-fennec1.0: --- → soft
| Assignee | ||
Comment 4•13 years ago
|
||
Attachment #626798 -
Flags: review?(blassey.bugs)
Comment 5•13 years ago
|
||
Comment on attachment 626798 [details] [diff] [review]
Hook up Hal WakeLocks on Android and Flash
Review of attachment 626798 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/chrome/content/browser.js
@@ +244,5 @@
> + state: state == "locked-foreground"
> + }
> + });
> + }
> + });
I don't like this indirection, just called sendMessageToJava directly from the plugin code. Or (if you don't want to construct JSON in C++) add a new method to the bridge
Attachment #626798 -
Flags: review?(blassey.bugs) → review-
| Assignee | ||
Comment 6•13 years ago
|
||
(In reply to Brad Lassey [:blassey] from comment #5)
> Comment on attachment 626798 [details] [diff] [review]
> Hook up Hal WakeLocks on Android and Flash
>
> Review of attachment 626798 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: mobile/android/chrome/content/browser.js
> @@ +244,5 @@
> > + state: state == "locked-foreground"
> > + }
> > + });
> > + }
> > + });
>
> I don't like this indirection, just called sendMessageToJava directly from
> the plugin code. Or (if you don't want to construct JSON in C++) add a new
> method to the bridge
I did it that way the first time around, but in comment #2 you said you'd rather go through hal...
| Assignee | ||
Comment 7•13 years ago
|
||
Attachment #628364 -
Flags: review?(blassey.bugs)
| Assignee | ||
Updated•13 years ago
|
Attachment #626798 -
Attachment is obsolete: true
Updated•13 years ago
|
Attachment #628364 -
Flags: review?(blassey.bugs) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
Comment 9•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 16
| Assignee | ||
Comment 10•13 years ago
|
||
Comment on attachment 628364 [details] [diff] [review]
Implement power state support for Flash on Android
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined:
Testing completed (on m-c, etc.):
Risk to taking this patch (and alternatives if risky):
String or UUID changes made by this patch:
Attachment #628364 -
Flags: approval-mozilla-beta?
Attachment #628364 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
tracking-fennec: --- → 14+
blocking-fennec1.0: soft → .N+
Comment 11•13 years ago
|
||
Comment on attachment 628364 [details] [diff] [review]
Implement power state support for Flash on Android
we're going to take this for the .N release, so please land on aurora and beta but not the beta 7 release branch on beta
Attachment #628364 -
Flags: approval-mozilla-beta?
Attachment #628364 -
Flags: approval-mozilla-beta+
Attachment #628364 -
Flags: approval-mozilla-aurora?
Attachment #628364 -
Flags: approval-mozilla-aurora+
| Assignee | ||
Comment 12•13 years ago
|
||
tracking-fennec: 14+ → ---
| Assignee | ||
Comment 13•13 years ago
|
||
| Assignee | ||
Updated•13 years ago
|
Comment 14•13 years ago
|
||
Setting screen timeout to a short interval and leaving youtube flash video player in fullscreen mode causes the timeout to be disabled and leaves the device awake until the video completes.
Tested on:
Nightly 16.0a1 2012-06-19/ Aurora 15.0a2 2012-06-19/ Firefox Mobile 14 beta 7
HTC Desire
Android 2.2
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•