diff options
author | Jeff Chang <chengjeff@google.com> | 2021-02-22 16:16:33 +0800 |
---|---|---|
committer | Jeff Chang <chengjeff@google.com> | 2021-02-22 16:16:33 +0800 |
commit | fd6a81c1266466730ee6b6f7c50f5111fd35a15c (patch) | |
tree | 0329148c44c949780bf9aebfc2198d868fbfc7a1 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | c1d7c4d6ab76715d928b487dc40a552f74ebfdb6 (diff) |
Make singleTop activity be created with different display
If an instance of the activity already exists at the top of the
current task, the system routes the intent to that instance,
rather than creating a new instance of the activity. The top
task is examined from the global focused stack.
This CL checks the existing singleTop instance just from the
launching display.
Bug: 175098384
Test: atest ActivityStarterTests
atest IntentTests
atest MultiDisplayActivityLaunchTests
Change-Id: Ia0ffe6b8de6bcae738e273b998fd275e70d741cc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions