ClassyTaxiJava/app/src/main/java/com/sample/android/classytaxijava/ui/SubscriptionBindingAdapter.java [137:152]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (subscriptions != null) {
            for (SubscriptionStatus subscription : subscriptions) {
                if (BillingUtilities.isSubscriptionRestore(subscription)) {
                    Log.d(TAG, "restore VISIBLE");
                    restoreMsg.setVisibility(View.VISIBLE);
                    String expiryDate = getHumanReadableDate(subscription.getActiveUntilMillisec());
                    restoreMsg.setText(view.getResources()
                            .getString(R.string.restore_message_with_date, expiryDate));
                    paywallMsg.setVisibility(View.GONE); // Paywall gone.
                }
                if (BillingUtilities.isGracePeriod(subscription)) {
                    Log.d(TAG, "grace period VISIBLE");
                    gracePeriodMsg.setVisibility(View.VISIBLE);
                    paywallMsg.setVisibility(View.GONE); // Paywall gone.
                }
                if (BillingUtilities.isTransferRequired(subscription)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



ClassyTaxiJava/app/src/main/java/com/sample/android/classytaxijava/ui/SubscriptionBindingAdapter.java [219:234]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        if (subscriptions != null) {
            for (SubscriptionStatus subscription : subscriptions) {
                if (BillingUtilities.isSubscriptionRestore(subscription)) {
                    Log.d(TAG, "restore VISIBLE");
                    restoreMsg.setVisibility(View.VISIBLE);
                    String expiryDate = getHumanReadableDate(subscription.getActiveUntilMillisec());
                    restoreMsg.setText(view.getResources()
                            .getString(R.string.restore_message_with_date, expiryDate));
                    paywallMsg.setVisibility(View.GONE); // Paywall gone.
                }
                if (BillingUtilities.isGracePeriod(subscription)) {
                    Log.d(TAG, "grace period VISIBLE");
                    gracePeriodMsg.setVisibility(View.VISIBLE);
                    paywallMsg.setVisibility(View.GONE); // Paywall gone.
                }
                if (BillingUtilities.isTransferRequired(subscription)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



