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
Loading
Please register or sign in to comment