Added patch from upstream [1] to fix build error cannot find symbol List<?>
[1] 2bbe83057b
This commit is contained in:
parent
11c1cccc3e
commit
48a495ae86
|
@ -111,9 +111,9 @@ Build:2.5.1,85
|
||||||
echo wp.GCM_ID="wordpress" >> local.properties
|
echo wp.GCM_ID="wordpress" >> local.properties
|
||||||
|
|
||||||
Build:2.6 RC 2,90
|
Build:2.6 RC 2,90
|
||||||
disable=Doesn't build - ApiHelper.java:412: cannot find symbol List<?>, see: https://github.com/wordpress-mobile/WordPress-Android/issues/678
|
|
||||||
commit=2.6-rc-2
|
commit=2.6-rc-2
|
||||||
gradle=yes
|
gradle=yes
|
||||||
|
patch=list.patch
|
||||||
prebuild=cp local.properties-example local.properties && \
|
prebuild=cp local.properties-example local.properties && \
|
||||||
sed -e "/sdk.dir/ s#.*#sdk.dir=$$SDK$$#" -i local.properties
|
sed -e "/sdk.dir/ s#.*#sdk.dir=$$SDK$$#" -i local.properties
|
||||||
|
|
||||||
|
|
22
metadata/org.wordpress.android/list.patch
Normal file
22
metadata/org.wordpress.android/list.patch
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
diff --git a/src/org/xmlrpc/android/ApiHelper.java b/src/org/xmlrpc/android/ApiHelper.java
|
||||||
|
index fcdd0b3..44e88a9 100644
|
||||||
|
--- a/src/org/xmlrpc/android/ApiHelper.java
|
||||||
|
+++ b/src/org/xmlrpc/android/ApiHelper.java
|
||||||
|
@@ -144,7 +144,7 @@ public class ApiHelper {
|
||||||
|
public void onSuccess();
|
||||||
|
}
|
||||||
|
|
||||||
|
- public static class GetPostFormatsTask extends HelperAsyncTask<List<?>, Void, Object> {
|
||||||
|
+ public static class GetPostFormatsTask extends HelperAsyncTask<java.util.List<?>, Void, Object> {
|
||||||
|
private Blog mBlog;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@@ -409,7 +409,7 @@ public class ApiHelper {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- public static class SyncMediaLibraryTask extends HelperAsyncTask<List<?>, Void, Integer> {
|
||||||
|
+ public static class SyncMediaLibraryTask extends HelperAsyncTask<java.util.List<?>, Void, Integer> {
|
||||||
|
public interface Callback extends GenericErrorCallback {
|
||||||
|
public void onSuccess(int results);
|
||||||
|
}
|
Loading…
Reference in a new issue