java - FLAG_ACTIVITY_NO_HISTORY not working in deeplink app -


i've got app deeplinks app.

activity on 1st app. activity b , c on 2nd app.

this how flow works:

activity goes activity b activity b process data , sends user activity c

from there, works.

now, when pressing button.

desired behaviour:

user presses in activity c. app sends user activity a, skipping b entirely.

current behaviour:

user presses in activity c. app sends user activity b.

what tried far:

add flag_activity_no_history intent sends activity b c. add flag_activity_clear_top intent sends activity b c.

those doesn't work.

override onbackpressed() method in activity c adding intent deeplink app.

this works, not desired solution @ workplace.

is there flag or need place in place?

have tried setting nohistory="true" in manifest activity b?


Comments