From f0d8c896c7f0d40bb36a05a87fc3c56bfeddc9f1 Mon Sep 17 00:00:00 2001 From: Jeff Davidson Date: Tue, 13 Jun 2017 12:39:59 -0700 Subject: [PATCH] Define a meta-data attribute for a carrier icon. This is just a centralized key that a carrier app and various eSIM infrastructure can agree upon. It may be used to allow the carrier app to show a custom icon instead of its launcher icon when some UI is rendering the identity of the carrier. Use of this meta-data is entirely up to callers. Fixes: 62580015 Test: TreeHugger Change-Id: Iaaab8cb8b5108d92b8f687d213daa7917f53fe65 --- telephony/java/android/telephony/euicc/EuiccManager.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/telephony/java/android/telephony/euicc/EuiccManager.java b/telephony/java/android/telephony/euicc/EuiccManager.java index be32f72fe1452..86792c86d3839 100644 --- a/telephony/java/android/telephony/euicc/EuiccManager.java +++ b/telephony/java/android/telephony/euicc/EuiccManager.java @@ -156,6 +156,12 @@ public class EuiccManager { public static final String EXTRA_EMBEDDED_SUBSCRIPTION_RESOLUTION_CALLBACK_INTENT = "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_RESOLUTION_CALLBACK_INTENT"; + /** + * Optional meta-data attribute for a carrier app providing an icon to use to represent the + * carrier. If not provided, the app's launcher icon will be used as a fallback. + */ + public static final String META_DATA_CARRIER_ICON = "android.telephony.euicc.carriericon"; + private final Context mContext; private final IEuiccController mController;