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

Skip to content
Commit 0d0539e9 authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Fix Telecom Test breakage due to Bluetooth permission change

BT code changed permissions to use Context#checkSelfPermission,
which caused Telecom unit tests to fail in setup() phase. This
caused a cascading issue where Logging sessions would be setup
bug never ended, causing Session recursion tests to fail when
the logging sessions were never previously cleaned up.

1) Fixed permission check mocking in tests.
2) Put bound on recursion in Session#toString to ensure we
do not hit this scenario.

Fixes: 186694546
Fixes: 186708966
AOSP: aosp/1690692
Test: atest TelecomUnitTests
Change-Id: Ibb4e2a86cccc50f23511f20c32b59af181301246
parent 6c8d16d3
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