Add missing `@JsonClass(generateAdapter = false)` for Proguard
This commit is contained in:
parent
6e020cada2
commit
85f713c8c7
|
@ -40,6 +40,7 @@ data class CallHangupContent(
|
||||||
*/
|
*/
|
||||||
@Json(name = "reason") val reason: Reason? = null
|
@Json(name = "reason") val reason: Reason? = null
|
||||||
) {
|
) {
|
||||||
|
@JsonClass(generateAdapter = false)
|
||||||
enum class Reason {
|
enum class Reason {
|
||||||
@Json(name = "ice_failed")
|
@Json(name = "ice_failed")
|
||||||
ICE_FAILED,
|
ICE_FAILED,
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
package im.vector.matrix.android.api.session.room.model.call
|
package im.vector.matrix.android.api.session.room.model.call
|
||||||
|
|
||||||
import com.squareup.moshi.Json
|
import com.squareup.moshi.Json
|
||||||
|
import com.squareup.moshi.JsonClass
|
||||||
|
|
||||||
|
@JsonClass(generateAdapter = false)
|
||||||
enum class SdpType {
|
enum class SdpType {
|
||||||
@Json(name = "offer")
|
@Json(name = "offer")
|
||||||
OFFER,
|
OFFER,
|
||||||
|
|
Loading…
Reference in New Issue