aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2014-05-26 15:43:23 -0700
committerdaneren2005 <daneren2005@gmail.com>2014-05-26 15:43:23 -0700
commit77aad54173617f08c778ce054869d359631bc41d (patch)
tree729a57599c689cf67ad8a89243cb8f6e8e085024 /src/github/daneren2005
parent526edd437b0e7fa9deb54f6598ecf9e569c88654 (diff)
downloaddsub-77aad54173617f08c778ce054869d359631bc41d.tar.gz
dsub-77aad54173617f08c778ce054869d359631bc41d.tar.bz2
dsub-77aad54173617f08c778ce054869d359631bc41d.zip
Possible fix for some devices not sending a log
getPath might be returning a relative path sometimes.
Diffstat (limited to 'src/github/daneren2005')
-rw-r--r--src/github/daneren2005/dsub/fragments/MainFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/fragments/MainFragment.java b/src/github/daneren2005/dsub/fragments/MainFragment.java
index c9bbf850..396c577b 100644
--- a/src/github/daneren2005/dsub/fragments/MainFragment.java
+++ b/src/github/daneren2005/dsub/fragments/MainFragment.java
@@ -368,7 +368,7 @@ public class MainFragment extends SubsonicFragment {
progs.add("time");
progs.add("-d");
progs.add("-f");
- progs.add(logcat.getPath());
+ progs.add(logcat.getCanonicalPath());
progs.add("*:I");
logcatProc = Runtime.getRuntime().exec(progs.toArray(new String[progs.size()]));