summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-12-24 17:57:57 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-12-24 11:32:33 +0000
commit8d5de97b83130686c83fed2f13dacea1bd7419eb (patch)
tree2f449d6ad4e61d15144c0803868d4e04ad243acf /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta0334be887757324e671e09e4563034704c66fb0 (diff)
Fix result code of launching existing activity in split
Since all secondary leaf tasks will be reparented to the organizer created task, when launching an existing task in background in split-screen mode, the root task mTargetStack is always the organizer created task which is always the top of display area. Then mMovedToFront is always set to false. This may cause missing some launch metrics in split-screen because ActivityMetricsLogger won't count the number for result code START_DELIVERED_TO_TOP. The test testSplitScreenTaskToFront didn't catch the problem because it still creates tasks in the old way (multiple split secondary root tasks under display area) which doesn't exist in current design. Fixes: 176277089 Test: ActivityStarterTests#testSplitScreenDeliverToTop ActivityStarterTests#testSplitScreenTaskToFront Change-Id: I6bdb1faf8f7dbfb1e8a6f75279b87ffc9072fb31
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions