2019-06-15 19:13:52 +02:00
|
|
|
package com.darkweb.genesissearchengine.constants;
|
|
|
|
|
2019-07-13 18:20:04 +02:00
|
|
|
import com.darkweb.genesissearchengine.dataManager.preference_manager;
|
|
|
|
|
2019-06-15 19:13:52 +02:00
|
|
|
public class status
|
|
|
|
{
|
2019-07-13 18:20:04 +02:00
|
|
|
/*App Level*/
|
2019-06-15 19:13:52 +02:00
|
|
|
public static boolean isApplicationLoaded = false;
|
2019-06-24 21:48:05 +02:00
|
|
|
public static boolean isPlayStoreInstalled = true;
|
2019-06-15 19:13:52 +02:00
|
|
|
public static boolean isTorInitialized = false;
|
2019-07-13 18:20:04 +02:00
|
|
|
public static String version_code = "6.0";
|
|
|
|
|
|
|
|
/*Settings Level*/
|
|
|
|
public static String search_status = "";
|
|
|
|
public static boolean java_status = false;
|
|
|
|
public static boolean history_status = true;
|
|
|
|
|
|
|
|
public static void initStatus()
|
|
|
|
{
|
|
|
|
status.java_status = preference_manager.getInstance().getBool(keys.java_script,true);
|
|
|
|
status.history_status = preference_manager.getInstance().getBool(keys.history_clear,true);
|
|
|
|
status.search_status = preference_manager.getInstance().getString(keys.search_engine,"Darkweb");
|
|
|
|
}
|
2019-06-22 17:03:44 +02:00
|
|
|
|
2019-06-15 19:13:52 +02:00
|
|
|
}
|