S22 Ultra tasks and backstack

Hey folks,
I got a problem when working with a S22 ultra device.
When I start activity B from activity A, activity A will be destroyed. So all the data on previous activities will be cleared. There is something weird with the way that device manage its tasks and backstack.
How to prevent activity from being destroyed when starting an other activity?
Thank you so much

Activity management is a feature of the Android OS. It should not be related to the device. Check Android documentation.