//Static resources
private static ExplorerApplication sApp;
private static ConsoleHolder sBackgroundConsole;
-
+
private static boolean sDebuggable = false;
private final BroadcastReceiver mOnSettingChangeReceiver = new BroadcastReceiver() {
/**
* Method that returns if the application is debuggable
- *
+ *
* @return boolean If the application is debuggable
*/
public static boolean isDebuggable() {
/**
* Method that allocate a new background console
- *
+ *
* @param ctx The current context
*/
private static synchronized void allocBackgroundConsole(Context ctx) {
private static final String TAG = "ShellConsole"; //$NON-NLS-1$
// A timeout of 5 seconds should be enough for no-debugging environments
- private static final long DEFAULT_TIMEOUT =
+ private static final long DEFAULT_TIMEOUT =
ExplorerApplication.isDebuggable() ? 20000L : 5000L;
private static final int DEFAULT_BUFFER = 512;