Merge "Extend light-greylist of some TelephonyManager APIs until Q."
am: 0bb3c6bb93
Change-Id: I98739ce5d5210437df0618d14a6923ce92bccf03
This commit is contained in:
@@ -8276,7 +8276,7 @@ public class TelephonyManager {
|
||||
* @see SubscriptionManager#getDefaultSubscriptionId()
|
||||
* @hide
|
||||
*/
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
|
||||
@UnsupportedAppUsage
|
||||
public boolean isVolteAvailable() {
|
||||
try {
|
||||
return getITelephony().isAvailable(getSubId(),
|
||||
@@ -8295,7 +8295,7 @@ public class TelephonyManager {
|
||||
* @return true if VT is available, or false if it is unavailable or unknown.
|
||||
* @hide
|
||||
*/
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
|
||||
@UnsupportedAppUsage
|
||||
public boolean isVideoTelephonyAvailable() {
|
||||
try {
|
||||
return getITelephony().isVideoTelephonyAvailable(getSubId());
|
||||
@@ -8310,7 +8310,7 @@ public class TelephonyManager {
|
||||
* @return true if VoWiFi is available, or false if it is unavailable or unknown.
|
||||
* @hide
|
||||
*/
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.P)
|
||||
@UnsupportedAppUsage
|
||||
public boolean isWifiCallingAvailable() {
|
||||
try {
|
||||
return getITelephony().isWifiCallingAvailable(getSubId());
|
||||
|
||||
Reference in New Issue
Block a user