summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tony Mak <tonymak@google.com> 2024-01-25 14:09:52 +0000
committer Tony Mak <tonymak@google.com> 2024-02-01 15:43:10 +0000
commit09074b74953c442b290cfa513f80bd0c0ed6bb99 (patch)
treeb7e1b4bf7bfebddba2f47aba666c6b5c0864f2db /libs/androidfw/StringPool.cpp
parent4ad8791865b50d91eb126a059b69fa9e5400383f (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions