From 2fb31bcc3f9e4920891765ab8e0cf2e33227ea3e Mon Sep 17 00:00:00 2001 From: steckbrief Date: Thu, 17 Dec 2015 21:09:18 +0100 Subject: Log error in case logcat command could not be executed; Show toast in case nothing is copied --- .../java/de/thedevstack/conversationsplus/ui/LogCatOutputActivity.java | 2 +- src/main/res/values-de/strings.xml | 1 + src/main/res/values/strings.xml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/de/thedevstack/conversationsplus/ui/LogCatOutputActivity.java b/src/main/java/de/thedevstack/conversationsplus/ui/LogCatOutputActivity.java index e75c1f63..d15b59c6 100644 --- a/src/main/java/de/thedevstack/conversationsplus/ui/LogCatOutputActivity.java +++ b/src/main/java/de/thedevstack/conversationsplus/ui/LogCatOutputActivity.java @@ -23,6 +23,6 @@ public class LogCatOutputActivity extends Activity { lv.setAdapter(logCatOutputAdapter); new ReadLogCatAsyncTask(logCatOutputAdapter).execute(); Button copyButton = (Button) findViewById(R.id.actLogOutputCopyButton); - copyButton.setOnClickListener(new LogCatOutputCopyOnClickListener(this, logCatOutputAdapter, R.string.cplus_copied_to_clipboard)); + copyButton.setOnClickListener(new LogCatOutputCopyOnClickListener(this, logCatOutputAdapter, R.string.cplus_copied_to_clipboard, R.string.cplus_not_copied_to_clipboard_empty)); } } diff --git a/src/main/res/values-de/strings.xml b/src/main/res/values-de/strings.xml index e6f6273e..617aedd3 100644 --- a/src/main/res/values-de/strings.xml +++ b/src/main/res/values-de/strings.xml @@ -510,4 +510,5 @@ Ordnername, um eingehende Bilder zu speichern Unterordner des globalen Bilderordners, um eingehende Bilder zu speichern. Dateiübertragung + Nichts zu kopieren. diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 3431e831..62644175 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -543,4 +543,5 @@ Folder to save incoming pictures This is the subdirectory in the pictures directory for incoming files. File Transfer + Nothing to copy. -- cgit v1.2.3