projects
/
pub
/
Android
/
ownCloud.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
30c00ae
)
Change log messages for using our logger in all logs
author
jabarros
<jabarros@solidgear.es>
Wed, 10 Sep 2014 06:49:41 +0000
(08:49 +0200)
committer
jabarros
<jabarros@solidgear.es>
Wed, 10 Sep 2014 06:49:41 +0000
(08:49 +0200)
src/com/owncloud/android/ui/activity/FileDisplayActivity.java
patch
|
blob
|
blame
|
history
src/com/owncloud/android/ui/activity/LogHistoryActivity.java
patch
|
blob
|
blame
|
history
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
patch
|
blob
|
blame
|
history
src/com/owncloud/android/ui/preview/PreviewImagePagerAdapter.java
patch
|
blob
|
blame
|
history
diff --git
a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java
b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java
index
6a9bc49
..
59676c8
100644
(file)
--- a/
src/com/owncloud/android/ui/activity/FileDisplayActivity.java
+++ b/
src/com/owncloud/android/ui/activity/FileDisplayActivity.java
@@
-289,7
+289,7
@@
FileFragment.ContainerActivity, OnNavigationListener, OnSslUntrustedCertListener
if (listOfFiles != null) {
listOfFiles.listDirectory(getCurrentDir());
} else {
if (listOfFiles != null) {
listOfFiles.listDirectory(getCurrentDir());
} else {
- Log.e(TAG, "Still have a chance to lose the initializacion of list fragment >(");
+ Log
_OC
.e(TAG, "Still have a chance to lose the initializacion of list fragment >(");
}
/// Second fragment
}
/// Second fragment
@@
-305,12
+305,12
@@
FileFragment.ContainerActivity, OnNavigationListener, OnSslUntrustedCertListener
}
} else {
}
} else {
- Log.wtf(TAG, "initFragments() called with invalid NULLs!");
+ Log
_OC
.wtf(TAG, "initFragments() called with invalid NULLs!");
if (getAccount() == null) {
if (getAccount() == null) {
- Log.wtf(TAG, "\t account is NULL");
+ Log
_OC
.wtf(TAG, "\t account is NULL");
}
if (getFile() == null) {
}
if (getFile() == null) {
- Log.wtf(TAG, "\t file is NULL");
+ Log
_OC
.wtf(TAG, "\t file is NULL");
}
}
}
}
}
}
@@
-1012,7
+1012,7
@@
FileFragment.ContainerActivity, OnNavigationListener, OnSslUntrustedCertListener
}
ocFileListFragment.setMessageForEmptyList(getString(message));
} else {
}
ocFileListFragment.setMessageForEmptyList(getString(message));
} else {
- Log.e(TAG, "OCFileListFragment is null");
+ Log
_OC
.e(TAG, "OCFileListFragment is null");
}
}
}
}
diff --git
a/src/com/owncloud/android/ui/activity/LogHistoryActivity.java
b/src/com/owncloud/android/ui/activity/LogHistoryActivity.java
index
86fd059
..
0231222
100644
(file)
--- a/
src/com/owncloud/android/ui/activity/LogHistoryActivity.java
+++ b/
src/com/owncloud/android/ui/activity/LogHistoryActivity.java
@@
-26,7
+26,6
@@
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.net.Uri;
import android.os.Bundle;
-import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
@@
-153,7
+152,6
@@
public class LogHistoryActivity extends SherlockActivity {
}
}
-
TextView logTV = (TextView) findViewById(R.id.logTV);
logTV.setText(text);
}
TextView logTV = (TextView) findViewById(R.id.logTV);
logTV.setText(text);
}
diff --git
a/src/com/owncloud/android/ui/preview/PreviewImageActivity.java
b/src/com/owncloud/android/ui/preview/PreviewImageActivity.java
index
36f468e
..
9acf754
100644
(file)
--- a/
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
+++ b/
src/com/owncloud/android/ui/preview/PreviewImageActivity.java
@@
-320,7
+320,7
@@
ViewPager.OnPageChangeListener, OnRemoteOperationListener {
@Override
protected void onResume() {
super.onResume();
@Override
protected void onResume() {
super.onResume();
- //Log.e(TAG, "ACTIVITY, ONRESUME");
+ //Log
_OC
.e(TAG, "ACTIVITY, ONRESUME");
mDownloadFinishReceiver = new DownloadFinishReceiver();
IntentFilter filter = new IntentFilter(FileDownloader.getDownloadFinishMessage());
mDownloadFinishReceiver = new DownloadFinishReceiver();
IntentFilter filter = new IntentFilter(FileDownloader.getDownloadFinishMessage());
@@
-330,7
+330,7
@@
ViewPager.OnPageChangeListener, OnRemoteOperationListener {
@Override
protected void onPostResume() {
@Override
protected void onPostResume() {
- //Log.e(TAG, "ACTIVITY, ONPOSTRESUME");
+ //Log
_OC
.e(TAG, "ACTIVITY, ONPOSTRESUME");
super.onPostResume();
}
super.onPostResume();
}
diff --git
a/src/com/owncloud/android/ui/preview/PreviewImagePagerAdapter.java
b/src/com/owncloud/android/ui/preview/PreviewImagePagerAdapter.java
index
2b9fffa
..
f2a9a9b
100644
(file)
--- a/
src/com/owncloud/android/ui/preview/PreviewImagePagerAdapter.java
+++ b/
src/com/owncloud/android/ui/preview/PreviewImagePagerAdapter.java
@@
-199,17
+199,17
@@
public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
*- /
@Override
public void startUpdate(ViewGroup container) {
*- /
@Override
public void startUpdate(ViewGroup container) {
- Log.e(TAG, "** startUpdate");
+ Log
_OC
.e(TAG, "** startUpdate");
}
@Override
public Object instantiateItem(ViewGroup container, int position) {
}
@Override
public Object instantiateItem(ViewGroup container, int position) {
- Log.e(TAG, "** instantiateItem " + position);
+ Log
_OC
.e(TAG, "** instantiateItem " + position);
if (mFragments.size() > position) {
Fragment fragment = mFragments.get(position);
if (fragment != null) {
if (mFragments.size() > position) {
Fragment fragment = mFragments.get(position);
if (fragment != null) {
- Log.e(TAG, "** \t returning cached item");
+ Log
_OC
.e(TAG, "** \t returning cached item");
return fragment;
}
}
return fragment;
}
}
@@
-235,7
+235,7
@@
public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
}
fragment.setMenuVisibility(false);
mFragments.set(position, fragment);
}
fragment.setMenuVisibility(false);
mFragments.set(position, fragment);
- //Log.e(TAG, "** \t adding fragment at position " + position + ", containerId " + container.getId());
+ //Log
_OC
.e(TAG, "** \t adding fragment at position " + position + ", containerId " + container.getId());
mCurTransaction.add(container.getId(), fragment);
return fragment;
mCurTransaction.add(container.getId(), fragment);
return fragment;
@@
-243,13
+243,13
@@
public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
@Override
public void destroyItem(ViewGroup container, int position, Object object) {
@Override
public void destroyItem(ViewGroup container, int position, Object object) {
- Log.e(TAG, "** destroyItem " + position);
+ Log
_OC
.e(TAG, "** destroyItem " + position);
Fragment fragment = (Fragment)object;
if (mCurTransaction == null) {
mCurTransaction = mFragmentManager.beginTransaction();
}
Fragment fragment = (Fragment)object;
if (mCurTransaction == null) {
mCurTransaction = mFragmentManager.beginTransaction();
}
- Log.e(TAG, "** \t removing fragment at position " + position);
+ Log
_OC
.e(TAG, "** \t removing fragment at position " + position);
while (mSavedState.size() <= position) {
mSavedState.add(null);
}
while (mSavedState.size() <= position) {
mSavedState.add(null);
}
@@
-275,13
+275,13
@@
public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
@Override
public void finishUpdate(ViewGroup container) {
@Override
public void finishUpdate(ViewGroup container) {
- Log.e(TAG, "** finishUpdate (start)");
+ Log
_OC
.e(TAG, "** finishUpdate (start)");
if (mCurTransaction != null) {
mCurTransaction.commitAllowingStateLoss();
mCurTransaction = null;
mFragmentManager.executePendingTransactions();
}
if (mCurTransaction != null) {
mCurTransaction.commitAllowingStateLoss();
mCurTransaction = null;
mFragmentManager.executePendingTransactions();
}
- Log.e(TAG, "** finishUpdate (end)");
+ Log
_OC
.e(TAG, "** finishUpdate (end)");
}
@Override
}
@Override
@@
-336,7
+336,7
@@
public class PreviewImagePagerAdapter extends FragmentStatePagerAdapter {
f.setMenuVisibility(false);
mFragments.set(index, f);
} else {
f.setMenuVisibility(false);
mFragments.set(index, f);
} else {
- Log.w(TAG, "Bad fragment at key " + key);
+ Log
_OC
.w(TAG, "Bad fragment at key " + key);
}
}
}
}
}
}