Closed Bug 703661 Opened 8 years ago Closed 8 years ago

java.lang.SecurityException: Neither user 10067 nor current process has android.permission.WAKE_LOCK

Categories

(Firefox for Android Graveyard :: General, defect)

Firefox 9
ARM
Android
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 11

People

(Reporter: aaronmt, Assigned: mbrubeck)

References

Details

Attachments

(1 file)

System.err( 3318): java.lang.SecurityException: Neither user 10067 nor current process has android.permission.WAKE_LOCK.
W/System.err( 3318): 	at android.os.Parcel.readException(Parcel.java:1322)
W/System.err( 3318): 	at android.os.Parcel.readException(Parcel.java:1276)
W/System.err( 3318): 	at android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerManager.java:277)
W/System.err( 3318): 	at android.os.PowerManager$WakeLock.acquire(PowerManager.java:253)
W/System.err( 3318): 	at org.mozilla.gecko.GeckoAppShell.nativeRun(Native Method)
W/System.err( 3318): 	at org.mozilla.gecko.GeckoAppShell.runGecko(GeckoAppShell.java:447)
W/System.err( 3318): 	at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:115)

Not sure how I got into this state, but it's flooding my console: http://i.imgur.com/M99o2.png


--
Samsung Nexus S (Android 2.3.6)
20111118040220
http://hg.mozilla.org/projects/birch/rev/9999a423d8ab
Possibly a regression from bug 702183.

Were you on a page with any Flash content when this happened?
Blocks: 702183
(In reply to Matt Brubeck (:mbrubeck) from comment #1)
> Possibly a regression from bug 702183.
> 
> Were you on a page with any Flash content when this happened?

Yes, front-page splash @ http://www.madisonavenuepub.com
I added a patch for this in bug 702183, in case it got pushed to aurora or beta
https://hg.mozilla.org/projects/birch/rev/0695a3352ef8
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Attached patch patchSplinter Review
This patch fixes this in embedding/android too, for XUL Fennec.  (I know we don't plan to ship XUL Fennec 11 except on Honeycomb, but let's fix it just in case.)
Assignee: nobody → mbrubeck
Status: RESOLVED → REOPENED
Attachment #575519 - Flags: review?(blassey.bugs)
Resolution: FIXED → ---
Comment on attachment 575519 [details] [diff] [review]
patch

Matt, this permission is not for flash, its for the battery API. Make sure your checkin comment reflects that
Attachment #575519 - Flags: review?(blassey.bugs) → review+
(In reply to Brad Lassey [:blassey] from comment #6)
> Matt, this permission is not for flash, its for the battery API. Make sure
> your checkin comment reflects that

Fixed: https://hg.mozilla.org/integration/mozilla-inbound/rev/be42fae64eae
Product: Fennec Native → Fennec
Target Milestone: --- → Firefox 11
Version: unspecified → Firefox 9
https://hg.mozilla.org/mozilla-central/rev/be42fae64eae
Status: REOPENED → RESOLVED
Closed: 8 years ago8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.