X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/cc1eb7a352525e956e95e8dfd910c6c86edbab2c..8e36e7cc3e6218ccb80ee2af3eb0a19df24e339f:/src/com/owncloud/android/ui/dialog/SslValidatorDialog.java diff --git a/src/com/owncloud/android/ui/dialog/SslValidatorDialog.java b/src/com/owncloud/android/ui/dialog/SslValidatorDialog.java index f67968ad..201fd7e1 100644 --- a/src/com/owncloud/android/ui/dialog/SslValidatorDialog.java +++ b/src/com/owncloud/android/ui/dialog/SslValidatorDialog.java @@ -1,9 +1,9 @@ /* ownCloud Android client application - * Copyright (C) 2011 Bartek Przybylski + * Copyright (C) 2012-2013 ownCloud Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or + * the Free Software Foundation, either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -15,6 +15,7 @@ * along with this program. If not, see . * */ + package com.owncloud.android.ui.dialog; import java.io.IOException; @@ -37,6 +38,7 @@ import android.view.Window; import android.widget.Button; import android.widget.TextView; +import com.owncloud.android.Log_OC; import com.owncloud.android.R; import com.owncloud.android.network.CertificateCombinedException; import com.owncloud.android.network.OwnCloudClientUtils; @@ -109,13 +111,13 @@ public class SslValidatorDialog extends Dialog { if (mListener != null) mListener.onSavedCertificate(); else - Log.d(TAG, "Nobody there to notify the certificate was saved"); + Log_OC.d(TAG, "Nobody there to notify the certificate was saved"); } catch (Exception e) { dismiss(); if (mListener != null) mListener.onFailedSavingCertificate(); - Log.e(TAG, "Server certificate could not be saved in the known servers trust store ", e); + Log_OC.e(TAG, "Server certificate could not be saved in the known servers trust store ", e); } } });