Browse Source

Release 1.1.0

master v1.1.0
mar-v-in 8 years ago
parent
commit
26d9c42977
  1. 4
      safe-parcel/build.gradle
  2. 2
      safe-parcel/gradle.properties
  3. 8
      safe-parcel/src/main/AndroidManifest.xml
  4. 6
      safe-parcel/src/main/java/org/microg/safeparcel/SafeParcelUtil.java

4
safe-parcel/build.gradle

@ -3,7 +3,7 @@ buildscript { @@ -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' @@ -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

2
safe-parcel/gradle.properties

@ -1,6 +1,6 @@ @@ -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

8
safe-parcel/src/main/AndroidManifest.xml

@ -1,4 +1,8 @@ @@ -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>

6
safe-parcel/src/main/java/org/microg/safeparcel/SafeParcelUtil.java

@ -175,12 +175,10 @@ public class SafeParcelUtil { @@ -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)));

Loading…
Cancel
Save