Partially revert "Ignore incorrect NewApi Lint warning for ENTERPRISE_CONTENT_URI"
This partially reverts commit dff32a90f41baed938ba1fe41b31f9a0b7a0545e.
Reason for revert: b/193460475 is fixed
Bug: 193460475
Change-Id: I01bd524ac05d8bc27ad2347d1430ad1c54a3744f
diff --git a/android/app/src/com/android/bluetooth/util/DevicePolicyUtils.java b/android/app/src/com/android/bluetooth/util/DevicePolicyUtils.java
index 5b4b3e8..b45a77b 100644
--- a/android/app/src/com/android/bluetooth/util/DevicePolicyUtils.java
+++ b/android/app/src/com/android/bluetooth/util/DevicePolicyUtils.java
@@ -16,7 +16,6 @@
package com.android.bluetooth.util;
-import android.annotation.SuppressLint;
import android.app.admin.DevicePolicyManager;
import android.content.Context;
import android.net.Uri;
@@ -48,8 +47,6 @@
* and the policy allows, it will be a URI that supports the managed profile.
*/
// TODO: Make primary profile can also support getBluetoothContactSharingDisabled()
- // TODO(b/193460475): Android Lint handles change from SystemApi to public incorrectly
- @SuppressLint("NewApi")
public static Uri getEnterprisePhoneUri(Context context) {
return isBluetoothWorkContactSharingDisabled(context) ? Phone.CONTENT_URI
: Phone.ENTERPRISE_CONTENT_URI;