-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
isOutgoingCallPermitted
to ShadowTelecomManager
.
The method TelecomManager#isOutgoingCallPermitted returns true if it's expected that TelecomManager#placeCall will succeed, false otherwise. Here, we add a Robolectric shadow so that in Robolectric, TelecomManager#isOutgoingCallPermitted may return whatever was set with `ShadowTelecomManager#setIsOutgoingCallPermitted(boolean isOutgoingCallPermitted)`. PiperOrigin-RevId: 631846212
- Loading branch information
Googler
authored and
Copybara-Service
committed
May 8, 2024
1 parent
d383d4b
commit 3274e55
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters