Skip to content
Commit 9f748c39 authored by yangyankai1's avatar yangyankai1
Browse files

No need to 'addChild' when start 'FLAG_ACTIVITY_CLEAR_TOP' Activity.



Android R refactor Activity launchMode:'FLAG_ACTIVITY_CLEAR_TOP',
'singleTop','singleInstance'. After Android R restructure, the
'addChild' method leads to Activity leaks. No need to 'addChild'
in the current Android version anymore.

Test: build pass, feature pass.
TestCase: Start a Activity twice with flag 'FLAG_ACTIVITY_CLEAR_TOP'.
Reproductivity: always.

Signed-off-by: default avataryangyankai1 <yangyankai1@xiaomi.com>
Change-Id: Ia4d5b875a6592b6448af7500626b5a273bd96dc3
parent 5dbc2cd1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment