mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-11 20:49:25 +01:00
0d1a1f8a9f
add osmand license note to readme Cleanup unneeded aidl and java
35 lines
662 B
Java
35 lines
662 B
Java
package net.osmand.aidlapi;
|
|
|
|
import android.os.Bundle;
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
public abstract class AidlParams implements Parcelable {
|
|
|
|
@Override
|
|
public final void writeToParcel(Parcel dest, int flags) {
|
|
Bundle bundle = new Bundle();
|
|
writeToBundle(bundle);
|
|
dest.writeBundle(bundle);
|
|
}
|
|
|
|
public final void readFromParcel(Parcel in) {
|
|
Bundle bundle = in.readBundle(getClass().getClassLoader());
|
|
if (bundle != null) {
|
|
readFromBundle(bundle);
|
|
}
|
|
}
|
|
|
|
protected void writeToBundle(Bundle bundle) {
|
|
|
|
}
|
|
|
|
protected void readFromBundle(Bundle bundle) {
|
|
|
|
}
|
|
|
|
@Override
|
|
public int describeContents() {
|
|
return 0;
|
|
}
|
|
} |