diff options
author | riddle_hsu <riddle_hsu@htc.com> | 2014-12-27 12:10:45 +0800 |
---|---|---|
committer | riddle_hsu <riddle_hsu@htc.com> | 2014-12-27 12:10:45 +0800 |
commit | c215a4fb2f6ef739e3f1a8d627bca3a3a063b879 (patch) | |
tree | 4642d3a682719d262d6380e89e5a009716cb7727 /rs/java/android/renderscript/Allocation.java | |
parent | 5e1e38ccdd3da34f65a642dc25b5b2b5cf2b6059 (diff) |
[ActivityManager] Set appropriate relation of task to home
All below cases should return to home but the top will be Settings.
The initial steps are
1.Launch Settings from home
2.Press home key
3.Launch activity A in task X from home
Case 1
4.A starts activity B in task Y and calls moveTaskToBack
Case 2
4.A starts activity B in task X and calls moveTaskToBack
5.B calls finish
Case 3
4.A launches activity B in task Y
5.B launches A with NEW_TASK (bring existed task)
6.A calls finish return to B
7.B calls finish
Case 4
4.A launches activity B in task X
5.B launches C in task X
6.C launches A with flag NEW_TASK and CLEAR_TOP
7.A calls finish
Solution:
Transfer return-to to next adjacent task.
Change-Id: Icdad980eec64e081d15679600da07cf4431e40d6
Diffstat (limited to 'rs/java/android/renderscript/Allocation.java')
0 files changed, 0 insertions, 0 deletions