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