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 email@example.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
You need to log in before you can comment on or make changes to this bug.