use of org.chromium.base.annotations.RemovableInRelease in project AndroidChromium by JackyAndroid.
the class DefaultMediaRouteController method logExtraHttpInfo.
@RemovableInRelease
private void logExtraHttpInfo(Bundle extras) {
if (extras != null) {
if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_STATUS_CODE)) {
int httpStatus = extras.getInt(MediaItemStatus.EXTRA_HTTP_STATUS_CODE);
Log.d(TAG, "HTTP status: %s", httpStatus);
}
if (extras.containsKey(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS)) {
Bundle headers = extras.getBundle(MediaItemStatus.EXTRA_HTTP_RESPONSE_HEADERS);
Log.d(TAG, "HTTP headers: %s", bundleToString(headers));
}
}
}
use of org.chromium.base.annotations.RemovableInRelease in project AndroidChromium by JackyAndroid.
the class DefaultMediaRouteController method logMediaSessionStatus.
@RemovableInRelease
private void logMediaSessionStatus(Bundle data) {
MediaSessionStatus status = MediaSessionStatus.fromBundle(data.getBundle(MediaControlIntent.EXTRA_SESSION_STATUS));
int sessionState = status.getSessionState();
Log.d(TAG, "Session state after ending session: %s", sessionState);
}
Aggregations