OpenDelta: fix for 5.1
added missing recovery permission added setting max_winsize in decoder config Change-Id: I298d1647f0b34b30d2f3b16e5c8a9dae78b65a1e
This commit is contained in:
parent
881df48a24
commit
2c8248f9bd
|
@ -16,17 +16,18 @@
|
|||
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
||||
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
|
||||
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
||||
<uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
|
||||
<uses-permission android:name="android.permission.REBOOT" />
|
||||
|
||||
<uses-permission android:name="android.permission.RECOVERY" />
|
||||
|
||||
<application
|
||||
android:name="eu.chainfire.opendelta.Application"
|
||||
android:allowBackup="false"
|
||||
android:label="@string/app_name"
|
||||
android:theme="@style/Theme.OpenDelta"
|
||||
android:icon="@drawable/ic_launcher_settings" >
|
||||
|
||||
|
||||
<activity
|
||||
android:name="eu.chainfire.opendelta.MainActivity"
|
||||
android:label="@string/title"
|
||||
|
|
|
@ -11,3 +11,29 @@ LOCAL_C_INCLUDES += external/zlib
|
|||
LOCAL_SHARED_LIBRARIES := libz
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_CFLAGS += -Ofast
|
||||
LOCAL_MODULE := dedelta
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_SRC_FILES += xdelta3-3.0.7/xdelta3.c delta.c delta_run.c
|
||||
LOCAL_LDLIBS := -lz
|
||||
|
||||
LOCAL_C_INCLUDES += external/zlib
|
||||
LOCAL_SHARED_LIBRARIES := libz
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_CFLAGS += -Ofast
|
||||
LOCAL_MODULE := zipadjust
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_SRC_FILES += zipadjust.c zipadjust_run.c
|
||||
LOCAL_LDLIBS := -lz
|
||||
|
||||
LOCAL_C_INCLUDES += external/zlib
|
||||
LOCAL_SHARED_LIBRARIES := libz
|
||||
|
||||
include $(BUILD_EXECUTABLE)
|
|
@ -62,6 +62,7 @@ int dedelta(char* filenameSource, char* filenameDelta, char* filenameOut) {
|
|||
source.blksize = CHUNK;
|
||||
source.curblkno = (xoff_t) -1;
|
||||
source.curblk = bsource;
|
||||
source.max_winsize = CHUNK;
|
||||
|
||||
ret = xd3_set_source (&stream, &source);
|
||||
|
||||
|
|
Loading…
Reference in New Issue