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

Skip to content
Commit 59579fdc authored by Sandro's avatar Sandro
Browse files

Modify instr and app context for sdk-in-sandbox instrumented tests

Currently, test instrumentation running with the sdk-in-sandbox flag
returns the following
 * getTargetContext() -> sdk-in-sanbdox context,
 * getContext() -> test context.

When running a sdk-in-sandbox instrumented test, we only care about the
sdk-in-sandbox context. With this cl, test instrumentation running with
the sdk-in-sandbox flag returns
 * getTargetContext() -> sdk-in-sandbox context,
 * getContext() -> sdk-in-sandbox context.

The following link shows a diff of the two contexts before (left) and
after (right) this change
go/sdk-instrumentation-contexts-diff

Bug: 271270588
Test: atest CtsSdkSandboxInprocessTests
Change-Id: I4007392b6422b15755ce6e0c0262a00fd8067882
parent d3548350
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