mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
Java
57 lines
1.3 KiB
Java
package com.todoroo.astrid.utility;
|
|
|
|
import java.util.Date;
|
|
|
|
public final class Constants {
|
|
|
|
// --- general application constants
|
|
|
|
/**
|
|
* Flurry API Key
|
|
*/
|
|
public static final String FLURRY_KEY = "T3JAY9TV2JFMJR4YTG16"; //$NON-NLS-1$
|
|
|
|
/**
|
|
* Application Package
|
|
*/
|
|
public static final String PACKAGE = "com.timsu.astrid"; //$NON-NLS-1$
|
|
|
|
/**
|
|
* Whether this is an OEM installation
|
|
*/
|
|
public static final boolean OEM = false;
|
|
|
|
/**
|
|
* Whether this is an installation with sync disabled
|
|
*/
|
|
public static final boolean SYNC = true;
|
|
|
|
/**
|
|
* Interval to update the widget (in order to detect hidden tasks
|
|
* becoming visible)
|
|
*/
|
|
public static final long WIDGET_UPDATE_INTERVAL = 30 * 60 * 1000L;
|
|
|
|
/**
|
|
* Whether to turn on debugging logging and UI
|
|
*/
|
|
public static final boolean DEBUG = true;
|
|
|
|
/**
|
|
* Upgrade time
|
|
*/
|
|
public static final Date UPGRADE = new Date(110, 8, 1);
|
|
|
|
// --- notification id's
|
|
|
|
/** Notification Manager id for sync notifications */
|
|
public static final int NOTIFICATION_SYNC = -1;
|
|
|
|
/** Notification Manager id for timing */
|
|
public static final int NOTIFICATION_TIMER = -2;
|
|
|
|
/** Notification Manager id for locale */
|
|
public static final int NOTIFICATION_LOCALE = -3;
|
|
|
|
}
|