Closed
Bug 1299925
Opened 8 years ago
Closed 8 years ago
Handle back button correctly in custom tabs
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Firefox for Android Graveyard
General
Tracking
(firefox51 fixed)
RESOLVED
FIXED
Firefox 51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: droeh, Assigned: droeh)
References
Details
Attachments
(1 file)
(deleted),
patch
|
snorp
:
review+
|
Details | Diff | Splinter Review |
Currently, when in a custom tab, pressing the back button will close the active tab but leave the CustomTabsActivity running. Correct behavior is probably to call finish().
Assignee | ||
Comment 1•8 years ago
|
||
Just a quick and simple patch for this that finishes the activity and does nothing else when the back button is pressed in a custom tab. There are probably other considerations here (eg: do we close the tab? do we allow the back button to be used for navigation?), but I think we should land this ASAP and figure those issues out later. Without this patch it is impossible to return to an app that has launched a custom tab.
Attachment #8787408 -
Flags: review?(snorp)
Updated•8 years ago
|
Priority: -- → P2
Comment on attachment 8787408 [details] [diff] [review]
Back button support
Review of attachment 8787408 [details] [diff] [review]:
-----------------------------------------------------------------
Sounds good. Please file followups for the other questions you mentioned (or just one bug for 'figure out back button behavior')
Attachment #8787408 -
Flags: review?(snorp) → review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bdf79acb0726
Override onBackPressed in CustomTabsActivity to finish the activity. r=snorp
Comment 4•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox51:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 51
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
•