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

Commit 09fc7f60 authored by Biswarup Pal's avatar Biswarup Pal
Browse files

Do not allow apps having shared uid with system to access VD settings

Apps such as Settings have shared uid with system_server, so
SettingsProvider allows them to access device-aware settings.
This change fixes that by putting an additonal check for
package name.

Test: atest SettingsProviderTest
Fixes: 436181324
Flag: android.companion.virtualdevice.flags.device_aware_settings_override
Change-Id: Ie9138e4fc133bc43cb817d4f238208bc5194c960
parent a45e410c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment