projects
/
pub
/
Android
/
ownCloud.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ic_drawer for mdpi and xhdpi
[pub/Android/ownCloud.git]
/
src
/
com
/
owncloud
/
android
/
ui
/
activity
/
Preferences.java
diff --git
a/src/com/owncloud/android/ui/activity/Preferences.java
b/src/com/owncloud/android/ui/activity/Preferences.java
index
e7e7679
..
39fc314
100644
(file)
--- a/
src/com/owncloud/android/ui/activity/Preferences.java
+++ b/
src/com/owncloud/android/ui/activity/Preferences.java
@@
-203,7
+203,7
@@
public class Preferences extends SherlockPreferenceActivity
}
}
}
}
-
+
if (BuildConfig.DEBUG) {
Preference pLog = findPreference("log");
if (pLog != null ){
if (BuildConfig.DEBUG) {
Preference pLog = findPreference("log");
if (pLog != null ){
@@
-215,7
+215,7
@@
public class Preferences extends SherlockPreferenceActivity
return true;
}
});
return true;
}
});
- }
+ }
}
boolean recommendEnabled = getResources().getBoolean(R.bool.recommend_enabled);
}
boolean recommendEnabled = getResources().getBoolean(R.bool.recommend_enabled);
@@
-236,7
+236,8
@@
public class Preferences extends SherlockPreferenceActivity
Account currentAccount = AccountUtils.getCurrentOwnCloudAccount(Preferences.this);
String username = currentAccount.name.substring(0, currentAccount.name.lastIndexOf('@'));
Account currentAccount = AccountUtils.getCurrentOwnCloudAccount(Preferences.this);
String username = currentAccount.name.substring(0, currentAccount.name.lastIndexOf('@'));
- String recommendSubject = String.format(getString(R.string.recommend_subject), appName);
+ String recommendSubject = String.format(getString(R.string.recommend_subject),
+ appName);
String recommendText = String.format(getString(R.string.recommend_text),
appName, downloadUrl, username);
String recommendText = String.format(getString(R.string.recommend_text),
appName, downloadUrl, username);