riddle_hsu c215a4fb2f [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
2014-12-27 12:10:45 +08:00
2014-12-17 20:27:25 -08:00
2014-12-01 23:47:37 +00:00
2014-11-10 17:23:02 -08:00
2014-11-26 09:08:40 -08:00
2014-12-10 19:49:59 +00:00
2014-11-20 11:47:40 -08:00
2014-09-12 22:16:17 -07:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%