From 549205bdd281d1753e8634aa5c52e84404998fe8 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 14 Feb 2013 13:38:45 -0500 Subject: [PATCH] Android: Asset manager just expects the file name and not the full path. --- android/BOINC/src/edu/berkeley/boinc/client/Monitor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/BOINC/src/edu/berkeley/boinc/client/Monitor.java b/android/BOINC/src/edu/berkeley/boinc/client/Monitor.java index 94ed740c16..4aba7d1a5f 100644 --- a/android/BOINC/src/edu/berkeley/boinc/client/Monitor.java +++ b/android/BOINC/src/edu/berkeley/boinc/client/Monitor.java @@ -631,7 +631,7 @@ public class Monitor extends Service { } //copy client from assets to clientPath - InputStream asset = getApplicationContext().getAssets().open(clientPath + file); + InputStream asset = getApplicationContext().getAssets().open(file); OutputStream targetData = new FileOutputStream(target); b = new byte [1024]; while((read = asset.read(b)) != -1){