Open Bug 1910372 Opened 3 months ago Updated 1 month ago

[Predictive back] Enable back to home predictive animation

Categories

(Fenix :: Homepage, enhancement)

All
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: petru, Assigned: mavduevskiy)

References

(Blocks 1 open bug)

Details

For this we only need to add

android:enableOnBackInvokedCallback="true"

in app's AndroidManifest.xml

This will enable the back to home preview that will be handled for the framework
The rest of the previews for other app's screens have to be supported individually by us.

Users on Android 15 beta2+ will get the new preview without any other pre-requisite
Users on Android 13/14 will have to enable "Predictive back animations" in `Developer settings.

Documentation - https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture#opt-predictive

The Bugbug bot thinks this bug should belong to the 'Fenix::Homepage' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Homepage
Assignee: nobody → mavduevskiy
Depends on: 1921125

Seems like we have two tickets about this and Alexandra started working in parallel for bug 1902299.

You need to log in before you can comment on or make changes to this bug.