Skip to content
Commit beafcf15 authored by Jeremy Sim's avatar Jeremy Sim
Browse files

Fix bug with drag-to-split involving work profiles

This patch fixes a bug where the user would unexpectedly create a split with the work profile version of an app when intending to split with the personal profile version.

The bug occurred because RecentTasksController#findTaskInBackground only checked for ComponentName equality, not for userId equality. So when dragging to split, it would accidentally find the background (work) version of the task instead of creating a new (personal) one.

Fixed by adding a check for userId equality.

Fixes: 283021596
Test: Manual
Change-Id: I128f93267af57a74f5a6237d4ad3b841ca194499
parent 3376f686
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