Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b546f7e0 authored by Chong Zhang's avatar Chong Zhang
Browse files

Only launch an activity in an existing task if activity types match

Activities with FLAG_ACTIVITY_NEW_TASK and FLAG_ACTIVITY_CLEAR_TASK
flags, when sharing the home activity's task, could cause the home
activity to be cleared. Later when home is launched again, a reset
of the task will be triggered each time.

Don't put an activity into a task unless the activity types match.
(This covers both home and recents activities.)

bug: 21880868
Change-Id: Ida26d187a6552914826bf45e537a731b3a15ea70
parent 2e4cc9f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment