Closed
Bug 1236049
Opened 9 years ago
Closed 9 years ago
crash in android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? at android.app.ContextImpl.startActivity(ContextImpl.java)
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox45 fixed, firefox46 fixed)
RESOLVED
FIXED
Firefox 46
People
(Reporter: jchen, Assigned: jchen)
References
Details
(Keywords: crash, regression)
Crash Data
Attachments
(1 file)
3.15 KB,
patch
|
sebastian
:
review+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #1224295 +++
Missed a spot in the fix for bug 1224295.
Assignee | ||
Comment 1•9 years ago
|
||
Use an Activity as the Context when we have one. This avoids the crash
and also avoids an ugly black flash when you cancel the intent chooser.
When we don't have an activity, use an application context and add the
new task flag.
Attachment #8703172 -
Flags: review?(s.kaspari)
Updated•9 years ago
|
Attachment #8703172 -
Flags: review?(s.kaspari) → review+
Comment 3•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Jim, this is present in 45, please uplift.
Flags: needinfo?(nchen)
Assignee | ||
Updated•9 years ago
|
status-firefox45:
--- → affected
Flags: needinfo?(nchen)
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8703172 [details] [diff] [review]
Be smarter about which Context to use for opening Intent (v1)
Approval Request Comment
[Feature/regressing bug #]: Bug 1219016
[User impact if declined]: Possible crash when opening external URL.
[Describe test coverage new/current, TreeHerder]: Locally, m-c, aurora
[Risks and why]: Very small; patch has been on m-c for a while.
[String/UUID change made/needed]: None
Attachment #8703172 -
Flags: approval-mozilla-beta?
Assignee | ||
Updated•9 years ago
|
Comment 6•9 years ago
|
||
Comment on attachment 8703172 [details] [diff] [review]
Be smarter about which Context to use for opening Intent (v1)
Fix a crash, taking it.
Should be in 45 beta 2.
Attachment #8703172 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 7•9 years ago
|
||
bugherder uplift |
Updated•9 years ago
|
Version: unspecified → 45 Branch
Updated•4 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
•