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

Commit b68bb548 authored by Biswarup Pal's avatar Biswarup Pal
Browse files

Fix SettingsProviderTest

ag/33400265 had added the explicit passing of UserHandle.SYSTEM
as the default userId during "put" calls via shell, but not during
"reset" calls. When userId is not present in shell command, settings
service falls back to the current user. As a result, tests which
call "put" and "reset" end up affecting different userIds in HSUM
devices. This change fixes that by not passing any default userId
during "put" calls via shell.

Flag: EXEMPT test fix
Fixes: 415912406
Test: atest SettingsProviderTest
Change-Id: I5a01daa8defa3fcbc99c4471804f959dbd8a76f4
parent 67dc8e82
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