// Constructor
 private CdmaSubscriptionSourceManager(Context context, CommandsInterface ci) {
   mContext = context;
   mCM = ci;
   mCM.registerForCdmaSubscriptionChanged(this, EVENT_CDMA_SUBSCRIPTION_SOURCE_CHANGED, null);
   mCM.registerForOn(this, EVENT_RADIO_ON, null);
   mCM.registerForSubscriptionStatusChanged(this, EVENT_SUBSCRIPTION_STATUS_CHANGED, null);
   getDefaultCdmaSubscriptionSource();
 }
 // Hide constructor
 private CdmaSubscriptionSourceManager(Context context, CommandsInterface ci) {
   if (context == null) {
     Log.w(LOG_TAG, "Context shouldn't be null");
   } else {
     mContext = context;
     getDefaultCdmaSubscriptionSource();
   }
   if (ci == null) {
     Log.w(LOG_TAG, "CommandsInterface shouldn't be null");
   } else {
     mCM = ci;
     mCM.registerForCdmaSubscriptionSourceChanged(
         this, EVENT_CDMA_SUBSCRIPTION_SOURCE_CHANGED, null);
     mCM.registerForOn(this, EVENT_RADIO_ON, null);
     mCM.registerForSubscriptionStatusChanged(this, EVENT_SUBSCRIPTION_STATUS_CHANGED, null);
   }
 }