mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 11:59:12 +03:00
Fix / Serialization issues
Fixes keybackup import failing and UTD of incoming messages
This commit is contained in:
parent
69eaf2695e
commit
596fcf94ba
1 changed files with 16 additions and 0 deletions
16
matrix-sdk-android/proguard-rules.pro
vendored
16
matrix-sdk-android/proguard-rules.pro
vendored
|
@ -64,3 +64,19 @@
|
||||||
|
|
||||||
### Webrtc
|
### Webrtc
|
||||||
-keep class org.webrtc.** { *; }
|
-keep class org.webrtc.** { *; }
|
||||||
|
|
||||||
|
### Serializable persisted classes
|
||||||
|
# https://www.guardsquare.com/en/products/proguard/manual/examples#serializable
|
||||||
|
-keepnames class * implements java.io.Serializable
|
||||||
|
|
||||||
|
-keepclassmembers class * implements java.io.Serializable {
|
||||||
|
static final long serialVersionUID;
|
||||||
|
private static final java.io.ObjectStreamField[] serialPersistentFields;
|
||||||
|
!static !transient <fields>;
|
||||||
|
!private <fields>;
|
||||||
|
!private <methods>;
|
||||||
|
private void writeObject(java.io.ObjectOutputStream);
|
||||||
|
private void readObject(java.io.ObjectInputStream);
|
||||||
|
java.lang.Object writeReplace();
|
||||||
|
java.lang.Object readResolve();
|
||||||
|
}
|
Loading…
Reference in a new issue