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

Skip to content
Commit 8ad88302 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Backport isVoiceCapable() using getPhoneType()

isVoiceCapable() was unhidden in API 22. We couldn't copy the code to
backport it because the app doesn't have access to
com.android.internal.R.bool.config_voice_capable. So we use getPhoneType()
as a workaround since it also calls isVoiceCapable().

Bug: 25629359

Change-Id: Ia117823ae871c7132014d10c5475eba5dbfda009
parent 0f8dbd85
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