mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 19:42:17 +02:00
1.0.2
This commit is contained in:
parent
430e07e309
commit
536aa6fafa
4 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.geometerplus.zlibrary.ui.android" android:versionCode="10002" android:versionName="1.0.2" android:installLocation="auto">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.geometerplus.zlibrary.ui.android" android:versionCode="10003" android:versionName="1.0.2" android:installLocation="auto">
|
||||
<uses-sdk android:minSdkVersion="4" />
|
||||
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* Animation fixes
|
||||
* Animation speed-up
|
||||
* Fixed initial menu item set
|
||||
* Fixed image scaling
|
||||
|
||||
===== 1.0.1 (Apr 05, 2011) =====
|
||||
* Fixed first scrolling direction
|
||||
|
|
|
@ -19,7 +19,7 @@ updateVersion() {
|
|||
if [ "$micro" == "" ]; then
|
||||
micro=0
|
||||
fi
|
||||
intversion=$((10000*$major+100*$minor+$micro))
|
||||
intversion=$((10000*$major+100*$minor+$micro+1))
|
||||
sed "s/@INTVERSION@/$intversion/" AndroidManifest.xml.pattern | sed "s/@VERSION@/$version/" > AndroidManifest.xml
|
||||
}
|
||||
|
||||
|
|
|
@ -21,8 +21,7 @@ package org.geometerplus.zlibrary.ui.android.image;
|
|||
|
||||
import java.io.InputStream;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.graphics.*;
|
||||
|
||||
import org.geometerplus.zlibrary.core.image.ZLSingleImage;
|
||||
|
||||
|
@ -35,6 +34,6 @@ final class InputStreamImageData extends ZLAndroidImageData {
|
|||
|
||||
protected Bitmap decodeWithOptions(BitmapFactory.Options options) {
|
||||
final InputStream stream = myImage.inputStream();
|
||||
return stream != null ? BitmapFactory.decodeStream(stream) : null;
|
||||
return stream != null ? BitmapFactory.decodeStream(stream, new Rect(), options) : null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue