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

Skip to content
Commit 41426f90 authored by Gil Cukierman's avatar Gil Cukierman
Browse files

Fix testInitializationFromDb

This test was previously passing without the correct permissions, since it just so happened that the instrumentation target's PhoneFactory wasn't initialized.

Instead of relying on the instrumentation context directly, rely on the
TelephonyTest ContextFixture, which already handles privileged phone state read permissions, which are expected by the internal telephony framework.

Bug: 267186351
Fixes: 267186351
Test: atest GsmCdmaPhoneTest InboundSmsTrackerTest
Change-Id: I323d11f84726a403af7af71399ad01d62c52e517
parent 55637423
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