Skip to content
Commit b46c4feb authored by lumark's avatar lumark
Browse files

Fix ActivityRecord#attachCrossProfileAppsThumbnailAnimation issue

Since Cross-Profile app thumbnail animation is an transparent animation
layer which should be above SnapShotStartWindow (attached in
ActivityRecord), and the layer should be attached in its root task.

Also, use getRelativeFrameLw to get relative position of its parent for
thumbnail surface.

Fix: 149692548
Test: manual as below steps:
1. Create a work profile (e.g. via TestDPC - go/testdpc)
2. Launch a personal app that supports the CrossProfileApps API (e.g. Gmail),
   ensuring that said app is also installed in the work profile
3. Tap "Switch to work profile"
Expecting Profile switching animation background to be semi-transparent

Change-Id: Ib19f669fac891f1d9d7aa765db89538057dd6318
parent ccd4db5e
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