测试应用主activityA使用默认启动模式
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityB,添加flag----FLAG_ACTIVITY_NEW_TASK
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityC
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=2}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityD
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=3}
* Hist #2: ActivityRecord{8581614 u0 com.wp.launchmode/.ActivityD t28}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityA
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=3}
* Hist #2: ActivityRecord{8581614 u0 com.wp.launchmode/.ActivityD t28}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Stack #0:
打开activityB,C,D
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=3}
* Hist #2: ActivityRecord{8581614 u0 com.wp.launchmode/.ActivityD t28}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityB,添加flag----FLAG_ACTIVITY_NEW_TASK
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityC
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=2}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityD
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=3}
* Hist #2: ActivityRecord{8581614 u0 com.wp.launchmode/.ActivityD t28}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0:
打开activityA
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=3}
* Hist #2: ActivityRecord{8581614 u0 com.wp.launchmode/.ActivityD t28}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Stack #0:
打开activityB,C,D
ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities)
Display #0 (activities from top to bottom):
Stack #5:
Task id #28
* TaskRecord{a1743d1 #28 A=com.wp.launchmode U=0 sz=3}
* Hist #2: ActivityRecord{8581614 u0 com.wp.launchmode/.ActivityD t28}
* Hist #1: ActivityRecord{1aa9a57 u0 com.wp.launchmode/.ActivityC t28}
* Hist #0: ActivityRecord{2ef42f8 u0 com.wp.launchmode/.ActivityB t28}
Task id #27
* TaskRecord{4f29769 #27 A=com.wp.launchmode U=0 sz=1}
* Hist #0: ActivityRecord{a0bc5f0 u0 com.wp.launchmode/.ActivityA t27}
Stack #0: