<commit_before>package com.google.ads.interactivemedia.v3.samples.videoplayerapp;

import android.app.Activity;
import android.support.annotation.NonNull;
import android.util.Log;
import com.google.android.gms.cast.Cast;
import com.google.android.gms.cast.CastDevice;
import com.google.android.gms.cast.MediaInfo;
import com.google.android.gms.cast.MediaLoadOptions;
import com.google.android.gms.cast.MediaMetadata;
import com.google.android.gms.cast.framework.CastContext;
import com.google.android.gms.cast.framework.CastSession;
import com.google.android.gms.cast.framework.SessionManager;
import com.google.android.gms.cast.framework.SessionManagerListener;
import com.google.android.gms.cast.framework.media.RemoteMediaClient;
import com.google.android.gms.cast.framework.media.RemoteMediaClient.MediaChannelResult;
import com.google.android.gms.common.api.ResultCallback;
import com.google.android.gms.common.api.Status;
import java.io.IOException;

/**
 * Handles connection to a Cast device.
 */
public class CastApplication implements Cast.MessageReceivedCallback {

    static final String APP_ID = "7A3D33D4"; // Replace with your receiver app id.

    private static final String NAMESPACE = "urn:x-cast:com.google.ads.ima.cast";
    private static final String TAG = "ChromeCastDemoActivity";

    private VideoFragment mVideoFragment;
    private VideoPlayerController mVideoPlayerController;
    private String mAdTagUrl;
    private String mContentUrl;
    private boolean mCastAdPlaying;
    private double mCastContentTime;

    private Activity mActivity;
    private CastContext mCastContext;
    private CastSession mCastSession;
    private SessionManager mSessionManager;

    private SessionManagerListener<CastSession> mSessionManagerListener =
            new SessionManagerListener<CastSession>() {
        @Override
        public void onSessionStarting(CastSession castSession) {}

        @Override
        public void onSessionStarted(CastSession castSession, String sessionId) {
            onApplicationConnected(castSession);
        }<commit_msg>Commiting latest changes<commit_after>package com.google.ads.interactivemedia.v3.samples.videoplayerapp;

import android.app.Activity;
import android.support.annotation.NonNull;
import android.util.Log;
import com.google.android.gms.cast.Cast;
import com.google.android.gms.cast.CastDevice;
import com.google.android.gms.cast.MediaInfo;
import com.google.android.gms.cast.MediaLoadOptions;
import com.google.android.gms.cast.MediaMetadata;
import com.google.android.gms.cast.framework.CastContext;
import com.google.android.gms.cast.framework.CastSession;
import com.google.android.gms.cast.framework.SessionManager;
import com.google.android.gms.cast.framework.SessionManagerListener;
import com.google.android.gms.cast.framework.media.RemoteMediaClient;
import com.google.android.gms.cast.framework.media.RemoteMediaClient.MediaChannelResult;
import com.google.android.gms.common.api.ResultCallback;
import com.google.android.gms.common.api.Status;
import java.io.IOException;

/**
 * Handles connection to a Cast device.
 */
public class CastApplication implements Cast.MessageReceivedCallback {

    static final String APP_ID = "93F3197F"; // Replace with your receiver app id.

    private static final String NAMESPACE = "urn:x-cast:com.google.ads.ima.cast";
    private static final String TAG = "ChromeCastDemoActivity";

    private VideoFragment mVideoFragment;
    private VideoPlayerController mVideoPlayerController;
    private String mAdTagUrl;
    private String mContentUrl;
    private boolean mCastAdPlaying;
    private double mCastContentTime;

    private Activity mActivity;
    private CastContext mCastContext;
    private CastSession mCastSession;
    private SessionManager mSessionManager;

    private SessionManagerListener<CastSession> mSessionManagerListener =
            new SessionManagerListener<CastSession>() {
        @Override
        public void onSessionStarting(CastSession castSession) {}

        @Override
        public void onSessionStarted(CastSession castSession, String sessionId) {
            onApplicationConnected(castSession);
        }
{'fraction_non_alphanumeric': 0.08383233532934131, 'fraction_numerical': 0.0031137724550898203, 'mean_word_length': 4.728395061728395, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4746145', 'n_tokens_mistral': 1156, 'n_tokens_neox': 1131, 'n_words': 238}