OSDN Git Service

Enhance adding subscription logs
authorsqian <shuoq@google.com>
Tue, 8 May 2018 21:11:11 +0000 (14:11 -0700)
committerShuo Qian <shuoq@google.com>
Tue, 8 May 2018 21:19:16 +0000 (21:19 +0000)
Bug: 79428110
Test: Manual
Change-Id: Ie77128f447ad0628336b2af38344d2d7a07f1eab

telephony/java/android/telephony/SubscriptionManager.java

index a9389be..ece646c 100644 (file)
@@ -1016,6 +1016,8 @@ public class SubscriptionManager {
             if (iSub != null) {
                 // FIXME: This returns 1 on success, 0 on error should should we return it?
                 iSub.addSubInfoRecord(iccId, slotIndex);
+            } else {
+                logd("[addSubscriptionInfoRecord]- ISub service is null");
             }
         } catch (RemoteException ex) {
             // ignore it