File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
app/src/main/java/com/fivegmag/a5gmscommonlibrary Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ https://drive.google.com/file/d/1cinCiA778IErENZ3JN52VFW-1ffHpx7Z/view
1010package com.fivegmag.a5gmscommonlibrary.consumptionReporting
1111
1212import android.os.Parcelable
13+ import com.fasterxml.jackson.annotation.JsonFilter
1314import com.fasterxml.jackson.annotation.JsonIgnore
1415import com.fasterxml.jackson.annotation.JsonIgnoreProperties
1516import com.fivegmag.a5gmscommonlibrary.models.EndpointAddress
@@ -26,6 +27,7 @@ data class ConsumptionReport(
2627
2728@Parcelize
2829@JsonIgnoreProperties(ignoreUnknown = true )
30+ @JsonFilter(" consumptionReportingUnitFilter" )
2931data class ConsumptionReportingUnit (
3032 val mediaConsumed : String ,
3133 var mediaEndpointAddress : EndpointAddress ? = null ,
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ object SessionHandlerMessageTypes {
3939 const val START_PLAYBACK_BY_SERVICE_LIST_ENTRY_MESSAGE = 10
4040 const val GET_CONSUMPTION_REPORT = 11
4141 const val CONSUMPTION_REPORT = 12
42+ const val UPDATE_PLAYBACK_CONSUMPTION_REPORTING_CONFIGURATION = 13
4243}
4344
4445object SessionHandlerEvents {
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class Utils {
9090 }
9191 val headersToValidate = arrayOf(" last-modified" , " etag" )
9292
93- return headersToValidate.all { header ->
93+ return headersToValidate.any { header ->
9494 hasHeaderChanged(
9595 headers.get(header),
9696 previousResponseHeaders.get(header)
You can’t perform that action at this time.
0 commit comments