Simplify custom tabs onBackPressed behavior

RESOLVED FIXED in Firefox 52

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: droeh, Assigned: droeh)

Tracking

unspecified
Firefox 52
All
Android
Points:
---

Firefox Tracking Flags

(firefox52 fixed)

Details

Attachments

(1 attachment)

A slight refactoring of GeckoApp.onBackPressed would let us use it for CustomTabsActivity.onBackPressed instead of maintaining two very similar implementations.
Factor the moveTaskToBack() calls out of onBackPressed so that they can be replaced by finish() calls by CustomTabsActivity.
Attachment #8807703 - Flags: review?(snorp)
Attachment #8807703 - Flags: review?(snorp) → review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/81f2a2b396f8
Refactor GeckoApp.onBackPressed to allow it to be used by both GeckoApp and CustomTabsActivity. r=snorp
https://hg.mozilla.org/mozilla-central/rev/81f2a2b396f8
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 52
You need to log in before you can comment on or make changes to this bug.