mirror of https://github.com/LeOS-GSI/LeOS-Genesis
parent
d55c8ba105
commit
ee44d4be9f
|
@ -10,7 +10,7 @@
|
||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:1026582312920:android:056aacc3b6f0c3b3f164ad",
|
"mobilesdk_app_id": "1:1026582312920:android:056aacc3b6f0c3b3f164ad",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "com.darkweb.genesissearchengine.production"
|
"package_name": "com.hiddenservices.genesissearchengine.production"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [
|
"oauth_client": [
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
# https://stackoverflow.com/questions/9651703/using-proguard-with-android-without-obfuscation
|
# https://stackoverflow.com/questions/9651703/using-proguard-with-android-without-obfuscation
|
||||||
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
|
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
|
||||||
|
|
||||||
-keep class org.torproject.android.service.vpn.Tun2Socks {
|
-keep class org.orbotproject.android.service.vpn.Tun2Socks {
|
||||||
void logTun2Socks(java.lang.String, java.lang.String, java.lang.String);
|
void logTun2Socks(java.lang.String, java.lang.String, java.lang.String);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:targetApi="n">
|
tools:targetApi="n">
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings.bookmarkSettingController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings.bookmarkSettingController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
|
|
||||||
|
@ -45,86 +45,86 @@
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.orbotManager.orbotController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" />
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.proxyStatusManager.proxyStatusController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.proxyStatusManager.proxyStatusController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" />
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.settingHomeManager.settingHomeController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.settingHomeManager.settingHomeController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:label="@string/SETTING_HEADER"
|
android:label="@string/SETTING_HEADER"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.historyManager.historyController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.historyManager.historyController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome.bookmarkController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome.bookmarkController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.languageManager.languageController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.languageManager.languageController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:label="@string/SETTING_HEADER"
|
android:label="@string/SETTING_HEADER"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.helpManager.helpController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:label="@string/SETTING_HEADER"
|
android:label="@string/SETTING_HEADER"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.accessibilityManager.settingAccessibilityController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.accessibilityManager.settingAccessibilityController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:label="@string/SETTING_HEADER"
|
android:label="@string/SETTING_HEADER"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.clearManager.settingClearController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.clearManager.settingClearController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:label="@string/SETTING_HEADER"
|
android:label="@string/SETTING_HEADER"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.bridgeManager.bridgeController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.bridgeManager.bridgeController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.notificationManager.settingNotificationController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.notificationManager.settingNotificationController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.privacyManager.settingPrivacyController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.privacyManager.settingPrivacyController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.logManager.settingLogController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager.settingLogController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.advanceManager.settingAdvanceController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.advanceManager.settingAdvanceController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.generalManager.settingGeneralController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager.settingGeneralController"
|
||||||
android:configChanges="uiMode"
|
android:configChanges="uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.searchEngineManager.settingSearchController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.searchEngineManager.settingSearchController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.settingManager.trackingManager.settingTrackingController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.settingManager.trackingManager.settingTrackingController"
|
||||||
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|uiMode"
|
||||||
android:windowSoftInputMode="adjustPan" />
|
android:windowSoftInputMode="adjustPan" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.homeManager.homeController.homeController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.homeController"
|
||||||
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|locale|layoutDirection|smallestScreenSize|screenLayout"
|
android:configChanges="keyboard|keyboardHidden|mcc|mnc|orientation|screenSize|locale|layoutDirection|smallestScreenSize|screenLayout"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:screenOrientation="fullSensor"
|
android:screenOrientation="fullSensor"
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.homeManager.FakeLauncherActivity"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.homeManager.FakeLauncherActivity"
|
||||||
android:enabled="false">
|
android:enabled="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
@ -151,10 +151,10 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.externalCommandManager.externalShortcutController"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.externalCommandManager.externalShortcutController"
|
||||||
android:launchMode="singleTop" />
|
android:launchMode="singleTop" />
|
||||||
<activity
|
<activity
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.externalCommandManager.externalURLNavigationContoller"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.externalCommandManager.externalURLNavigationContoller"
|
||||||
android:launchMode="singleTask">
|
android:launchMode="singleTask">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
@ -207,17 +207,17 @@
|
||||||
android:value="ca-app-pub-6985886044951738~4177628900" />
|
android:value="ca-app-pub-6985886044951738~4177628900" />
|
||||||
-->
|
-->
|
||||||
<service
|
<service
|
||||||
android:name="com.darkweb.genesissearchengine.pluginManager.downloadPluginManager.downloadService"
|
android:name="com.hiddenservices.genesissearchengine.production.pluginManager.downloadPluginManager.downloadService"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:stopWithTask="true" />
|
android:stopWithTask="true" />
|
||||||
<service
|
<service
|
||||||
android:name="com.darkweb.genesissearchengine.appManager.activityStateManager"
|
android:name="com.hiddenservices.genesissearchengine.production.appManager.activityStateManager"
|
||||||
android:stopWithTask="true" />
|
android:stopWithTask="true" />
|
||||||
|
|
||||||
<receiver android:name="com.darkweb.genesissearchengine.pluginManager.notificationPluginManager.localEngagementManager" />
|
<receiver android:name="com.hiddenservices.genesissearchengine.production.pluginManager.notificationPluginManager.localEngagementManager" />
|
||||||
<receiver
|
<receiver
|
||||||
android:name="com.darkweb.genesissearchengine.pluginManager.pluginReciever.downloadNotificationReciever"
|
android:name="com.hiddenservices.genesissearchengine.production.pluginManager.pluginReciever.downloadNotificationReciever"
|
||||||
android:exported="false">
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="Download_Cancelled" />
|
<action android:name="Download_Cancelled" />
|
||||||
|
@ -225,7 +225,7 @@
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<receiver
|
<receiver
|
||||||
android:name="org.torproject.android.service.StartTorReceiver"
|
android:name="org.orbotproject.android.service.StartTorReceiver"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
tools:ignore="ExportedReceiver">
|
tools:ignore="ExportedReceiver">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
@ -235,7 +235,7 @@
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="com.darkweb.genesissearchengine.production.provider"
|
android:authorities="com.hiddenservices.genesissearchengine.production.provider"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:grantUriPermissions="true">
|
android:grantUriPermissions="true">
|
||||||
<meta-data
|
<meta-data
|
||||||
|
@ -243,20 +243,20 @@
|
||||||
android:resource="@xml/provider_paths" />
|
android:resource="@xml/provider_paths" />
|
||||||
</provider>
|
</provider>
|
||||||
<provider
|
<provider
|
||||||
android:name="com.darkweb.genesissearchengine.libs.providers.HSContentProvider"
|
android:name="com.hiddenservices.genesissearchengine.production.libs.providers.HSContentProvider"
|
||||||
android:authorities="org.torproject.android.ui.hiddenservices.providers.genesis"
|
android:authorities="org.torproject.android.ui.hiddenservices.providers.genesishiddenservices"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
<provider
|
<provider
|
||||||
android:name="com.darkweb.genesissearchengine.libs.providers.OnionServiceContentProvider"
|
android:name="com.hiddenservices.genesissearchengine.production.libs.providers.OnionServiceContentProvider"
|
||||||
android:authorities="org.torproject.android.ui.v3onionservice.genesis"
|
android:authorities="org.torproject.android.ui.v3onionservice.genesishiddenservices"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
<provider
|
<provider
|
||||||
android:name="com.darkweb.genesissearchengine.libs.providers.ClientAuthContentProviderGenesis"
|
android:name="com.hiddenservices.genesissearchengine.production.libs.providers.ClientAuthContentProviderGenesis"
|
||||||
android:authorities="org.torproject.android.ui.v3onionservice.genesis.clientauth"
|
android:authorities="org.torproject.android.ui.v3onionservice.genesishiddenservices.clientauth"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
<provider
|
<provider
|
||||||
android:name="com.darkweb.genesissearchengine.libs.providers.CookieContentProvider"
|
android:name="com.hiddenservices.genesissearchengine.production.libs.providers.CookieContentProvider"
|
||||||
android:authorities="org.torproject.android.ui.hiddenservices.providers.genesis.cookie"
|
android:authorities="org.torproject.android.ui.hiddenservices.providers.genesishiddenservices.cookie"
|
||||||
android:exported="false" />
|
android:exported="false" />
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
|
@ -268,7 +268,7 @@
|
||||||
android:resource="@xml/file_path" />
|
android:resource="@xml/file_path" />
|
||||||
</provider>
|
</provider>
|
||||||
<service
|
<service
|
||||||
android:name="org.torproject.android.service.OrbotService"
|
android:name="org.orbotproject.android.service.OrbotService"
|
||||||
android:enabled="true"
|
android:enabled="true"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:stopWithTask="true" />
|
android:stopWithTask="true" />
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,172 +0,0 @@
|
||||||
package com.darkweb.genesissearchengine.dataManager;
|
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
|
||||||
import com.android.volley.Request;
|
|
||||||
import com.android.volley.RequestQueue;
|
|
||||||
import com.android.volley.toolbox.StringRequest;
|
|
||||||
import com.android.volley.toolbox.Volley;
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.crawlerRowModel;
|
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
|
||||||
import org.jsoup.Jsoup;
|
|
||||||
import org.jsoup.nodes.Document;
|
|
||||||
import org.jsoup.nodes.Element;
|
|
||||||
import org.jsoup.select.Elements;
|
|
||||||
import org.mozilla.thirdparty.com.google.android.exoplayer2.util.Log;
|
|
||||||
|
|
||||||
import java.net.URLEncoder;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.HashSet;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
@SuppressLint("CommitPrefEdits")
|
|
||||||
class crawlerDataModel
|
|
||||||
{
|
|
||||||
/* Initializations */
|
|
||||||
private Set<String> mDuplicate;
|
|
||||||
private ArrayList<crawlerRowModel> mHTML;
|
|
||||||
private AppCompatActivity mContext;
|
|
||||||
|
|
||||||
crawlerDataModel(AppCompatActivity pContext){
|
|
||||||
mDuplicate = new HashSet<>();
|
|
||||||
mHTML = new ArrayList<>();
|
|
||||||
mContext = pContext;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void onInit(){
|
|
||||||
if(!status.sCrawlerStatusStarted){
|
|
||||||
status.sCrawlerStatusStarted = true;
|
|
||||||
onExecute();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void onParseHTML(String pHtml, String pURL){
|
|
||||||
String mHost = helperMethod.getHost(pURL);
|
|
||||||
|
|
||||||
if(mHost.contains(".onion") && !mHost.contains("genesis") && !mDuplicate.contains(pURL)){
|
|
||||||
mHTML.add(new crawlerRowModel(pURL, pHtml));
|
|
||||||
mDuplicate.add(pURL);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Helper Methods */
|
|
||||||
|
|
||||||
public void onExecute(){
|
|
||||||
new Thread(){
|
|
||||||
|
|
||||||
String mHtml = strings.GENERIC_EMPTY_STR;
|
|
||||||
String mURL = strings.GENERIC_EMPTY_STR;
|
|
||||||
String mTitle = strings.GENERIC_EMPTY_STR;
|
|
||||||
String mDescription = strings.GENERIC_EMPTY_STR;
|
|
||||||
String mKeywords = strings.GENERIC_EMPTY_STR;
|
|
||||||
String mtype = strings.CRAWLER_GENERIC_TYPE;
|
|
||||||
|
|
||||||
private void onParseHTML(){
|
|
||||||
Document pDoc = Jsoup.parse(mHtml);
|
|
||||||
Map<String, String> metas = new HashMap<>();
|
|
||||||
Elements metaTags = pDoc.getElementsByTag("meta");
|
|
||||||
for (Element metaTag : metaTags) {
|
|
||||||
String content = metaTag.attr("content");
|
|
||||||
String name = metaTag.attr("name");
|
|
||||||
metas.put(name, content);
|
|
||||||
}
|
|
||||||
if(metas.containsKey("description")){
|
|
||||||
mDescription = metas.get("description");
|
|
||||||
}
|
|
||||||
if(metas.containsKey("keywords")){
|
|
||||||
mKeywords = metas.get("keywords");
|
|
||||||
}
|
|
||||||
mTitle = pDoc.title();
|
|
||||||
|
|
||||||
if(mDescription.length()<200){
|
|
||||||
Elements p= pDoc.getElementsByTag("h1");
|
|
||||||
for (Element x: p) {
|
|
||||||
mDescription+= " " + x.text();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if(mDescription.length()<200){
|
|
||||||
Elements p= pDoc.getElementsByTag("p");
|
|
||||||
for (Element x: p) {
|
|
||||||
mDescription+= " " + x.text();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void onCleanData(){
|
|
||||||
mDescription = mDescription.trim().replaceAll(" +", " ");
|
|
||||||
mDescription = mDescription.trim().replaceAll("\n", "");
|
|
||||||
|
|
||||||
if(mTitle!=null && mTitle.length()>500){
|
|
||||||
mTitle = mTitle.substring(0,500);
|
|
||||||
}
|
|
||||||
if(mDescription!=null && mDescription.length()>1000){
|
|
||||||
mDescription = mDescription.substring(0,1000);
|
|
||||||
}
|
|
||||||
if(mKeywords!=null && mKeywords.length()>500){
|
|
||||||
mKeywords = mKeywords.substring(0,500);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void onSendRequest(){
|
|
||||||
String mURL_POST = "https://www.trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/update_cache?url="+mURL+"&key_word="+mKeywords+"&desc="+mDescription+"&title="+mTitle+"&s_type="+mtype;
|
|
||||||
|
|
||||||
StringRequest stringRequest = new StringRequest(Request.Method.GET, mURL_POST,
|
|
||||||
response -> {
|
|
||||||
Log.i("adsa","asd");
|
|
||||||
},
|
|
||||||
error -> {
|
|
||||||
Log.i("adsa","asd");
|
|
||||||
});
|
|
||||||
|
|
||||||
RequestQueue requestQueue = Volley.newRequestQueue(mContext);
|
|
||||||
requestQueue.add(stringRequest);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void onEncodeData(){
|
|
||||||
mURL = URLEncoder.encode(mURL);
|
|
||||||
mTitle = URLEncoder.encode(mTitle);
|
|
||||||
mDescription = URLEncoder.encode(mDescription);
|
|
||||||
mKeywords = URLEncoder.encode(mKeywords);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void run(){
|
|
||||||
while (true){
|
|
||||||
try {
|
|
||||||
sleep(1000);
|
|
||||||
if(mHTML.size()>0){
|
|
||||||
crawlerRowModel mModel = mHTML.remove(0);
|
|
||||||
mHtml = mModel.getHTML();
|
|
||||||
mURL = mModel.getURL();
|
|
||||||
|
|
||||||
onParseHTML();
|
|
||||||
onCleanData();
|
|
||||||
onEncodeData();
|
|
||||||
onSendRequest();
|
|
||||||
|
|
||||||
}
|
|
||||||
} catch (Exception ex) {
|
|
||||||
ex.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}.start();
|
|
||||||
}
|
|
||||||
|
|
||||||
/* External Triggers */
|
|
||||||
|
|
||||||
public Object onTrigger(dataEnums.eCrawlerCommands pCommands, List<Object> pData){
|
|
||||||
if(pCommands.equals(dataEnums.eCrawlerCommands.M_INDEX_URL)){
|
|
||||||
onParseHTML(pData.get(0).toString(), pData.get(1).toString());
|
|
||||||
}
|
|
||||||
if(pCommands.equals(dataEnums.eCrawlerCommands.M_INIT)){
|
|
||||||
onInit();
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,16 +1,16 @@
|
||||||
package com.darkweb.genesissearchengine.appManager;
|
package com.hiddenservices.genesissearchengine.production.appManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome.bookmarkController;
|
import com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome.bookmarkController;
|
||||||
import com.darkweb.genesissearchengine.appManager.bridgeManager.bridgeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.bridgeManager.bridgeController;
|
||||||
import com.darkweb.genesissearchengine.appManager.historyManager.historyController;
|
import com.hiddenservices.genesissearchengine.production.appManager.historyManager.historyController;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.homeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.homeController;
|
||||||
import com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogController;
|
import com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogController;
|
||||||
import com.darkweb.genesissearchengine.appManager.settingManager.generalManager.settingGeneralController;
|
import com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager.settingGeneralController;
|
||||||
import com.darkweb.genesissearchengine.appManager.settingManager.settingHomeManager.settingHomeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.settingManager.settingHomeManager.settingHomeController;
|
||||||
import com.darkweb.genesissearchengine.appManager.tabManager.tabController;
|
import com.hiddenservices.genesissearchengine.production.appManager.tabManager.tabController;
|
||||||
|
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,11 +1,11 @@
|
||||||
package com.darkweb.genesissearchengine.appManager;
|
package com.hiddenservices.genesissearchengine.production.appManager;
|
||||||
|
|
||||||
import android.app.Service;
|
import android.app.Service;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.IBinder;
|
import android.os.IBinder;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
|
|
||||||
import org.torproject.android.service.OrbotService;
|
import org.orbotproject.android.service.OrbotService;
|
||||||
|
|
||||||
public class activityStateManager extends Service {
|
public class activityStateManager extends Service {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
package com.darkweb.genesissearchengine.appManager;
|
package com.hiddenservices.genesissearchengine.production.appManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
|
|
||||||
public class activityThemeManager {
|
public class activityThemeManager {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -12,11 +12,11 @@ import android.widget.*;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.bookmarkRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.bookmarkRowModel;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome;
|
||||||
|
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
import android.graphics.drawable.ColorDrawable;
|
import android.graphics.drawable.ColorDrawable;
|
||||||
|
@ -9,8 +9,8 @@ import android.widget.ImageView;
|
||||||
import android.widget.PopupWindow;
|
import android.widget.PopupWindow;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -23,36 +23,36 @@ import android.widget.TextView;
|
||||||
import androidx.recyclerview.widget.ItemTouchHelper;
|
import androidx.recyclerview.widget.ItemTouchHelper;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings.bookmarkSettingController;
|
import com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings.bookmarkSettingController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.bookmarkRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.bookmarkRowModel;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.editTextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.editTextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.homeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.homeController;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import static com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome.bookmarkEnums.eBookmarkViewCommands.M_VERTIFY_SELECTION_MENU;
|
import static com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome.bookmarkEnums.eBookmarkViewCommands.M_VERTIFY_SELECTION_MENU;
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.M_ACTIVITY_RESPONSE;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.M_ACTIVITY_RESPONSE;
|
||||||
import static com.darkweb.genesissearchengine.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_DELETE_ALERT;
|
import static com.hiddenservices.genesissearchengine.production.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_DELETE_ALERT;
|
||||||
import static com.darkweb.genesissearchengine.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_SUCCESS_ALERT;
|
import static com.hiddenservices.genesissearchengine.production.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_SUCCESS_ALERT;
|
||||||
import static com.darkweb.genesissearchengine.constants.sql.SQL_CLEAR_BOOKMARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.sql.SQL_CLEAR_BOOKMARK;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_CLEAR_BOOKMARK;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_CLEAR_BOOKMARK;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_DELETE_BOOKMARK;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_DELETE_BOOKMARK;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_UPDATE_BOOKMARK;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_UPDATE_BOOKMARK;
|
||||||
|
|
||||||
|
|
||||||
public class bookmarkController extends AppCompatActivity
|
public class bookmarkController extends AppCompatActivity
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome;
|
||||||
|
|
||||||
public class bookmarkEnums
|
public class bookmarkEnums
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.bookmarkRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.bookmarkRowModel;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
|
@ -27,9 +27,9 @@ import androidx.core.content.ContextCompat;
|
||||||
import androidx.recyclerview.widget.ItemTouchHelper;
|
import androidx.recyclerview.widget.ItemTouchHelper;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
@ -12,19 +12,19 @@ import android.view.View;
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
import android.widget.ScrollView;
|
import android.widget.ScrollView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.sharedUIMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.sharedUIMethod;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.M_ACTIVITY_RESPONSE;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.M_ACTIVITY_RESPONSE;
|
||||||
import static com.darkweb.genesissearchengine.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_DELETE_ALERT;
|
import static com.hiddenservices.genesissearchengine.production.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_DELETE_ALERT;
|
||||||
import static com.darkweb.genesissearchengine.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_SUCCESS_ALERT;
|
import static com.hiddenservices.genesissearchengine.production.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_SUCCESS_ALERT;
|
||||||
|
|
||||||
public class bookmarkSettingController extends AppCompatActivity {
|
public class bookmarkSettingController extends AppCompatActivity {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings;
|
||||||
|
|
||||||
public class bookmarkSettingEnums
|
public class bookmarkSettingEnums
|
||||||
{
|
{
|
|
@ -1,14 +1,14 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.dataManager.dataEnums.eBookmarkCommands.M_DELETE_BOOKMARK_FROM_MENU;
|
import static com.hiddenservices.genesissearchengine.production.dataManager.dataEnums.eBookmarkCommands.M_DELETE_BOOKMARK_FROM_MENU;
|
||||||
|
|
||||||
class bookmarkSettingModelController
|
class bookmarkSettingModelController
|
||||||
{
|
{
|
|
@ -1,14 +1,13 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings;
|
package com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings;
|
||||||
|
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.helperManager.sharedUIMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.sharedUIMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import org.xmlpull.v1.XmlPullParserException;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
class bookmarkSettingViewController
|
class bookmarkSettingViewController
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bridgeManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.bridgeManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -12,24 +12,24 @@ import android.widget.RadioButton;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_BRIDGE_MAIL;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_BRIDGE_MAIL;
|
||||||
|
|
||||||
public class bridgeController extends AppCompatActivity implements View.OnFocusChangeListener, TextWatcher {
|
public class bridgeController extends AppCompatActivity implements View.OnFocusChangeListener, TextWatcher {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bridgeManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.bridgeManager;
|
||||||
|
|
||||||
public class bridgeEnums
|
public class bridgeEnums
|
||||||
{
|
{
|
|
@ -1,22 +1,22 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bridgeManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.bridgeManager;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.constants.strings.BRIDGE_CUSTOM_BRIDGE_MEEK;
|
import static com.hiddenservices.genesissearchengine.production.constants.strings.BRIDGE_CUSTOM_BRIDGE_MEEK;
|
||||||
import static com.darkweb.genesissearchengine.constants.strings.BRIDGE_CUSTOM_BRIDGE_OBFS4;
|
import static com.hiddenservices.genesissearchengine.production.constants.strings.BRIDGE_CUSTOM_BRIDGE_OBFS4;
|
||||||
import static com.darkweb.genesissearchengine.constants.strings.GENERIC_EMPTY_STR;
|
import static com.hiddenservices.genesissearchengine.production.constants.strings.GENERIC_EMPTY_STR;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_BRIDGE_MAIL;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_BRIDGE_MAIL;
|
||||||
|
|
||||||
class bridgeModel
|
class bridgeModel
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.bridgeManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.bridgeManager;
|
||||||
|
|
||||||
import android.animation.ArgbEvaluator;
|
import android.animation.ArgbEvaluator;
|
||||||
import android.animation.ObjectAnimator;
|
import android.animation.ObjectAnimator;
|
||||||
|
@ -14,9 +14,9 @@ import android.widget.TextView;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.helperManager.sharedUIMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.sharedUIMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.externalCommandManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.externalCommandManager;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -6,17 +6,17 @@ import android.view.View;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.homeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.homeController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import org.torproject.android.service.wrapper.orbotLocalConstants;
|
import org.orbotproject.android.service.wrapper.orbotLocalConstants;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_ERASE;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_ERASE;
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.EXTERNAL_SHORTCUT_COMMAND;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.EXTERNAL_SHORTCUT_COMMAND;
|
||||||
|
|
||||||
public class externalShortcutController extends AppCompatActivity {
|
public class externalShortcutController extends AppCompatActivity {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.externalCommandManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.externalCommandManager;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
@ -6,14 +6,14 @@ import android.os.Build;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import androidx.annotation.RequiresApi;
|
import androidx.annotation.RequiresApi;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.homeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.homeController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_PACKAGE_NAME;
|
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.EXTERNAL_SHORTCUT_COMMAND_NAVIGATE;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.EXTERNAL_SHORTCUT_COMMAND_NAVIGATE;
|
||||||
|
|
||||||
public class externalURLNavigationContoller extends AppCompatActivity {
|
public class externalURLNavigationContoller extends AppCompatActivity {
|
||||||
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP_MR1)
|
@RequiresApi(api = Build.VERSION_CODES.LOLLIPOP_MR1)
|
|
@ -1,12 +1,12 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
|
|
||||||
public class editViewController extends androidx.appcompat.widget.AppCompatAutoCompleteTextView {
|
public class editViewController extends androidx.appcompat.widget.AppCompatAutoCompleteTextView {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
|
@ -13,7 +13,7 @@ import android.widget.RelativeLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -16,22 +16,22 @@ import androidx.constraintlayout.widget.ConstraintLayout;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import androidx.recyclerview.widget.SimpleItemAnimator;
|
import androidx.recyclerview.widget.SimpleItemAnimator;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.appManager.helpManager.helpEnums.eHelpModel.M_IS_LOADED;
|
import static com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpEnums.eHelpModel.M_IS_LOADED;
|
||||||
|
|
||||||
public class helpController extends AppCompatActivity {
|
public class helpController extends AppCompatActivity {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
public class helpDataModel {
|
public class helpDataModel {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
class helpEnums
|
class helpEnums
|
||||||
{
|
{
|
|
@ -1,21 +1,21 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.android.volley.Request;
|
import com.android.volley.Request;
|
||||||
import com.android.volley.RequestQueue;
|
import com.android.volley.RequestQueue;
|
||||||
import com.android.volley.toolbox.StringRequest;
|
import com.android.volley.toolbox.StringRequest;
|
||||||
import com.android.volley.toolbox.Volley;
|
import com.android.volley.toolbox.Volley;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import org.json.JSONArray;
|
import org.json.JSONArray;
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.*;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.*;
|
||||||
|
|
||||||
class helpModel
|
class helpModel
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.helpManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.helpManager;
|
||||||
|
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -13,7 +13,7 @@ import androidx.constraintlayout.widget.ConstraintLayout;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,8 +1,7 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.historyManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.historyManager;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.drawable.Drawable;
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
|
@ -14,11 +13,11 @@ import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.historyRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.historyRowModel;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -26,9 +25,7 @@ import java.util.Arrays;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import systems.intelligo.slight.ImageLoader;
|
import systems.intelligo.slight.ImageLoader;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.historyManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.historyManager;
|
||||||
|
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
||||||
import android.graphics.drawable.ColorDrawable;
|
import android.graphics.drawable.ColorDrawable;
|
||||||
|
@ -9,8 +9,8 @@ import android.widget.ImageView;
|
||||||
import android.widget.PopupWindow;
|
import android.widget.PopupWindow;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.historyManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.historyManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
|
@ -23,29 +23,29 @@ import android.widget.TextView;
|
||||||
import androidx.recyclerview.widget.ItemTouchHelper;
|
import androidx.recyclerview.widget.ItemTouchHelper;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.historyRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.historyRowModel;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.editTextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.editTextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.homeController.homeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController.homeController;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.appManager.historyManager.historyEnums.eHistoryViewCommands.M_VERTIFY_SELECTION_MENU;
|
import static com.hiddenservices.genesissearchengine.production.appManager.historyManager.historyEnums.eHistoryViewCommands.M_VERTIFY_SELECTION_MENU;
|
||||||
import static com.darkweb.genesissearchengine.constants.sql.SQL_CLEAR_HISTORY;
|
import static com.hiddenservices.genesissearchengine.production.constants.sql.SQL_CLEAR_HISTORY;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_CLEAR_HISTORY;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_CLEAR_HISTORY;
|
||||||
|
|
||||||
public class historyController extends AppCompatActivity
|
public class historyController extends AppCompatActivity
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.historyManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.historyManager;
|
||||||
|
|
||||||
public class historyEnums
|
public class historyEnums
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.historyManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.historyManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.historyRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.historyRowModel;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.historyManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.historyManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
|
@ -27,9 +27,9 @@ import androidx.core.content.ContextCompat;
|
||||||
import androidx.recyclerview.widget.ItemTouchHelper;
|
import androidx.recyclerview.widget.ItemTouchHelper;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity
|
import androidx.appcompat.app.AppCompatActivity
|
||||||
import android.os.Bundle
|
import android.os.Bundle
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import androidx.core.view.NestedScrollingChildHelper;
|
import androidx.core.view.NestedScrollingChildHelper;
|
||||||
|
@ -8,24 +8,18 @@ import android.os.Handler;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.View;
|
|
||||||
import android.view.ViewTreeObserver;
|
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
|
||||||
import org.mozilla.geckoview.GeckoView;
|
import org.mozilla.geckoview.GeckoView;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_DOWN;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.GECKO_SCROLL_DOWN;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_DOWN_MOVE;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.GECKO_SCROLL_DOWN_MOVE;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_UP;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.GECKO_SCROLL_UP_ALWAYS;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_UP_ALWAYS;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.GECKO_SCROLL_UP_MOVE;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_UP_MOVE;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.WAS_SCROLL_CHANGED;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.WAS_SCROLL_CHANGED;
|
|
||||||
|
|
||||||
public class NestedGeckoView extends GeckoView {
|
public class NestedGeckoView extends GeckoView {
|
||||||
private int mLastY;
|
private int mLastY;
|
|
@ -1,8 +1,8 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import org.mozilla.geckoview.WebRequestError;
|
import org.mozilla.geckoview.WebRequestError;
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
|
@ -1,24 +1,19 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import org.mozilla.gecko.AndroidGamepadManager;
|
import org.mozilla.gecko.AndroidGamepadManager;
|
||||||
import org.mozilla.gecko.EventDispatcher;
|
|
||||||
import org.mozilla.gecko.InputMethods;
|
import org.mozilla.gecko.InputMethods;
|
||||||
import org.mozilla.gecko.SurfaceViewWrapper;
|
import org.mozilla.gecko.SurfaceViewWrapper;
|
||||||
//import org.mozilla.gecko.util.ActivityUtils;
|
//import org.mozilla.gecko.util.ActivityUtils;
|
||||||
import org.mozilla.gecko.util.ThreadUtils;
|
import org.mozilla.gecko.util.ThreadUtils;
|
||||||
import org.mozilla.geckoview.Autofill;
|
import org.mozilla.geckoview.Autofill;
|
||||||
import org.mozilla.geckoview.BasicSelectionActionDelegate;
|
|
||||||
import org.mozilla.geckoview.GeckoDisplay;
|
import org.mozilla.geckoview.GeckoDisplay;
|
||||||
import org.mozilla.geckoview.GeckoResult;
|
import org.mozilla.geckoview.GeckoResult;
|
||||||
import org.mozilla.geckoview.GeckoRuntime;
|
|
||||||
import org.mozilla.geckoview.GeckoSession;
|
import org.mozilla.geckoview.GeckoSession;
|
||||||
import org.mozilla.geckoview.PanZoomController;
|
import org.mozilla.geckoview.PanZoomController;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.Activity;
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Configuration;
|
|
||||||
import android.graphics.Bitmap;
|
import android.graphics.Bitmap;
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -9,24 +9,24 @@ import android.util.Log;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.kotlinHelperLibraries.BrowserIconManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.kotlinHelperLibraries.BrowserIconManager;
|
||||||
import com.darkweb.genesissearchengine.constants.*;
|
import com.hiddenservices.genesissearchengine.production.constants.*;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_REPORT_URL;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_REPORT_URL;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_INDEX_WEBSITE;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_INDEX_WEBSITE;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.on_handle_external_intent;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.on_handle_external_intent;
|
||||||
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_MOBILE;
|
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_MOBILE;
|
||||||
import static org.mozilla.geckoview.StorageController.ClearFlags.AUTH_SESSIONS;
|
import static org.mozilla.geckoview.StorageController.ClearFlags.AUTH_SESSIONS;
|
||||||
import static org.mozilla.geckoview.StorageController.ClearFlags.COOKIES;
|
import static org.mozilla.geckoview.StorageController.ClearFlags.COOKIES;
|
||||||
|
@ -44,7 +44,7 @@ import org.mozilla.geckoview.GeckoRuntimeSettings;
|
||||||
import org.mozilla.geckoview.GeckoView;
|
import org.mozilla.geckoview.GeckoView;
|
||||||
import org.mozilla.geckoview.WebExtension;
|
import org.mozilla.geckoview.WebExtension;
|
||||||
import org.mozilla.geckoview.WebResponse;
|
import org.mozilla.geckoview.WebResponse;
|
||||||
import org.torproject.android.service.wrapper.orbotLocalConstants;
|
import org.orbotproject.android.service.wrapper.orbotLocalConstants;
|
||||||
|
|
||||||
public class geckoClients
|
public class geckoClients
|
||||||
{
|
{
|
|
@ -1,17 +1,16 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.core.app.ActivityCompat;
|
import androidx.core.app.ActivityCompat;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
|
|
||||||
import org.mozilla.geckoview.WebResponse;
|
import org.mozilla.geckoview.WebResponse;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import android.app.NotificationChannel;
|
import android.app.NotificationChannel;
|
||||||
import android.app.NotificationManager;
|
import android.app.NotificationManager;
|
||||||
|
@ -29,17 +29,17 @@ import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.core.app.NotificationCompat;
|
import androidx.core.app.NotificationCompat;
|
||||||
import androidx.core.content.FileProvider;
|
import androidx.core.content.FileProvider;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.libs.trueTime.trueTimeEncryption;
|
import com.hiddenservices.genesissearchengine.production.libs.trueTime.trueTimeEncryption;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
|
@ -55,7 +55,7 @@ import org.mozilla.geckoview.SlowScriptResponse;
|
||||||
import org.mozilla.geckoview.WebExtension;
|
import org.mozilla.geckoview.WebExtension;
|
||||||
import org.mozilla.geckoview.WebRequestError;
|
import org.mozilla.geckoview.WebRequestError;
|
||||||
import org.mozilla.geckoview.WebResponse;
|
import org.mozilla.geckoview.WebResponse;
|
||||||
import org.torproject.android.service.wrapper.orbotLocalConstants;
|
import org.orbotproject.android.service.wrapper.orbotLocalConstants;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
|
@ -69,17 +69,17 @@ import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_ERROR_CACHED;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_ERROR_CACHED;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_ERROR_CACHED_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_ERROR_CACHED_DARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_HELP_URL_CACHE;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_HELP_URL_CACHE;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_HELP_URL_CACHE_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_HELP_URL_CACHE_DARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_DEFAULT_BROWSER;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_DEFAULT_BROWSER;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_RATE_COUNT;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_RATE_COUNT;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_URL;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_URL;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_WITH_LINK;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_WITH_LINK;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManagerCallbacks.M_RATE_APPLICATION;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManagerCallbacks.M_RATE_APPLICATION;
|
||||||
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_DESKTOP;
|
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_DESKTOP;
|
||||||
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_MOBILE;
|
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_MOBILE;
|
||||||
|
|
|
@ -1,11 +1,8 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.geckoManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.ActivityNotFoundException;
|
import android.content.ActivityNotFoundException;
|
||||||
import android.content.ClipData;
|
|
||||||
import android.content.ClipboardManager;
|
|
||||||
import android.content.Context;
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
import android.graphics.Matrix;
|
import android.graphics.Matrix;
|
||||||
|
@ -21,7 +18,7 @@ import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
|
|
||||||
import org.mozilla.gecko.util.ThreadUtils;
|
import org.mozilla.gecko.util.ThreadUtils;
|
||||||
import org.mozilla.geckoview.GeckoSession;
|
import org.mozilla.geckoview.GeckoSession;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.hintManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.hintManager;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
|
@ -19,12 +19,12 @@ import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.cardview.widget.CardView;
|
import androidx.cardview.widget.CardView;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.historyRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.historyRowModel;
|
||||||
import com.darkweb.genesissearchengine.appManager.tabManager.tabEnums;
|
import com.hiddenservices.genesissearchengine.production.appManager.tabManager.tabEnums;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.hintManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.hintManager;
|
||||||
|
|
||||||
public class hintModel
|
public class hintModel
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.homeController;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController;
|
||||||
|
|
||||||
import android.content.ClipData;
|
import android.content.ClipData;
|
||||||
import android.content.ClipboardManager;
|
import android.content.ClipboardManager;
|
||||||
|
@ -11,8 +11,8 @@ import android.view.KeyEvent;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
|
|
||||||
public class editTextManager extends androidx.appcompat.widget.AppCompatAutoCompleteTextView {
|
public class editTextManager extends androidx.appcompat.widget.AppCompatAutoCompleteTextView {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.homeController;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.ActivityManager;
|
import android.app.ActivityManager;
|
||||||
|
@ -46,36 +46,36 @@ import androidx.core.widget.NestedScrollView;
|
||||||
import androidx.fragment.app.FragmentContainerView;
|
import androidx.fragment.app.FragmentContainerView;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkSettings.bookmarkSettingController;
|
import com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkSettings.bookmarkSettingController;
|
||||||
import com.darkweb.genesissearchengine.appManager.bookmarkManager.bookmarkHome.bookmarkController;
|
import com.hiddenservices.genesissearchengine.production.appManager.bookmarkManager.bookmarkHome.bookmarkController;
|
||||||
import com.darkweb.genesissearchengine.appManager.historyManager.historyController;
|
import com.hiddenservices.genesissearchengine.production.appManager.historyManager.historyController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.historyRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.historyRowModel;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.geckoManager.NestedGeckoView;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager.NestedGeckoView;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.geckoManager.*;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager.*;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.geckoManager.geckoSession;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.geckoManager.geckoSession;
|
||||||
import com.darkweb.genesissearchengine.appManager.homeManager.hintManager.hintAdapter;
|
import com.hiddenservices.genesissearchengine.production.appManager.homeManager.hintManager.hintAdapter;
|
||||||
import com.darkweb.genesissearchengine.appManager.languageManager.languageController;
|
import com.hiddenservices.genesissearchengine.production.appManager.languageManager.languageController;
|
||||||
import com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogController;
|
import com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogController;
|
||||||
import com.darkweb.genesissearchengine.appManager.orbotManager.orbotController;
|
import com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotController;
|
||||||
import com.darkweb.genesissearchengine.appManager.settingManager.searchEngineManager.settingSearchController;
|
import com.hiddenservices.genesissearchengine.production.appManager.settingManager.searchEngineManager.settingSearchController;
|
||||||
import com.darkweb.genesissearchengine.appManager.settingManager.settingHomeManager.settingHomeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.settingManager.settingHomeManager.settingHomeController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.models.tabRowModel;
|
import com.hiddenservices.genesissearchengine.production.dataManager.models.tabRowModel;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.libs.views.KeyboardUtils;
|
import com.hiddenservices.genesissearchengine.production.libs.views.KeyboardUtils;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityStateManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityStateManager;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.libs.trueTime.trueTimeEncryption;
|
import com.hiddenservices.genesissearchengine.production.libs.trueTime.trueTimeEncryption;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.mopub.mobileads.MoPubView;
|
import com.mopub.mobileads.MoPubView;
|
||||||
import com.widget.Genesis.widgetManager.widgetController;
|
import com.widget.Genesis.widgetManager.widgetController;
|
||||||
|
@ -83,10 +83,10 @@ import com.widget.Genesis.widgetManager.widgetController;
|
||||||
import org.mozilla.geckoview.ContentBlocking;
|
import org.mozilla.geckoview.ContentBlocking;
|
||||||
import org.mozilla.geckoview.GeckoResult;
|
import org.mozilla.geckoview.GeckoResult;
|
||||||
import org.mozilla.geckoview.GeckoSession;
|
import org.mozilla.geckoview.GeckoSession;
|
||||||
import org.torproject.android.service.OrbotService;
|
import org.orbotproject.android.service.OrbotService;
|
||||||
import org.torproject.android.service.util.Prefs;
|
import org.orbotproject.android.service.util.Prefs;
|
||||||
import org.torproject.android.service.wrapper.LocaleHelper;
|
import org.orbotproject.android.service.wrapper.LocaleHelper;
|
||||||
import org.torproject.android.service.wrapper.orbotLocalConstants;
|
import org.orbotproject.android.service.wrapper.orbotLocalConstants;
|
||||||
import java.lang.ref.WeakReference;
|
import java.lang.ref.WeakReference;
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
||||||
|
@ -103,31 +103,31 @@ import mozilla.components.support.utils.DownloadUtils;
|
||||||
import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
|
import static android.content.Intent.FLAG_ACTIVITY_NEW_TASK;
|
||||||
import static android.content.Intent.FLAG_ACTIVITY_NO_ANIMATION;
|
import static android.content.Intent.FLAG_ACTIVITY_NO_ANIMATION;
|
||||||
import static androidx.appcompat.app.AppCompatDelegate.setDefaultNightMode;
|
import static androidx.appcompat.app.AppCompatDelegate.setDefaultNightMode;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_ERASE_OPEN;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_ERASE_OPEN;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_RESTART;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_RESTART;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_HELP_URL_CACHE;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_HELP_URL_CACHE;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_HELP_URL_CACHE_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_HELP_URL_CACHE_DARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_DOWN;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.GECKO_SCROLL_DOWN;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.GECKO_SCROLL_UP_MOVE;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.GECKO_SCROLL_UP_MOVE;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_CLOSE_TAB_BACK;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_CLOSE_TAB_BACK;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_HOME_BUTTON_PRESSED;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_HOME_BUTTON_PRESSED;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_INITIALIZE_TAB_LINK;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_INITIALIZE_TAB_LINK;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_INITIALIZE_TAB_SINGLE;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_INITIALIZE_TAB_SINGLE;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_NEW_LINK_IN_NEW_TAB;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_NEW_LINK_IN_NEW_TAB;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.M_NEW_LINK_IN_NEW_TAB_LOAD;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.M_NEW_LINK_IN_NEW_TAB_LOAD;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.WAS_SCROLL_CHANGED;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.WAS_SCROLL_CHANGED;
|
||||||
import static com.darkweb.genesissearchengine.constants.enums.etype.open_new_tab;
|
import static com.hiddenservices.genesissearchengine.production.constants.enums.etype.open_new_tab;
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.EXTERNAL_SHORTCUT_COMMAND;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.EXTERNAL_SHORTCUT_COMMAND;
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.EXTERNAL_SHORTCUT_COMMAND_NAVIGATE;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.EXTERNAL_SHORTCUT_COMMAND_NAVIGATE;
|
||||||
import static com.darkweb.genesissearchengine.constants.keys.M_ACTIVITY_RESPONSE;
|
import static com.hiddenservices.genesissearchengine.production.constants.keys.M_ACTIVITY_RESPONSE;
|
||||||
import static com.darkweb.genesissearchengine.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_DELETE_ALERT;
|
import static com.hiddenservices.genesissearchengine.production.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_DELETE_ALERT;
|
||||||
import static com.darkweb.genesissearchengine.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_SUCCESS_ALERT;
|
import static com.hiddenservices.genesissearchengine.production.constants.responses.BOOKMARK_SETTING_CONTROLLER_SHOW_SUCCESS_ALERT;
|
||||||
import static com.darkweb.genesissearchengine.constants.sql.SQL_CLEAR_HISTORY;
|
import static com.hiddenservices.genesissearchengine.production.constants.sql.SQL_CLEAR_HISTORY;
|
||||||
import static com.darkweb.genesissearchengine.dataManager.dataEnums.eBookmarkCommands.M_INTENT_BOOKMARK;
|
import static com.hiddenservices.genesissearchengine.production.dataManager.dataEnums.eBookmarkCommands.M_INTENT_BOOKMARK;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.*;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.*;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManagerCallbacks.M_RATE_APPLICATION;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManagerCallbacks.M_RATE_APPLICATION;
|
||||||
import static java.lang.Character.isLetter;
|
import static java.lang.Character.isLetter;
|
||||||
import static org.mozilla.geckoview.ContentBlocking.CookieBehavior.ACCEPT_FIRST_PARTY;
|
import static org.mozilla.geckoview.ContentBlocking.CookieBehavior.ACCEPT_FIRST_PARTY;
|
||||||
|
|
||||||
|
@ -1771,6 +1771,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba
|
||||||
}else {
|
}else {
|
||||||
helperMethod.copyURL(mSearchBarPreviousText,this);
|
helperMethod.copyURL(mSearchBarPreviousText,this);
|
||||||
}
|
}
|
||||||
|
helperMethod.showToastMessage("copied to clipboard", this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onFindNext(View view){
|
public void onFindNext(View view){
|
|
@ -1,9 +1,9 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.homeController;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController;
|
||||||
|
|
||||||
import android.util.Patterns;
|
import android.util.Patterns;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.homeManager.homeController;
|
package com.hiddenservices.genesissearchengine.production.appManager.homeManager.homeController;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
import android.animation.AnimatorListenerAdapter;
|
import android.animation.AnimatorListenerAdapter;
|
||||||
|
@ -41,25 +41,25 @@ import androidx.core.graphics.ColorUtils;
|
||||||
import androidx.core.widget.NestedScrollView;
|
import androidx.core.widget.NestedScrollView;
|
||||||
import androidx.fragment.app.FragmentContainerView;
|
import androidx.fragment.app.FragmentContainerView;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.constants.*;
|
import com.hiddenservices.genesissearchengine.production.constants.*;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.libs.views.ColorAnimator;
|
import com.hiddenservices.genesissearchengine.production.libs.views.ColorAnimator;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.appbar.AppBarLayout;
|
import com.google.android.material.appbar.AppBarLayout;
|
||||||
import com.mopub.mobileads.MoPubView;
|
import com.mopub.mobileads.MoPubView;
|
||||||
import org.mozilla.geckoview.GeckoView;
|
import org.mozilla.geckoview.GeckoView;
|
||||||
import org.torproject.android.service.wrapper.orbotLocalConstants;
|
import org.orbotproject.android.service.wrapper.orbotLocalConstants;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
||||||
import static android.content.Context.LAYOUT_INFLATER_SERVICE;
|
import static android.content.Context.LAYOUT_INFLATER_SERVICE;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_DOMAIN_URL;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_DOMAIN_URL;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
|
||||||
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_DESKTOP;
|
import static org.mozilla.geckoview.GeckoSessionSettings.USER_AGENT_MODE_DESKTOP;
|
||||||
import static java.lang.Thread.sleep;
|
import static java.lang.Thread.sleep;
|
||||||
|
|
||||||
|
@ -167,6 +167,7 @@ class homeViewController
|
||||||
initializeViews();
|
initializeViews();
|
||||||
stopScroll();
|
stopScroll();
|
||||||
onFullScreen(false);
|
onFullScreen(false);
|
||||||
|
initSplashOrientation();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressLint("WrongConstant")
|
@SuppressLint("WrongConstant")
|
||||||
|
@ -483,7 +484,7 @@ class homeViewController
|
||||||
}
|
}
|
||||||
|
|
||||||
public void initStatusBarColor(boolean mInstant) {
|
public void initStatusBarColor(boolean mInstant) {
|
||||||
int mDelay = 1500;
|
int mDelay = 1000;
|
||||||
if(status.mThemeApplying || mInstant || status.sSettingIsAppStarted){
|
if(status.mThemeApplying || mInstant || status.sSettingIsAppStarted){
|
||||||
mDelay = 0;
|
mDelay = 0;
|
||||||
}
|
}
|
||||||
|
@ -596,7 +597,10 @@ class homeViewController
|
||||||
View root = mSearchbar.getRootView();
|
View root = mSearchbar.getRootView();
|
||||||
root.setBackgroundColor(ContextCompat.getColor(mContext, R.color.c_background_keyboard));
|
root.setBackgroundColor(ContextCompat.getColor(mContext, R.color.c_background_keyboard));
|
||||||
|
|
||||||
|
int orientation = mContext.getResources().getConfiguration().orientation;
|
||||||
|
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
||||||
|
setOrientation(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private LogHandler mLogHandler;
|
private LogHandler mLogHandler;
|
||||||
|
@ -1563,7 +1567,7 @@ class homeViewController
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
com.darkweb.genesissearchengine.constants.status.sFullScreenBrowsing = false;
|
com.hiddenservices.genesissearchengine.production.constants.status.sFullScreenBrowsing = false;
|
||||||
|
|
||||||
mNestedScroll.setLayoutParams(params);
|
mNestedScroll.setLayoutParams(params);
|
||||||
|
|
||||||
|
@ -1591,7 +1595,7 @@ class homeViewController
|
||||||
mTopBar.setVisibility(View.VISIBLE);
|
mTopBar.setVisibility(View.VISIBLE);
|
||||||
mEvent.invokeObserver(Collections.singletonList(!isLandscape), enums.etype.on_init_ads);
|
mEvent.invokeObserver(Collections.singletonList(!isLandscape), enums.etype.on_init_ads);
|
||||||
|
|
||||||
com.darkweb.genesissearchengine.constants.status.sFullScreenBrowsing = (boolean) dataController.getInstance().invokePrefs(dataEnums.ePreferencesCommands.M_GET_BOOL, Arrays.asList(keys.SETTING_FULL_SCREEN_BROWSIING,false));
|
com.hiddenservices.genesissearchengine.production.constants.status.sFullScreenBrowsing = (boolean) dataController.getInstance().invokePrefs(dataEnums.ePreferencesCommands.M_GET_BOOL, Arrays.asList(keys.SETTING_FULL_SCREEN_BROWSIING,false));
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
if(status.sTheme == enums.Theme.THEME_DARK || status.sDefaultNightMode){
|
if(status.sTheme == enums.Theme.THEME_DARK || status.sDefaultNightMode){
|
||||||
|
@ -1637,7 +1641,6 @@ class homeViewController
|
||||||
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
if (orientation == Configuration.ORIENTATION_LANDSCAPE) {
|
||||||
mWebviewContainer.setPadding(0,0,0,helperMethod.pxFromDp(60));
|
mWebviewContainer.setPadding(0,0,0,helperMethod.pxFromDp(60));
|
||||||
} else {
|
} else {
|
||||||
helperMethod.showToastMessage("sadadsasd",mContext);
|
|
||||||
mWebviewContainer.setPadding(0,0,0,helperMethod.pxFromDp(0));
|
mWebviewContainer.setPadding(0,0,0,helperMethod.pxFromDp(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.kotlinHelperLibraries
|
package com.hiddenservices.genesissearchengine.production.appManager.kotlinHelperLibraries
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.widget.ImageView
|
import android.widget.ImageView
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.kotlinHelperLibraries
|
package com.hiddenservices.genesissearchengine.production.appManager.kotlinHelperLibraries
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
import android.view.View
|
import android.view.View
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.languageManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.languageManager;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
|
@ -13,14 +13,14 @@ import android.widget.TextView;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import static com.darkweb.genesissearchengine.appManager.languageManager.languageEnums.eLanguageAdapterCallback.*;
|
import static com.hiddenservices.genesissearchengine.production.appManager.languageManager.languageEnums.eLanguageAdapterCallback.*;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_LANGUAGE_DEFAULT_LANG;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_LANGUAGE_DEFAULT_LANG;
|
||||||
import static com.darkweb.genesissearchengine.constants.strings.LANGUAGE_NOT_SUPPORTED;
|
import static com.hiddenservices.genesissearchengine.production.constants.strings.LANGUAGE_NOT_SUPPORTED;
|
||||||
|
|
||||||
public class languageAdapter extends RecyclerView.Adapter<languageAdapter.helpViewHolder>{
|
public class languageAdapter extends RecyclerView.Adapter<languageAdapter.helpViewHolder>{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.languageManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.languageManager;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
|
@ -13,18 +13,18 @@ import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import androidx.recyclerview.widget.SimpleItemAnimator;
|
import androidx.recyclerview.widget.SimpleItemAnimator;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
@ -33,10 +33,10 @@ import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.appManager.languageManager.languageEnums.eLanguageModel.M_ACTIVE_LANGUAGE;
|
import static com.hiddenservices.genesissearchengine.production.appManager.languageManager.languageEnums.eLanguageModel.M_ACTIVE_LANGUAGE;
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_LANGUAGE_DEFAULT_LANG;
|
import static com.hiddenservices.genesissearchengine.production.constants.constants.CONST_LANGUAGE_DEFAULT_LANG;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eLangManager.M_SUPPORTED_SYSTEM_LANGUAGE_INFO;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eLangManager.M_SUPPORTED_SYSTEM_LANGUAGE_INFO;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_LANGUAGE_SUPPORT_FAILURE;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_LANGUAGE_SUPPORT_FAILURE;
|
||||||
|
|
||||||
public class languageController extends AppCompatActivity {
|
public class languageController extends AppCompatActivity {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.languageManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.languageManager;
|
||||||
|
|
||||||
public class languageDataModel {
|
public class languageDataModel {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.languageManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.languageManager;
|
||||||
|
|
||||||
class languageEnums
|
class languageEnums
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.languageManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.languageManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.languageManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.languageManager;
|
||||||
|
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -8,7 +8,7 @@ import android.widget.ImageView;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,11 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotLogManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.constants.constants.CONST_PACKAGE_NAME;
|
|
||||||
|
|
||||||
import android.app.SearchManager;
|
|
||||||
import android.content.Intent;
|
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.Build;
|
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
@ -13,14 +8,14 @@ import android.widget.TextView;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.constraintlayout.widget.ConstraintLayout;
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.tabManager.tabEnums;
|
import com.hiddenservices.genesissearchengine.production.appManager.tabManager.tabEnums;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import org.torproject.android.service.wrapper.logRowModel;
|
import org.orbotproject.android.service.wrapper.logRowModel;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotLogManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
|
@ -15,33 +15,33 @@ import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.core.widget.NestedScrollView;
|
import androidx.core.widget.NestedScrollView;
|
||||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.settingManager.logManager.settingLogController;
|
import com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager.settingLogController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||||
import org.torproject.android.service.wrapper.logRowModel;
|
import org.orbotproject.android.service.wrapper.logRowModel;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_FLOATING_BUTTON;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_FLOATING_BUTTON;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_LOGS;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_LOGS;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_RECYCLE_VIEW;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_RECYCLE_VIEW;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCommands.M_GET_LIST;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCommands.M_GET_LIST;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCommands.M_GET_LIST_SIZE;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCommands.M_GET_LIST_SIZE;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_FLOAT_BUTTON_UPDATE;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_FLOAT_BUTTON_UPDATE;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SCROLL_BOTTOM;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SCROLL_BOTTOM;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SCROLL_TOP;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SCROLL_TOP;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SCROLL_TO_POSITION;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SCROLL_TO_POSITION;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SHOW_FLOATING_TOOLBAR;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogViewCommands.M_SHOW_FLOATING_TOOLBAR;
|
||||||
|
|
||||||
|
|
||||||
public class orbotLogController extends AppCompatActivity implements ViewTreeObserver.OnScrollChangedListener, ViewTreeObserver.OnGlobalLayoutListener {
|
public class orbotLogController extends AppCompatActivity implements ViewTreeObserver.OnScrollChangedListener, ViewTreeObserver.OnGlobalLayoutListener {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotLogManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager;
|
||||||
|
|
||||||
public class orbotLogEnums
|
public class orbotLogEnums
|
||||||
{
|
{
|
|
@ -1,22 +1,22 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotLogManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import org.torproject.android.service.wrapper.logRowModel;
|
import org.orbotproject.android.service.wrapper.logRowModel;
|
||||||
import org.torproject.android.service.wrapper.orbotLocalConstants;
|
import org.orbotproject.android.service.wrapper.orbotLocalConstants;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_FLOATING_BUTTON;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_FLOATING_BUTTON;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_LOGS;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_LOGS;
|
||||||
import static com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_RECYCLE_VIEW;
|
import static com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogEnums.eOrbotLogModelCallbackCommands.M_UPDATE_RECYCLE_VIEW;
|
||||||
import static java.lang.Thread.sleep;
|
import static java.lang.Thread.sleep;
|
||||||
import static org.mozilla.gecko.util.ThreadUtils.runOnUiThread;
|
import static org.mozilla.gecko.util.ThreadUtils.runOnUiThread;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotLogManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager;
|
||||||
|
|
||||||
public class orbotLogStatus {
|
public class orbotLogStatus {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotLogManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager;
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.core.widget.NestedScrollView;
|
import androidx.core.widget.NestedScrollView;
|
||||||
import androidx.recyclerview.widget.RecyclerView;
|
import androidx.recyclerview.widget.RecyclerView;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.sharedUIMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.sharedUIMethod;
|
||||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -6,16 +6,16 @@ import android.view.View;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.bridgeManager.bridgeController;
|
import com.hiddenservices.genesissearchengine.production.appManager.bridgeManager.bridgeController;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
@ -25,8 +25,8 @@ import java.util.List;
|
||||||
public class orbotController extends AppCompatActivity {
|
public class orbotController extends AppCompatActivity {
|
||||||
|
|
||||||
/* PRIVATE VARIABLES */
|
/* PRIVATE VARIABLES */
|
||||||
private com.darkweb.genesissearchengine.appManager.orbotManager.orbotModel mOrbotModel;
|
private com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotModel mOrbotModel;
|
||||||
private com.darkweb.genesissearchengine.appManager.orbotManager.orbotViewController mOrbotViewController;
|
private com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotViewController mOrbotViewController;
|
||||||
|
|
||||||
private SwitchMaterial mOrbotSettingBridgeSwitch;
|
private SwitchMaterial mOrbotSettingBridgeSwitch;
|
||||||
private SwitchMaterial mOrbotSettingVPNSwitch;
|
private SwitchMaterial mOrbotSettingVPNSwitch;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotManager;
|
||||||
|
|
||||||
public class orbotEnums
|
public class orbotEnums
|
||||||
{
|
{
|
|
@ -1,12 +1,12 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
|
@ -39,11 +39,11 @@ class orbotModel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public void onTrigger(com.darkweb.genesissearchengine.appManager.orbotManager.orbotEnums.eOrbotModelCommands pCommands, List<Object> pData){
|
public void onTrigger(com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotEnums.eOrbotModelCommands pCommands, List<Object> pData){
|
||||||
if(pCommands == com.darkweb.genesissearchengine.appManager.orbotManager.orbotEnums.eOrbotModelCommands.M_BRIDGE_SWITCH){
|
if(pCommands == com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotEnums.eOrbotModelCommands.M_BRIDGE_SWITCH){
|
||||||
onBridgeSwitch((boolean) pData.get(0));
|
onBridgeSwitch((boolean) pData.get(0));
|
||||||
}
|
}
|
||||||
else if(pCommands == com.darkweb.genesissearchengine.appManager.orbotManager.orbotEnums.eOrbotModelCommands.M_VPN_SWITCH){
|
else if(pCommands == com.hiddenservices.genesissearchengine.production.appManager.orbotManager.orbotEnums.eOrbotModelCommands.M_VPN_SWITCH){
|
||||||
onVPNSwitch((boolean) pData.get(0));
|
onVPNSwitch((boolean) pData.get(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.orbotManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.orbotManager;
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.helperManager.sharedUIMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.sharedUIMethod;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.proxyStatusManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.proxyStatusManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -6,15 +6,15 @@ import android.view.View;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.orbotLogManager.orbotLogController;
|
import com.hiddenservices.genesissearchengine.production.appManager.orbotLogManager.orbotLogController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.proxyStatusManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.proxyStatusManager;
|
||||||
|
|
||||||
public class proxyStatusEnums
|
public class proxyStatusEnums
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.proxyStatusManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.proxyStatusManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
|
|
||||||
class proxyStatusModel
|
class proxyStatusModel
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.proxyStatusManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.proxyStatusManager;
|
||||||
|
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.view.View;
|
import android.view.View;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.accessibilityManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.accessibilityManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -9,18 +9,18 @@ import android.widget.TextView;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.accessibilityManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.accessibilityManager;
|
||||||
|
|
||||||
class settingAccessibilityEnums
|
class settingAccessibilityEnums
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.accessibilityManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.accessibilityManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
class settingAccessibilityModel
|
class settingAccessibilityModel
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.accessibilityManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.accessibilityManager;
|
||||||
|
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -9,9 +9,9 @@ import android.widget.TextView;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,7 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.advanceManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.advanceManager;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_IMAGE_UPDATE;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_IMAGE_UPDATE;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_UPDATE_BOOKMARK;
|
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -10,18 +9,18 @@ import android.widget.RadioButton;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.advanceManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.advanceManager;
|
||||||
|
|
||||||
class settingAdvanceEnums
|
class settingAdvanceEnums
|
||||||
{
|
{
|
|
@ -1,9 +1,9 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.advanceManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.advanceManager;
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.advanceManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.advanceManager;
|
||||||
|
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
|
@ -9,8 +9,8 @@ import android.widget.RadioButton;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.clearManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.clearManager;
|
||||||
|
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
|
@ -10,20 +10,20 @@ import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.constants.strings;
|
import com.hiddenservices.genesissearchengine.production.constants.strings;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
|
|
||||||
import org.mozilla.geckoview.ContentBlocking;
|
import org.mozilla.geckoview.ContentBlocking;
|
||||||
|
@ -33,9 +33,9 @@ import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.constants.sql.SQL_CLEAR_BOOKMARK;
|
import static com.hiddenservices.genesissearchengine.production.constants.sql.SQL_CLEAR_BOOKMARK;
|
||||||
import static com.darkweb.genesissearchengine.constants.sql.SQL_CLEAR_HISTORY;
|
import static com.hiddenservices.genesissearchengine.production.constants.sql.SQL_CLEAR_HISTORY;
|
||||||
import static com.darkweb.genesissearchengine.pluginManager.pluginEnums.eMessageManager.M_DATA_CLEARED;
|
import static com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums.eMessageManager.M_DATA_CLEARED;
|
||||||
import static org.mozilla.geckoview.ContentBlocking.CookieBehavior.ACCEPT_FIRST_PARTY;
|
import static org.mozilla.geckoview.ContentBlocking.CookieBehavior.ACCEPT_FIRST_PARTY;
|
||||||
|
|
||||||
public class settingClearController extends AppCompatActivity {
|
public class settingClearController extends AppCompatActivity {
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.clearManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.clearManager;
|
||||||
|
|
||||||
class settingClearEnums
|
class settingClearEnums
|
||||||
{
|
{
|
|
@ -1,6 +1,6 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.clearManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.clearManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
|
|
||||||
class settingClearModel
|
class settingClearModel
|
||||||
{
|
{
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.clearManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.clearManager;
|
||||||
|
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
|
@ -9,7 +9,7 @@ import android.widget.CheckBox;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.generalManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -9,20 +9,20 @@ import android.widget.TextView;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.appManager.languageManager.languageController;
|
import com.hiddenservices.genesissearchengine.production.appManager.languageManager.languageController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.generalManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager;
|
||||||
|
|
||||||
class settingGeneralEnums
|
class settingGeneralEnums
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.generalManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
class settingGeneralModel
|
class settingGeneralModel
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.generalManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager;
|
||||||
|
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
|
@ -10,16 +10,16 @@ import android.widget.TextView;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.constants.enums;
|
import com.hiddenservices.genesissearchengine.production.constants.enums;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import static com.darkweb.genesissearchengine.appManager.settingManager.generalManager.settingGeneralEnums.eGeneralViewCallback.M_RESET_THEME_INVOKED_BACK;
|
import static com.hiddenservices.genesissearchengine.production.appManager.settingManager.generalManager.settingGeneralEnums.eGeneralViewCallback.M_RESET_THEME_INVOKED_BACK;
|
||||||
|
|
||||||
class settingGeneralViewController
|
class settingGeneralViewController
|
||||||
{
|
{
|
|
@ -1,28 +1,28 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.logManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import static com.darkweb.genesissearchengine.appManager.settingManager.logManager.settingLogEnums.eLogViewController.M_TOOGLE_LOG_VIEW;
|
import static com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager.settingLogEnums.eLogViewController.M_TOOGLE_LOG_VIEW;
|
||||||
|
|
||||||
public class settingLogController extends AppCompatActivity {
|
public class settingLogController extends AppCompatActivity {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.logManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager;
|
||||||
|
|
||||||
class settingLogEnums
|
class settingLogEnums
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.logManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.logManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.logManager;
|
||||||
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.sharedUIMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.sharedUIMethod;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.notificationManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.notificationManager;
|
||||||
|
|
||||||
import android.content.res.Configuration;
|
import android.content.res.Configuration;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -6,18 +6,18 @@ import android.view.View;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityContextManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityContextManager;
|
||||||
import com.darkweb.genesissearchengine.appManager.helpManager.helpController;
|
import com.hiddenservices.genesissearchengine.production.appManager.helpManager.helpController;
|
||||||
import com.darkweb.genesissearchengine.constants.constants;
|
import com.hiddenservices.genesissearchengine.production.constants.constants;
|
||||||
import com.darkweb.genesissearchengine.constants.keys;
|
import com.hiddenservices.genesissearchengine.production.constants.keys;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataController;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataController;
|
||||||
import com.darkweb.genesissearchengine.dataManager.dataEnums;
|
import com.hiddenservices.genesissearchengine.production.dataManager.dataEnums;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.helperManager.helperMethod;
|
import com.hiddenservices.genesissearchengine.production.helperManager.helperMethod;
|
||||||
import com.darkweb.genesissearchengine.appManager.activityThemeManager;
|
import com.hiddenservices.genesissearchengine.production.appManager.activityThemeManager;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.notificationManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.notificationManager;
|
||||||
|
|
||||||
class settingNotificationEnums
|
class settingNotificationEnums
|
||||||
{
|
{
|
|
@ -1,9 +1,9 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.notificationManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.notificationManager;
|
||||||
|
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginController;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginController;
|
||||||
import com.darkweb.genesissearchengine.pluginManager.pluginEnums;
|
import com.hiddenservices.genesissearchengine.production.pluginManager.pluginEnums;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.darkweb.genesissearchengine.appManager.settingManager.notificationManager;
|
package com.hiddenservices.genesissearchengine.production.appManager.settingManager.notificationManager;
|
||||||
|
|
||||||
import android.os.Build;
|
import android.os.Build;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
@ -7,8 +7,8 @@ import android.view.WindowManager;
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
import androidx.appcompat.app.AppCompatActivity;
|
||||||
import androidx.appcompat.app.AppCompatDelegate;
|
import androidx.appcompat.app.AppCompatDelegate;
|
||||||
import androidx.core.content.ContextCompat;
|
import androidx.core.content.ContextCompat;
|
||||||
import com.darkweb.genesissearchengine.constants.status;
|
import com.hiddenservices.genesissearchengine.production.constants.status;
|
||||||
import com.darkweb.genesissearchengine.eventObserver;
|
import com.hiddenservices.genesissearchengine.production.eventObserver;
|
||||||
import com.example.myapplication.R;
|
import com.example.myapplication.R;
|
||||||
import com.google.android.material.switchmaterial.SwitchMaterial;
|
import com.google.android.material.switchmaterial.SwitchMaterial;
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue