mirror of https://github.com/BOINC/boinc.git
Android: Asset manager just expects the file name and not the full path.
This commit is contained in:
parent
f8a25cf2b2
commit
549205bdd2
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue