Release 1.1.0

This commit is contained in:
mar-v-in 2015-04-11 13:39:51 +02:00
parent 7d4dec14e8
commit 26d9c42977
4 changed files with 11 additions and 9 deletions

View File

@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.1.3'
}
}
@ -11,7 +11,7 @@ apply plugin: 'com.android.library'
apply from: 'gradle-mvn-push.gradle'
group = 'org.microg'
version = '1.1-SNAPSHOT'
version = '1.1.0'
android {
compileSdkVersion 22

View File

@ -1,6 +1,6 @@
GROUP=org.microg
POM_ARTIFACT_ID=safe-parcel
VERSION_NAME=1.1-SNAPSHOT
VERSION_NAME=1.1.0
POM_NAME=µg SafeParcel
POM_DESCRIPTION=Easy-to-use implementation of the "SafeParcel" format used for IPC in Play Services

View File

@ -1,4 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="org.microg.safeparcel">
<!-- This is not needed, it's just here to stop build systems from complaining -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.microg.safeparcel">
<uses-sdk
android:minSdkVersion="9"
android:targetSdkVersion="22" />
</manifest>

View File

@ -175,12 +175,10 @@ public class SafeParcelUtil {
field.setAccessible(true);
switch (SafeParcelType.fromClass(field.getType())) {
case Parcelable:
field.set(object, SafeParcelReader
.readParcelable(parcel, position, getCreator(field)));
field.set(object, SafeParcelReader.readParcelable(parcel, position, getCreator(field)));
break;
case Binder:
field.set(object, SafeParcelReader.readBinder(parcel,
position));
field.set(object, SafeParcelReader.readBinder(parcel, position));
break;
case List:
field.set(object, SafeParcelReader.readList(parcel, position, getClassLoader(field)));