<commit_before>package com.darkrockstudios.apps.ringmyphone;

import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.preference.PreferenceManager;

import java.util.Date;
import java.util.concurrent.TimeUnit;

/**
 * Created by Adam on 12/28/13.
 */
public class Purchase
{
	public static final Uri  PURCHASE_URI = Uri.parse( "ringmyphone://com.darkrockstudios.apps.ringmyphone/purchase" );
	//public static final long TRAIL_LENGTH = TimeUnit.DAYS.toMillis( 7 );
	// For testing
	public static final long TRAIL_LENGTH = TimeUnit.HOURS.toMillis( 4 );

	public static boolean isActive( final Context context )<commit_msg>- Restored proper trial period<commit_after>package com.darkrockstudios.apps.ringmyphone;

import android.content.Context;
import android.content.SharedPreferences;
import android.net.Uri;
import android.preference.PreferenceManager;

import java.util.Date;
import java.util.concurrent.TimeUnit;

/**
 * Created by Adam on 12/28/13.
 */
public class Purchase
{
	public static final Uri  PURCHASE_URI = Uri.parse( "ringmyphone://com.darkrockstudios.apps.ringmyphone/purchase" );
	public static final long TRAIL_LENGTH = TimeUnit.DAYS.toMillis( 7 );
	// For testing
	//public static final long TRAIL_LENGTH = TimeUnit.HOURS.toMillis( 4 );

	public static boolean isActive( final Context context )
{'fraction_non_alphanumeric': 0.099927060539752, 'fraction_numerical': 0.011670313639679067, 'mean_word_length': 5.017543859649122, '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': '2146169', 'n_tokens_mistral': 438, 'n_tokens_neox': 416, 'n_words': 108}