Skip to content
Commit 5b895b73 authored by Winson Chung's avatar Winson Chung
Browse files

Removing check preventing pinned stack tasks from matching by affinity.

- As of ag/1892768, we prefer matching non-affinity matching tasks,
  followed by affinity matching tasks as long as they are on the same
  display (priority from the bottom stack up). As a result, we don't need
  to exclude the pinned stack when attempting to match by affinity, as it
  can be used later when determining the match.

Bug: 37640324
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testLaunchTaskByComponentMatchMultipleTasks
Test: #testLaunchTaskByAffinityMatchMultipleTasks
Test: #testLaunchTaskByAffinityMatchSingleTask

Change-Id: Idfe797cd51bf827876f3f0ba8ea35e1f4fcd8655
parent 1c9e549c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment