Enabled more aggressive optimizations for all apps and libs

This commit is contained in:
pelya
2010-11-02 12:35:21 +02:00
parent 5c8e55a843
commit 9e2d61c75b
25 changed files with 28 additions and 24 deletions

View File

@@ -276,6 +276,10 @@ class DataDownloader extends Thread
{
try {
stream = new CountingInputStream(Parent.getAssets().open(url));
while( stream.skip(65536) > 0 ) { };
totalLen = stream.getBytesRead();
stream.close();
stream = new CountingInputStream(Parent.getAssets().open(url));
} catch( IOException e ) {
Status.setText( res.getString(R.string.error_dl_from, url) );
return false;