Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 09074b74 authored by Tony Mak's avatar Tony Mak
Browse files

Do not pass assist data and screenshot to VIS if one of the windows is from private profile

Check if there is any window on the current display is coming from
the private profile, if so, do not allow passing the data to VIS.

Bug: 323128958

Test: Added tests in android.voiceinteraction.cts.VoiceInteractionServiceTest
Test: Manual. Write a simple VIS app for testing.
1. Trigger the VIS test app when the personal app is in foreground.
The VIS app can get the data.

2. Trigger the VIS test app when the private space app is in foreground.
The VIS app cannot get the data.

3. Enables split screen. One app from personal and one app from private
space. The VIS cannot get the data.

Change-Id: Ic0490ff8da6fd74ab8c762fee13e1822abdf8acd
parent 4ad87918
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