mirror of
https://github.com/moparisthebest/android_external_SafeParcel
synced 2024-12-04 14:32:17 -05:00
Release 1.1.0
This commit is contained in:
parent
7d4dec14e8
commit
26d9c42977
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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…
Reference in New Issue
Block a user