New session starts after fixed time and does not consider user actions

The session duration is fixed. If a user is active within the session duration, then with each click / action the session duration should start over.

I think the problem lies here:
final boolean newSession = System.currentTimeMillis() - mSessionStartTime > mSessionTimeout;

https://github.com/matomo-org/matomo-sdk-android/blob/2ce5841e8b753e13374ba3ef292092d1a4d8c91d/tracker/src/main/java/org/matomo/sdk/Tracker.java#L486

mSessionStartTime is only set when manually calling:
"startNewSession()": "mSessionStartTime = 0".

And at the place you can see in the screenshot: If the 30min timeout is reached, then a new session is started with “injectInitialParams()” and the “mSessionStartTime” is set to the current timestamp.