<commit_before>package com.distantfuture.videos.misc;

import android.app.Application;
import android.content.Context;

import com.distantfuture.castcompanionlibrary.lib.cast.VideoCastManager;
import com.distantfuture.castcompanionlibrary.lib.utils.CastUtils;

public class MainApplication extends Application {
  private static String APPLICATION_ID;
  private static VideoCastManager mCastMgr = null;
  public static final double VOLUME_INCREMENT = 0.05;
  private static Context mAppContext;

  @Override
  public void onCreate() {
    super.onCreate();
    mAppContext = getApplicationContext();
    APPLICATION_ID = "6142AE0B"; // "5A3D7A5C";
    CastUtils.saveFloatToPreference(getApplicationContext(), VideoCastManager.PREFS_KEY_VOLUME_INCREMENT, (float) VOLUME_INCREMENT);
  }

  public static VideoCastManager getCastManager(Context context) {
    if (null == mCastMgr) {
      mCastMgr = VideoCastManager.initialize(context, APPLICATION_ID, null);
      mCastMgr.enableFeatures(VideoCastManager.FEATURE_NOTIFICATION |
          VideoCastManager.FEATURE_LOCKSCREEN |
          VideoCastManager.FEATURE_DEBUGGING);
<commit_msg>nothing<commit_after>package com.distantfuture.videos.misc;

import android.app.Application;
import android.content.Context;

import com.distantfuture.castcompanionlibrary.lib.cast.VideoCastManager;
import com.distantfuture.castcompanionlibrary.lib.utils.CastUtils;
import com.google.android.gms.cast.CastMediaControlIntent;

public class MainApplication extends Application {
  private static String APPLICATION_ID;
  private static VideoCastManager mCastMgr = null;
  public static final double VOLUME_INCREMENT = 0.05;
  private static Context mAppContext;

  @Override
  public void onCreate() {
    super.onCreate();
    mAppContext = getApplicationContext();
    APPLICATION_ID = CastMediaControlIntent.DEFAULT_MEDIA_RECEIVER_APPLICATION_ID; // "6142AE0B"; // "5A3D7A5C";
    CastUtils.saveFloatToPreference(getApplicationContext(), VideoCastManager.PREFS_KEY_VOLUME_INCREMENT, (float) VOLUME_INCREMENT);
  }

  public static VideoCastManager getCastManager(Context context) {
    if (null == mCastMgr) {
      mCastMgr = VideoCastManager.initialize(context, APPLICATION_ID, null);
      mCastMgr.enableFeatures(VideoCastManager.FEATURE_NOTIFICATION |
          VideoCastManager.FEATURE_LOCKSCREEN |
          VideoCastManager.FEATURE_DEBUGGING);

{'fraction_non_alphanumeric': 0.07956448911222781, 'fraction_numerical': 0.010050251256281407, 'mean_word_length': 5.4742547425474255, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7064342', 'n_tokens_mistral': 729, 'n_tokens_neox': 716, 'n_words': 129}