summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author hyunhae.lee <hyunhae.lee@gmail.com> 2019-07-19 22:08:41 +0900
committer hyunhae.lee <hyunhae.lee@gmail.com> 2019-07-19 22:42:18 +0900
commit75fdafaafb959e65522f1594f12f32feddbae222 (patch)
treeedd9e03f269bf7d122f2ac9abe8d21072ca9ef1e
parentb5958c7c49f8fff85d293664b709559b1dd9e770 (diff)
Fix lint error getSystemService for EuiccManager
EuiccManager was open to public API. However @ServiceName does not have Context.EUICC_SERVICE. It makes lint error when calling getSystemService. Test: Build Change-Id: I2e28725b1ad4c07ada4e3181fa9a8a41789680f6
-rw-r--r--core/java/android/content/Context.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index 99ff53dcb904..4ab8c5fcf820 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -3037,6 +3037,7 @@ public abstract class Context {
TELEPHONY_SERVICE,
TELEPHONY_SUBSCRIPTION_SERVICE,
CARRIER_CONFIG_SERVICE,
+ EUICC_SERVICE,
TELECOM_SERVICE,
CLIPBOARD_SERVICE,
INPUT_METHOD_SERVICE,
@@ -3216,6 +3217,8 @@ public abstract class Context {
* @see android.telephony.SubscriptionManager
* @see #CARRIER_CONFIG_SERVICE
* @see android.telephony.CarrierConfigManager
+ * @see #EUICC_SERVICE
+ * @see android.telephony.euicc.EuiccManager
* @see #INPUT_METHOD_SERVICE
* @see android.view.inputmethod.InputMethodManager
* @see #UI_MODE_SERVICE