From 77aad54173617f08c778ce054869d359631bc41d Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Mon, 26 May 2014 15:43:23 -0700 Subject: Possible fix for some devices not sending a log getPath might be returning a relative path sometimes. --- src/github/daneren2005/dsub/fragments/MainFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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()])); -- cgit v1.2.3