Activity not finishing even after pressing back key

Problem: {
    1. Start any new task with activity A
    2. Start Activity B that is in new process but must not occludes parent.
    3. Then start activity C in same process of A.
    4. All three must be in same task.
    5. Now press back key.
    6. C must override finishAfterTransition and calls API covertToTranslucent
    7. Observe below activity window is shown, but not resume and above activity is not visible but it is still resumed.
}

Solution: {
    1. Get below activity in task that is in same process.
    2. Set for both below one and for below activity in same process
}

Bug: 273901491
Google: 2750203
Change-Id: I25e5d387a3f5fa91520d0d63a7844d7ed009c756
Signed-off-by: pioush garg <pioushkumar1992@gmail.com>
Signed-off-by: Jackeagle <jackeagle102@gmail.com>
1 file changed