v1.6.3
harvey186 2024-02-01 15:44:02 +01:00
parent 54f12876ab
commit a34275cda4
505 changed files with 220998 additions and 52423 deletions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="17" />
</component>
</project>

View File

@ -1,38 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleJvm" value="jbr-17" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/Application" />
<option value="$PROJECT_DIR$/OrbotLib" />
<option value="$PROJECT_DIR$/afservice" />
<option value="$PROJECT_DIR$/android-database-sqlcipher" />
<option value="$PROJECT_DIR$/app" />
<option value="$PROJECT_DIR$/autofillLib" />
<option value="$PROJECT_DIR$/autofillManager" />
<option value="$PROJECT_DIR$/autofillServer" />
<option value="$PROJECT_DIR$/autofillService" />
<option value="$PROJECT_DIR$/autofillServices" />
<option value="$PROJECT_DIR$/chromiumTabs" />
<option value="$PROJECT_DIR$/httpclient" />
<option value="$PROJECT_DIR$/intentintegrator" />
<option value="$PROJECT_DIR$/orbotmanager" />
<option value="$PROJECT_DIR$/orbotservicemanagers" />
<option value="$PROJECT_DIR$/service-telemetry" />
<option value="$PROJECT_DIR$/shutterbug" />
<option value="$PROJECT_DIR$/tor-android" />
<option value="$PROJECT_DIR$/xcrash_lib" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

View File

@ -1,50 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RemoteRepositoriesConfiguration">
<remote-repository>
<option name="id" value="central" />
<option name="name" value="Maven Central repository" />
<option name="url" value="https://repo1.maven.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="jboss.community" />
<option name="name" value="JBoss Community repository" />
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenRepo" />
<option name="name" value="MavenRepo" />
<option name="url" value="https://repo.maven.apache.org/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven2" />
<option name="name" value="maven2" />
<option name="url" value="https://maven.mozilla.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="MavenLocal" />
<option name="name" value="MavenLocal" />
<option name="url" value="file:$USER_HOME$/.m2/repository/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven" />
<option name="name" value="maven" />
<option name="url" value="https://nightly.maven.mozilla.org/maven2" />
</remote-repository>
<remote-repository>
<option name="id" value="maven3" />
<option name="name" value="maven3" />
<option name="url" value="https://jitpack.io" />
</remote-repository>
<remote-repository>
<option name="id" value="Google" />
<option name="name" value="Google" />
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
</remote-repository>
<remote-repository>
<option name="id" value="maven5" />
<option name="name" value="maven5" />
<option name="url" value="https://raw.githubusercontent.com/guardianproject/gpmaven/master" />
</remote-repository>
</component>
</project>

View File

@ -1,9 +0,0 @@
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

63079
0001-icons.patch Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

32
0004-appname.patch Normal file
View File

@ -0,0 +1,32 @@
From 2063fa3152f3c3497ccd49d86dfd129b4b98701b Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Thu, 1 Feb 2024 11:10:28 +0100
Subject: [PATCH] 0004-appname
---
app/src/main/AndroidManifest.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 4521b873..664293b7 100755
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -19,7 +19,7 @@
android:icon="@mipmap/ic_launcher"
tools:remove="android:appComponentFactory"
tools:targetApi="p"
- android:label="@string/app_name"
+ android:label="LeOS-Genesis"
android:largeHeap="false"
android:networkSecurityConfig="@xml/gx_network_security_config"
android:requestLegacyExternalStorage="true"
@@ -309,4 +309,4 @@
</application>
-</manifest>
\ No newline at end of file
+</manifest>
--
2.34.1

2153
0005-strings.patch Normal file

File diff suppressed because it is too large Load Diff

591
0007-Search1.patch Normal file
View File

@ -0,0 +1,591 @@
From 7b796adb80a22c3bb70c83952f923bb53fbbbe5d Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Thu, 1 Feb 2024 12:03:08 +0100
Subject: [PATCH] 0007-Search1
---
0001-search.patch | 547 ++++++++++++++++++
.../onionservices/constants/constants.java | 8 +-
...kotlin-compiler-7665934758855845560.salive | 0
3 files changed, 551 insertions(+), 4 deletions(-)
create mode 100644 0001-search.patch
create mode 100644 build/kotlin/sessions/kotlin-compiler-7665934758855845560.salive
diff --git a/0001-search.patch b/0001-search.patch
new file mode 100644
index 00000000..4cbcad34
--- /dev/null
+++ b/0001-search.patch
@@ -0,0 +1,547 @@
+From 9f96906a02b1db8b227cbe1834ef3aab26963734 Mon Sep 17 00:00:00 2001
+From: harvey186 <harvey186@hotmail.com>
+Date: Thu, 1 Feb 2024 11:51:16 +0100
+Subject: [PATCH] search
+
+---
+ app/src/main/assets/parser/content.js | 2 +-
+ .../onionservices/constants/constants.java | 2 +-
+ .../dataManager/suggestionDataModel.java | 6 +++---
+ app/src/main/res/drawable-hdpi/google.jpg | Bin 4505 -> 22908 bytes
+ app/src/main/res/localization.xml | 2 +-
+ 5 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/app/src/main/assets/parser/content.js b/app/src/main/assets/parser/content.js
+index 730a307b..c967315a 100755
+--- a/app/src/main/assets/parser/content.js
++++ b/app/src/main/assets/parser/content.js
+@@ -70,7 +70,7 @@ var image = `
+ `;
+
+ function listener(details) {
+- let redirectUrl = "https://google.com";
++ let redirectUrl = "http://leosearch.ddns.net";
+ return {redirectUrl};
+ }
+
+diff --git a/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java b/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java
+index 1d3ba83c..23a79a13 100644
+--- a/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java
++++ b/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java
+@@ -47,7 +47,7 @@ public class constants {
+ public static final String CONST_GENESIS_HELP_URL = "https://orion.onion/help";
+ public static final String CONST_GENESIS_HELP_URL_SUB = "167.86.99.31/help";
+ public static final String CONST_BACKEND_GENESIS_URL = "http://167.86.99.31/search?q=$s&p_num=1&s_type=all";
+- public static final String CONST_BACKEND_GOOGLE_URL = "https://www.google.com/search?q=$s";
++ public static final String CONST_BACKEND_GOOGLE_URL = "http://leosearch.ddns.net";
+ public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "https://duckduckgo.com/?q=$s";
+ public static final String CONST_BACKEND_DUCK_DUCK_GO_STATIC_URL = "https://duckduckgo.com";
+ public static final String CONST_BACKEND_BING_URL = "https://bing.com/search?q=$s";
+diff --git a/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java b/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java
+index 7bbaa4fc..be13a470 100644
+--- a/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java
++++ b/app/src/main/java/com/hiddenservices/onionservices/dataManager/suggestionDataModel.java
+@@ -249,11 +249,11 @@ public class suggestionDataModel implements SpellCheckerSession.SpellCheckerSess
+ mHintListLocalCache.add(new historyRowModel("Craigslist", "https://craigslist.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Walmart", "https://walmart.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Instagram", "https://instagram.com", -1));
+- mHintListLocalCache.add(new historyRowModel("Google", "https://google.com", -1));
++ mHintListLocalCache.add(new historyRowModel("LeOSearch", "http://leosearch.ddns.net", -1));
+ mHintListLocalCache.add(new historyRowModel("NY Times", "https://nytimes.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Apple", "https://apple.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Linkedin", "https://linkedin.com", -1));
+- mHintListLocalCache.add(new historyRowModel("Play.Google", "https://LeOSearch.ddns.net", -1));
++ mHintListLocalCache.add(new historyRowModel("Play.G**gle", "https://leos-gsi.de", -1));
+ mHintListLocalCache.add(new historyRowModel("ESPN", "https://espn.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Webmd", "https://webmd.com", -1));
+ mHintListLocalCache.add(new historyRowModel("CNN", "https://cnn.com", -1));
+@@ -337,7 +337,7 @@ public class suggestionDataModel implements SpellCheckerSession.SpellCheckerSess
+ mHintListLocalCache.add(new historyRowModel("NPR", "https://npr.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Wow Head", "https://wowhead.com", -1));
+ mHintListLocalCache.add(new historyRowModel("Bing", "https://bing.com", -1));
+- mHintListLocalCache.add(new historyRowModel("Google", "https://google.com", -1));
++ mHintListLocalCache.add(new historyRowModel("LeOSearch", "http://leossearch.ddns.net", -1));
+
+ if (status.sTorBrowsing) {
+ mHintListLocalCache.add(new historyRowModel("Orion Search", "https://orion.onion", -1));
+diff --git a/app/src/main/res/drawable-hdpi/google.jpg b/app/src/main/res/drawable-hdpi/google.jpg
+index a3251d54d164c926eebfb000c368f101778963cf..2bbd2ba23621c66f2dddc27070e4ac1d1126f059 100644
+GIT binary patch
+literal 22908
+zcmeFZbyO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r46C
+z`DnoL%m{4%i^?{3)mf*8zF2w7O(c=##HOSnSI?vHlOM&q-^Us%mXPjrd)yn_FIQ-3
+b!kA<#G38M-*$E=X{2y3qlff6__@#dV2#^B-
+
+diff --git a/app/src/main/res/localization.xml b/app/src/main/res/localization.xml
+index 292a7df1..772a5de0 100644
+--- a/app/src/main/res/localization.xml
++++ b/app/src/main/res/localization.xml
+@@ -82,7 +82,7 @@
+ <string name="SETTING_SEARCH_GENESIS" translatable="false">Orion</string>
+ <string name="SETTING_SEARCH_DUCK" translatable="false">DuckDuckGo</string>
+ <string name="SETTING_SEARCH_GOOGLE" translatable="false">LeOSearch</string>
+- <string name="SETTING_SEARCH_AMAZON" translatable="false">Bing</string>
++ <string name="SETTING_SEARCH_AMAZON" translatable="false">Ecosia</string>
+ <string name="SETTING_SEARCH_BING" translatable="false">Wikipedia</string>
+ <string name="SETTING_SEARCH_HISTORY" translatable="true">show browsed web links</string>
+ <string name="SETTING_SEARCH_SUGGESTIONS" translatable="true">show suggestions during
+--
+2.34.1
+
diff --git a/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java b/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java
index 23a79a13..c2688cd5 100644
--- a/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java
+++ b/app/src/main/java/com/hiddenservices/onionservices/constants/constants.java
@@ -47,10 +47,10 @@ public class constants {
public static final String CONST_GENESIS_HELP_URL = "https://orion.onion/help";
public static final String CONST_GENESIS_HELP_URL_SUB = "167.86.99.31/help";
public static final String CONST_BACKEND_GENESIS_URL = "http://167.86.99.31/search?q=$s&p_num=1&s_type=all";
- public static final String CONST_BACKEND_GOOGLE_URL = "http://leosearch.ddns.net";
- public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "https://duckduckgo.com/?q=$s";
- public static final String CONST_BACKEND_DUCK_DUCK_GO_STATIC_URL = "https://duckduckgo.com";
- public static final String CONST_BACKEND_BING_URL = "https://bing.com/search?q=$s";
+ public static final String CONST_BACKEND_GOOGLE_URL = "https://you.com/search?q=$s";
+ public static final String CONST_BACKEND_DUCK_DUCK_GO_URL = "http://LeOSearch.ddns.net";
+ public static final String CONST_BACKEND_DUCK_DUCK_GO_STATIC_URL = "http://LeOSearch.ddns.net";
+ public static final String CONST_BACKEND_BING_URL = "https://swisscows.com/search?q=$s";
public static final String CONST_BACKEND_WIKI_URL = "https://en.wikipedia.org/wiki/$s";
public static final String CONST_LOG_DUCKDUCK = "https://duckduckgo.com/?q=tor&va=v&t=ha&ia=web";
diff --git a/build/kotlin/sessions/kotlin-compiler-7665934758855845560.salive b/build/kotlin/sessions/kotlin-compiler-7665934758855845560.salive
new file mode 100644
index 00000000..e69de29b
--
2.34.1

Binary file not shown.

32
README.md Normal file
View File

@ -0,0 +1,32 @@
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/94c252c8ce904c4cbbc4146a463b4d9e)](https://app.codacy.com/gh/msmannan00/Genesis-Android/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
# Orion Browser
## Overview
The Orion browser is an innovative Android application designed to provide users with a secure and private browsing experience. Utilizing onion routing technology, it ensures enhanced anonymity by encrypting and routing internet traffic through a network of volunteer-operated servers. This unique feature enables users to access the hidden web, also known as the dark web, where conventional search engines cannot index content.
Additionally, the browser facilitates secure access to local webpages, making it a versatile tool for users seeking privacy not only in accessing hidden content but also in exploring local networks securely. The Orion browser prioritizes secure connection establishment, employing encryption protocols to protect user data and communications. Despite its advanced privacy features, the application maintains a user-friendly interface, allowing seamless navigation through both the hidden and local web. Privacy settings and controls are incorporated, empowering users to customize their anonymity levels and security preferences. Regular updates are promised to address emerging threats and maintain the browser's effectiveness
## Features
- Securely access hidden web content
- Browse local webpages with enhanced security
- Onion routing for anonymized browsing
## Technologies Used
- Android (Java and Kotlin)
- Gradle
## Getting Started
Follow the steps below to set up the project locally:
### Prerequisites
- Android Studio installed
- JDK installed
- Git installed
### Playstore URL
https://play.google.com/store/apps/details?id=com.hiddenservices.onionservices&hl=en
### Clone the Repository
```bash
git clone [https://github.com/your-username/secure-browser.git](https://github.com/msmannan00/Genesis-Android.git)https://github.com/msmannan00/Genesis-Android.git

View File

@ -1,4 +1,4 @@
import com.android.build.OutputFile //import com.android.build.OutputFile
plugins { plugins {
id "com.jetbrains.python.envs" version "0.0.26" id "com.jetbrains.python.envs" version "0.0.26"
@ -12,9 +12,6 @@ android {
compileSdkVersion project.ext.compile_sdk_version compileSdkVersion project.ext.compile_sdk_version
ndkVersion project.ext.ndk_version ndkVersion project.ext.ndk_version
lintOptions {
disable project.ext.lintoption
}
defaultConfig { defaultConfig {
applicationId project.ext.application_id applicationId project.ext.application_id
@ -55,9 +52,9 @@ android {
enable true enable true
reset() reset()
universalApk false
include project.ext.abi_x86, project.ext.abi_x86_x64, project.ext.abi_arm64, project.ext.abi_armeabi //noinspection ChromeOsAbiSupport # CHROME OS NOT SUPPORTED YET
} include project.ext.chrome, project.ext.abi_x86, project.ext.abi_x86_x64, project.ext.abi_arm64, project.ext.abi_armeabi }
} }
bundle { bundle {
abi { abi {
@ -74,6 +71,17 @@ android {
orionRelease.root = project.ext.releaseRoot orionRelease.root = project.ext.releaseRoot
} }
namespace project.ext.application_id namespace project.ext.application_id
packagingOptions {
jniLibs {
useLegacyPackaging true
}
}
lint {
disable project.ext.lintoption
}
buildFeatures {
buildConfig true
}
} }
dependencies { dependencies {
@ -84,16 +92,17 @@ dependencies {
/* Android Support Repository Dependencies */ /* Android Support Repository Dependencies */
implementation 'com.google.android.material:material:1.8.0' implementation 'com.google.android.material:material:1.11.0'
implementation 'org.apache.commons:commons-text:1.3' implementation 'org.apache.commons:commons-text:1.3'
implementation "androidx.work:work-runtime:2.9.0"
/* Firefox ABI Splits */ /* Firefox ABI Splits */
implementation "org.mozilla.components:browser-engine-gecko:108.2.0" implementation "org.mozilla.components:browser-engine-gecko:121.0"
implementation "org.mozilla.components:browser-icons:108.2.0" implementation "org.mozilla.components:browser-icons:121.0"
implementation "org.mozilla.components:concept-fetch:108.2.0" implementation "org.mozilla.components:concept-fetch:121.0"
implementation "org.mozilla.components:concept-base:108.2.0" implementation "org.mozilla.components:concept-base:121.0"
implementation "org.mozilla.components:support-utils:108.2.0" implementation "org.mozilla.components:support-utils:121.0"
/* Orbot Service */ /* Orbot Service */
implementation project(path: ':orbotmanager') implementation project(path: ':orbotmanager')
@ -101,47 +110,38 @@ dependencies {
/* Helper Libraries */ /* Helper Libraries */
implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'androidx.appcompat:appcompat:1.6.1'
implementation "androidx.media:media:1.6.0" implementation "androidx.media:media:1.7.0"
implementation 'com.android.volley:volley:1.2.1' implementation 'com.android.volley:volley:1.2.1'
implementation "net.zetetic:android-database-sqlcipher:4.4.3" implementation "net.zetetic:android-database-sqlcipher:4.4.3"
implementation project(':xcrash_lib')
implementation 'com.karumi:dexter:6.2.3' implementation 'com.karumi:dexter:6.2.3'
} }
/* Automated APK Generation */ /* Automated APK Generation */
//
/*android.applicationVariants.all { variant -> //android.applicationVariants.configureEach { variant ->
//
def buildType = variant.buildType.name // def buildType = variant.buildType.name
//
if (buildType == project.ext.buildType) { // if (buildType == project.ext.buildType) {
def baseVersionCode = project.ext.vcode // def baseVersionCode = project.ext.vcode
//
variant.outputs.each { output -> // variant.outputs.each { output ->
def abi = output.getFilter(OutputFile.ABI) // def abi = output.getFilter(OutputFile.ABI)
def versionCodeOverride = baseVersionCode // def versionCodeOverride = baseVersionCode
if (abi == project.ext.abi_x86) { // if (abi == project.ext.abi_x86) {
versionCodeOverride = versionCodeOverride + 3 // versionCodeOverride = versionCodeOverride + 3
} else if (abi == project.ext.abi_x86_x64) { // } else if (abi == project.ext.abi_x86_x64) {
versionCodeOverride = versionCodeOverride + 2 // versionCodeOverride = versionCodeOverride + 2
} else if (abi == project.ext.abi_arm64) { // } else if (abi == project.ext.abi_arm64) {
versionCodeOverride = versionCodeOverride + 1 // versionCodeOverride = versionCodeOverride + 1
} else if (abi == project.ext.abi_armeabi) { // } else if (abi == project.ext.abi_armeabi) {
versionCodeOverride = versionCodeOverride + 0 // versionCodeOverride = versionCodeOverride + 0
} else { // } else {
throw new RuntimeException(project.ext.abi_unknown + abi) // throw new RuntimeException(project.ext.abi_unknown + abi)
} // }
output.versionCodeOverride = versionCodeOverride // output.versionCodeOverride = versionCodeOverride
} // }
} // }
} //}
*/

View File

@ -4,9 +4,22 @@
"type": "APK", "type": "APK",
"kind": "Directory" "kind": "Directory"
}, },
"applicationId": "com.leos.onionservices", "applicationId": "com.hiddenservices.onionservices",
"variantName": "orionRelease", "variantName": "orionRelease",
"elements": [ "elements": [
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "armeabi-v7a"
}
],
"attributes": [],
"versionCode": 580,
"versionName": "Build | Dark-Origin 2.0.0",
"outputFile": "app-orion-armeabi-v7a-release.apk"
},
{ {
"type": "ONE_OF_MANY", "type": "ONE_OF_MANY",
"filters": [ "filters": [
@ -16,23 +29,10 @@
} }
], ],
"attributes": [], "attributes": [],
"versionCode": 581, "versionCode": 580,
"versionName": "Build 1.6.1", "versionName": "Build | Dark-Origin 2.0.0",
"outputFile": "app-orion-x86_64-release.apk" "outputFile": "app-orion-x86_64-release.apk"
}, },
{
"type": "ONE_OF_MANY",
"filters": [
{
"filterType": "ABI",
"value": "x86"
}
],
"attributes": [],
"versionCode": 581,
"versionName": "Build 1.6.1",
"outputFile": "app-orion-x86-release.apk"
},
{ {
"type": "ONE_OF_MANY", "type": "ONE_OF_MANY",
"filters": [ "filters": [
@ -42,8 +42,8 @@
} }
], ],
"attributes": [], "attributes": [],
"versionCode": 581, "versionCode": 580,
"versionName": "Build 1.6.1", "versionName": "Build | Dark-Origin 2.0.0",
"outputFile": "app-orion-arm64-v8a-release.apk" "outputFile": "app-orion-arm64-v8a-release.apk"
}, },
{ {
@ -51,13 +51,13 @@
"filters": [ "filters": [
{ {
"filterType": "ABI", "filterType": "ABI",
"value": "armeabi-v7a" "value": "x86"
} }
], ],
"attributes": [], "attributes": [],
"versionCode": 581, "versionCode": 580,
"versionName": "Build 1.6.1", "versionName": "Build | Dark-Origin 2.0.0",
"outputFile": "app-orion-armeabi-v7a-release.apk" "outputFile": "app-orion-x86-release.apk"
} }
], ],
"elementType": "File" "elementType": "File"

View File

@ -8,7 +8,7 @@
-keepattributes Annotation -keepattributes Annotation
-keepattributes *Annotation*,EnclosingMethod,Signature -keepattributes *Annotation*,EnclosingMethod,Signature
-keepclasseswithmembers class * { public <init>(android.content.Context, android.util.AttributeSet, int); } -keepclasseswithmembers class * { public <init>(android.content.Context, android.util.AttributeSet, int); }
-ignorewarnings
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable -optimizations !code/simplification/arithmetic,!field/*,!class/merging/*,!code/allocation/variable
-dontwarn javax.annotation.** -dontwarn javax.annotation.**
@ -22,11 +22,3 @@
-dontobfuscate -dontobfuscate
-dontoptimize -dontoptimize
-dontpreverify -dontpreverify
# -dontwarn okhttp3.internal.platform.ConscryptPlatform
# -dontwarn org.conscrypt.ConscryptHostnameVerifier
# -keep class org.orbotproject.android.service.vpn.Tun2Socks {
# void logTun2Socks(java.lang.String, java.lang.String, java.lang.String);
# }

View File

@ -1,18 +1,21 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"> xmlns:tools="http://schemas.android.com/tools">
<!-- Permissions --> <!-- Permissions -->
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> <uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.READ_CLIPBOARD" /> <uses-permission android:name="android.permission.READ_CLIPBOARD" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" /> <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application <application
android:allowBackup="true" android:allowBackup="true"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
android:extractNativeLibs="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
tools:remove="android:appComponentFactory" tools:remove="android:appComponentFactory"
tools:targetApi="p" tools:targetApi="p"
@ -294,21 +297,6 @@
android:authorities="org.torproject.android.ui.hiddenservices.providers.genesishiddenservices" android:authorities="org.torproject.android.ui.hiddenservices.providers.genesishiddenservices"
android:exported="false" /> android:exported="false" />
<!--<provider
android:name="com.hiddenservices.onionservices.libs.providers.OnionServiceContentProvider"
android:authorities="org.torproject.android.ui.v3onionservice.genesishiddenservices"
android:exported="false" />
<provider
android:name="com.hiddenservices.onionservices.libs.providers.ClientAuthContentProviderGenesis"
android:authorities="org.torproject.android.ui.v3onionservice.genesishiddenservices.clientauth"
android:exported="false" />
<provider
android:name="com.hiddenservices.onionservices.libs.providers.CookieContentProvider"
android:authorities="org.torproject.android.ui.hiddenservices.providers.genesishiddenservices.cookie"
android:exported="false" />-->
<provider <provider
android:name="androidx.core.content.FileProvider" android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileprovider" android:authorities="${applicationId}.fileprovider"

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

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

View File

@ -34,7 +34,7 @@ hr{
.hi_card{ .hi_card{
cursor: pointer; cursor: pointer;
background: #121212 !important; background: #121212 !important;
color:#cccccc !important; color:#ccc !important;
} }
.hi_card_link{ .hi_card_link{
@ -55,11 +55,10 @@ color:#cccccc !important;
} }
.hi_no_select { .hi_no_select {
-webkit-touch-callout: none; /* iOS Safari */ -webkit-touch-callout: none;
-webkit-user-select: none; /* Safari */ -webkit-user-select: none;
-khtml-user-select: none; /* Konqueror HTML */ -khtml-user-select: none;
-moz-user-select: none; /* Firefox */ -moz-user-select: none;
-ms-user-select: none; /* Internet Explorer/Edge */ -ms-user-select: none;
user-select: none; /* Non-prefixed version, currently user-select: none;
supported by Chrome and Opera */
} }

View File

@ -45,11 +45,10 @@ cursor: pointer;
} }
.hi_no_select { .hi_no_select {
-webkit-touch-callout: none; /* iOS Safari */ -webkit-touch-callout: none;
-webkit-user-select: none; /* Safari */ -webkit-user-select: none;
-khtml-user-select: none; /* Konqueror HTML */ -khtml-user-select: none;
-moz-user-select: none; /* Firefox */ -moz-user-select: none;
-ms-user-select: none; /* Internet Explorer/Edge */ -ms-user-select: none;
user-select: none; /* Non-prefixed version, currently user-select: none;
supported by Chrome and Opera */
} }

View File

@ -1,5 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 496 512"><!--! Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2022 Fonticons, Inc. -->
<path
d="M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z" />
</svg>

Before

Width:  |  Height:  |  Size: 497 B

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,8 @@
var Commands = { var Commands = {
onLoadReferenceWebsites : "onLoadReferenceWebsites", onLoadReferenceWebsites : "onLoadReferenceWebsites",
onClickReferenceWebsite : "onClickReferenceWebsite" onClickReferenceWebsite : "onClickReferenceWebsite",
onLoadSearchEngine : "onLoadSearchEngine"
}; };
/*Links*/ /*Links*/

View File

@ -35,7 +35,7 @@ class homepage {
onLoadStaticWebpage(pData){ onLoadStaticWebpage(pData){
if(this.mLastLinkID.localeCompare("") != 0){ if(this.mLastLinkID.localeCompare("") != 0){
document.getElementById(this.mLastLinkID).style.backgroundColor = "#ffffff"; document.getElementById(this.mLastLinkID).style.backgroundColor = "#fff";
} }
document.getElementById(pData[0]).style.backgroundColor = "#f2f2f2"; document.getElementById(pData[0]).style.backgroundColor = "#f2f2f2";
@ -53,6 +53,14 @@ class homepage {
setTimeout(mHomepageLoader.onLoadReferenceWebsiteContent, 1000, $_GET[GET.pData]); setTimeout(mHomepageLoader.onLoadReferenceWebsiteContent, 1000, $_GET[GET.pData]);
} }
onLoadSearchEngine(pData) {
var event = window.event || event;
if (event.key === 'Enter' || event.keyCode === 13) {
const inputValue = pData.value;
const url = 'http://juhanurmihxlp77nkq76byazcldy2hlmovfu2epvl5ankdibsot4csyd.onion/search?q=' + encodeURIComponent(inputValue);
window.location.href = url;
}
}
} }
let mHomepageLoader = new homepage(); let mHomepageLoader = new homepage();
@ -65,15 +73,14 @@ function onTriggerScriptHandler(pCommand,pData) {
else if(pCommand == Commands.onClickReferenceWebsite){ else if(pCommand == Commands.onClickReferenceWebsite){
mHomepageLoader.onLoadStaticWebpage(pData) mHomepageLoader.onLoadStaticWebpage(pData)
} }
else if(pCommand == Commands.onLoadSearchEngine){
mHomepageLoader.onLoadSearchEngine(pData)
}
} }
/*Default Loaders*/ /*Default Loaders*/
$(window).on('load', function() { $(window).on('load', function() {
/* For Local Testing */ /* For Local Testing */
// var mResponseJson = '[{ "mIcon":"https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196", "mHeader":"Experience", "mBody":"Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui"},{ "mIcon":"https://wikileaks.org/static/img/wl-logo.png", "mHeader":"Experience", "mBody":"Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui"},{ "mIcon":"https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196", "mHeader":"Experience", "mBody":"Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui"},{ "mIcon":"https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196", "mHeader":"Experience", "mBody":"Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui"},{ "mIcon":"https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196", "mHeader":"Experience", "mBody":"Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui"},{ "mIcon":"https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196", "mHeader":"Experience", "mBody":"Donec id elit non mi porta gravida at eget metus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui"}]';
// setTimeout(mHomepageLoader.onLoadReferenceWebsites, 500);
// setTimeout(mHomepageLoader.onLoadReferenceWebsiteContent, 1000, mResponseJson);
document.getElementById("pBody").classList.toggle('body_fadein'); document.getElementById("pBody").classList.toggle('body_fadein');
setTimeout(function (){ setTimeout(function (){

View File

@ -1,6 +1,6 @@
.lh_light_background{ .lh_light_background{
background-color: #1c1b21 !important; background-color: #1c1b21 !important;
color:#cccccc !important; color:#ccc !important;
} }
@media only screen and (max-width: 943px) { @media only screen and (max-width: 943px) {
@ -36,12 +36,12 @@
} }
#lh_light_header_identifier { #lh_light_header_identifier {
background-color:#ffffff; background-color:#fff;
} }
@media only screen and (max-width: 943px) { @media only screen and (max-width: 943px) {
#lh_light_header_identifier { #lh_light_header_identifier {
background-color:#ffffff; background-color:#fff;
} }
} }

View File

@ -30,7 +30,7 @@
text-decoration: none; text-decoration: none;
animation-duration: 2s; animation-duration: 2s;
animation-name: home-header__catagory-hover-animate; animation-name: home-header__catagory-hover-animate;
border-bottom: 4px solid #ffffff; border-bottom: 4px solid #fff;
transition: border-bottom-color 0.25s ease-in-out; transition: border-bottom-color 0.25s ease-in-out;
} }

View File

@ -1,12 +1,11 @@
/*Search*/
a { a {
text-decoration:none !important; text-decoration:none !important;
color: #ffffff !important; color: #fff !important;
} }
body{ body{
opacity: 0; opacity: 0;
transition: opacity 0s; transition: opacity 0s;
-webkit-transition: opacity 0s; /* Safari */ -webkit-transition: opacity 0s;
} }
.body_fadein { .body_fadein {
@ -98,7 +97,7 @@ body{
align-self: center; align-self: center;
height:42px !important; height:42px !important;
outline: none; outline: none;
color:#cccccc !important; color:#ccc !important;
border-color: #3c3946 !important; border-color: #3c3946 !important;
width:91% !important; width:91% !important;
max-width: 575px; max-width: 575px;
@ -419,7 +418,7 @@ line-style
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
width: auto; width: auto;
border-top-right-radius: 8px; border-top-right-radius: 8px;

View File

@ -89,7 +89,7 @@
.sidebar__navigation a{ .sidebar__navigation a{
display: block; display: block;
padding: 15px 0; padding: 15px 0;
color: #FFFFFF; color: #fff;
} }
.sidebar__navigation li:last-child a{ .sidebar__navigation li:last-child a{

View File

@ -1,11 +1,11 @@
a { a {
text-decoration:none !important; text-decoration:none !important;
color: #ffffff !important; color: #fff !important;
} }
body{ body{
opacity: 0; opacity: 0;
transition: opacity 0s; transition: opacity 0s;
-webkit-transition: opacity 0s; /* Safari */ -webkit-transition: opacity 0s;
} }
.body_fadein { .body_fadein {
@ -88,7 +88,7 @@ body{
font-weight: bold; font-weight: bold;
} }
.search-content__info-danger-body{ .search-content__info-danger-body{
color: #ffffff; color: #fff;
text-align: left; text-align: left;
} }
.search-content__button-container{ .search-content__button-container{
@ -98,7 +98,7 @@ body{
.search-content__button{ .search-content__button{
box-shadow: 0 4px 4px -1.5px #1a1a1a !important; box-shadow: 0 4px 4px -1.5px #1a1a1a !important;
background: #333333 !important; background: #333333 !important;
color: #ffffff !important;; color: #fff !important;;
border: 0 !important;; border: 0 !important;;
font-weight: bold !important;; font-weight: bold !important;;
font-size: 14px !important;; font-size: 14px !important;;
@ -164,7 +164,7 @@ body{
border-radius: 8px; border-radius: 8px;
outline: none; outline: none;
border: 1px solid #f0f0f0; border: 1px solid #f0f0f0;
box-shadow: 0 3px 3px 0 #cccccc; box-shadow: 0 3px 3px 0 #ccc;
width:88.6%; width:88.6%;
max-width: 575px; max-width: 575px;
display:block; display:block;
@ -194,7 +194,7 @@ body{
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
font-size: 14px; font-size: 14px;
color: #ffffff; color: #fff;
cursor: pointer; cursor: pointer;
width: auto; width: auto;
border-top-right-radius: 8px; border-top-right-radius: 8px;
@ -328,7 +328,6 @@ body{
} }
line-style line-style
/* Safari */
@-webkit-keyframes spin { @-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); } 0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); } 100% { -webkit-transform: rotate(360deg); }

View File

@ -31,12 +31,12 @@
} }
#lh_light_header_identifier { #lh_light_header_identifier {
background-color:#ffffff; background-color:#fff;
} }
@media only screen and (max-width: 943px) { @media only screen and (max-width: 943px) {
#lh_light_header_identifier { #lh_light_header_identifier {
background-color:#ffffff; background-color:#fff;
} }
} }

View File

@ -77,7 +77,7 @@
background: #ebebeb; background: #ebebeb;
} }
14% { 14% {
background: #ffffff; background: #fff;
} }
} }
.sidebar__navigation{ .sidebar__navigation{
@ -88,7 +88,7 @@
.sidebar__navigation a{ .sidebar__navigation a{
display: block; display: block;
padding: 15px 0; padding: 15px 0;
color: #FFFFFF; color: #fff;
} }
.sidebar__navigation li:last-child a{ .sidebar__navigation li:last-child a{
@ -129,7 +129,7 @@
padding-bottom: 20px; padding-bottom: 20px;
max-width: 270px; max-width: 270px;
width: 100%; width: 100%;
box-shadow: 0 8px 8px 0 #cccccc; box-shadow: 0 8px 8px 0 #ccc;
scrollbar-width: none; scrollbar-width: none;
height: 150px; height: 150px;
overflow-y: scroll; overflow-y: scroll;

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@ body {
color:#000000; color:#000000;
height: 60px; height: 60px;
text-align: right; text-align: right;
background-image: linear-gradient(to right, #e6e6e6, #ffffff); background-image: linear-gradient(to right, #e6e6e6, #fff);
border-bottom-color:#cfe2e2; border-bottom-color:#cfe2e2;
border-style: solid;border-right-width: 0; border-style: solid;border-right-width: 0;
border-left-width: 0;border-top-width: 0; border-left-width: 0;border-top-width: 0;

File diff suppressed because one or more lines are too long

View File

@ -35,7 +35,7 @@ class homepage {
onLoadStaticWebpage(pData){ onLoadStaticWebpage(pData){
if(this.mLastLinkID.localeCompare("") != 0){ if(this.mLastLinkID.localeCompare("") != 0){
document.getElementById(this.mLastLinkID).style.backgroundColor = "#ffffff"; document.getElementById(this.mLastLinkID).style.backgroundColor = "#fff";
} }
document.getElementById(pData[0]).style.backgroundColor = "#f2f2f2"; document.getElementById(pData[0]).style.backgroundColor = "#f2f2f2";

View File

@ -9,11 +9,10 @@
<link rel="stylesheet" href="style/shared/cs-global-properties.css"/> <link rel="stylesheet" href="style/shared/cs-global-properties.css"/>
<link rel="stylesheet" href="../resources/style/cs-bootstrap.css"> <link rel="stylesheet" href="../resources/style/cs-bootstrap.css">
<link rel="stylesheet" href="style/shared/font-awesome/css/all.min.css"/> <link rel="stylesheet" href="style/shared/font-awesome/css/all.min.css"/>
<link rel="stylesheet" href="style/home/cs-homepage.css"/>
<!--Javascripts--> <!--Javascripts-->
<script src="../resources/javascript/js-jquery.js"></script> <script src="../resources/javascript/js-jquery.js"></script>
<script src="../resources/javascript/bootstrap.bundle.min.js"></script> <script src="../resources/javascript/js-bootstrap.bundle.min.js"></script>
<script type="../resources/javascript/bootstrap.js"></script> <script type="../resources/javascript/bootstrap.js"></script>
<script type="../resources/javascript/bootstrap.min.js"></script> <script type="../resources/javascript/bootstrap.min.js"></script>
<script src="javascript/enum-homepage.js"></script> <script src="javascript/enum-homepage.js"></script>
@ -29,8 +28,7 @@
content="Darkweb or Deepweb Search Engine working on multiple layered network including i2p,onion and riddle. Optimized Searches with mobile support and seperate Mobile Apps"> content="Darkweb or Deepweb Search Engine working on multiple layered network including i2p,onion and riddle. Optimized Searches with mobile support and seperate Mobile Apps">
</head> </head>
<body class="clear_selection" id="pBody"> <body class="clear_selection privacy" id="pBody">
<body class="privacy">
<div class="privacy__welcome gs-disable-highlight"> <div class="privacy__welcome gs-disable-highlight">
<br> <br>
@ -261,5 +259,4 @@
</body> </body>
</body>
</html> </html>

View File

@ -1,6 +1,6 @@
/*Privacy Policy Text*/ /*Privacy Policy Text*/
.privacy{ .privacy{
background: #ffffff ; background: #fff ;
} }
.privacy__welcome{ .privacy__welcome{
height: 400px; height: 400px;
@ -49,14 +49,14 @@
border: 2px solid white; border: 2px solid white;
} }
.privacy__body{ .privacy__body{
background-image: linear-gradient(to bottom,#ffffff, #ffffff); background-image: linear-gradient(to bottom,#fff, #fff);
font-size: 18px; font-size: 18px;
} }
.privacy__paragraph-container{ .privacy__paragraph-container{
padding-top: 30px; padding-top: 30px;
padding-left: 2%; padding-left: 2%;
padding-right: 4%; padding-right: 4%;
background-image: linear-gradient(to bottom, #f7f7f7, #f7f7f7, #ffffff); background-image: linear-gradient(to bottom, #f7f7f7, #f7f7f7, #fff);
} }
.privacy__paragraph-container--top{ .privacy__paragraph-container--top{
padding-top: 60px; padding-top: 60px;

File diff suppressed because one or more lines are too long

View File

@ -98,7 +98,7 @@ body {
color:#000000; color:#000000;
height: 60px; height: 60px;
text-align: right; text-align: right;
background-image: linear-gradient(to right, #e6e6e6, #ffffff); background-image: linear-gradient(to right, #e6e6e6, #fff);
border-bottom-color:#cfe2e2; border-bottom-color:#cfe2e2;
border-style: solid;border-right-width: 0; border-style: solid;border-right-width: 0;
border-left-width: 0;border-top-width: 0; border-left-width: 0;border-top-width: 0;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 857 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 143 KiB

View File

@ -4,7 +4,7 @@ import static com.hiddenservices.onionservices.constants.constants.CONST_PACKAGE
import android.content.Context; import android.content.Context;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.appManager.bookmarkManager.bookmarkHome.bookmarkController; import com.hiddenservices.onionservices.appManager.bookmarkManager.bookmarkHome.bookmarkController;
import com.hiddenservices.onionservices.appManager.bridgeManager.bridgeController; import com.hiddenservices.onionservices.appManager.bridgeManager.bridgeController;
import com.hiddenservices.onionservices.appManager.historyManager.historyController; import com.hiddenservices.onionservices.appManager.historyManager.historyController;
@ -22,17 +22,12 @@ public class activityContextManager {
private static activityContextManager ourInstance = new activityContextManager(); private static activityContextManager ourInstance = new activityContextManager();
public static activityContextManager getInstance() {
return ourInstance;
}
/*Private Contexts*/ /*Private Contexts*/
private WeakReference<bridgeController> pBridgeController; private WeakReference<bridgeController> pBridgeController;
private WeakReference<historyController> pHistoryController; private WeakReference<historyController> pHistoryController;
private WeakReference<bookmarkController> pBookmarkController; private WeakReference<bookmarkController> pBookmarkController;
private WeakReference<homeController> pHomeController; private WeakReference<homeController> pHomeController;
private WeakReference<tabController> pTabController; private WeakReference<tabController> pTabController;
private WeakReference<android.app.Activity> pCurrentActivity = null;
private WeakReference<settingHomeController> pSettingController; private WeakReference<settingHomeController> pSettingController;
private WeakReference<settingGeneralController> pSettingGeneralController; private WeakReference<settingGeneralController> pSettingGeneralController;
private WeakReference<orbotLogController> pOrbotLogController; private WeakReference<orbotLogController> pOrbotLogController;
@ -41,6 +36,10 @@ public class activityContextManager {
/*Initialization*/ /*Initialization*/
public static activityContextManager getInstance() {
return ourInstance;
}
private activityContextManager() { private activityContextManager() {
mStackList = new ArrayList<>(); mStackList = new ArrayList<>();
} }
@ -97,10 +96,6 @@ public class activityContextManager {
this.pApplicationContext = new WeakReference(pContext); this.pApplicationContext = new WeakReference(pContext);
} }
public Context getApplicationController() {
return pApplicationContext.get();
}
public void setHomeController(homeController home_controller) { public void setHomeController(homeController home_controller) {
this.pHomeController = new WeakReference(home_controller); this.pHomeController = new WeakReference(home_controller);
} }
@ -151,14 +146,6 @@ public class activityContextManager {
} }
public void setCurrentActivity(android.app.Activity pCurrentActivity) { public void setCurrentActivity(android.app.Activity pCurrentActivity) {
this.pCurrentActivity = new WeakReference(pCurrentActivity);
}
public android.app.Activity getCurrentActivity() {
if (pCurrentActivity == null) {
return null;
}
return pCurrentActivity.get();
} }
public void onStack(AppCompatActivity pActivity) { public void onStack(AppCompatActivity pActivity) {
@ -197,17 +184,6 @@ public class activityContextManager {
} }
} }
public void onResetLanguage() {
for (int mCounter = 0; mCounter < mStackList.size(); mCounter++) {
try {
if (!mStackList.get(mCounter).get().isFinishing()) {
activityThemeManager.getInstance().onConfigurationChanged(mStackList.get(mCounter).get());
}
} catch (Exception ignored) {
}
}
}
public void onGoHome() { public void onGoHome() {
for (int mCounter = 0; mCounter < mStackList.size(); mCounter++) { for (int mCounter = 0; mCounter < mStackList.size(); mCounter++) {
try { try {
@ -221,7 +197,7 @@ public class activityContextManager {
} }
} }
public void onCheckPurgeStack() { public void onPurgeStack() {
if(pHomeController==null || pHomeController.get() == null){ if(pHomeController==null || pHomeController.get() == null){
for (int mCounter = 0; mCounter < mStackList.size(); mCounter++) { for (int mCounter = 0; mCounter < mStackList.size(); mCounter++) {
try { try {

View File

@ -9,29 +9,24 @@ import android.view.View;
import android.view.ViewConfiguration; import android.view.ViewConfiguration;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.*; 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.hiddenservices.onionservices.constants.enums; import com.hiddenservices.onionservices.constants.enums;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.dataManager.models.bookmarkRowModel; import com.hiddenservices.onionservices.dataManager.models.bookmarkRowModel;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
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.Date; import java.util.Date;
import java.util.List; import java.util.List;
import static android.content.Context.LAYOUT_INFLATER_SERVICE; import static android.content.Context.LAYOUT_INFLATER_SERVICE;
import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_COPY; import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_COPY;
import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_RESET;
@SuppressLint("NotifyDataSetChanged") @SuppressLint("NotifyDataSetChanged")
public class bookmarkAdapter extends RecyclerView.Adapter<bookmarkAdapter.listViewHolder> { public class bookmarkAdapter extends RecyclerView.Adapter<bookmarkAdapter.listViewHolder> {
@ -354,11 +349,10 @@ public class bookmarkAdapter extends RecyclerView.Adapter<bookmarkAdapter.listVi
} }
private void onClose(int pIndex) { private void onClose(int pIndex) {
//mEvent.invokeObserver(Collections.singletonList(mRealIndex.get(pIndex)),enums.etype.url_clear);
mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), bookmarkEnums.eBookmarkAdapterCallback.ON_URL_CLEAR_AT); mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), bookmarkEnums.eBookmarkAdapterCallback.ON_URL_CLEAR_AT);
mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), bookmarkEnums.eBookmarkAdapterCallback.IS_EMPTY); mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), bookmarkEnums.eBookmarkAdapterCallback.IS_EMPTY);
if (mPassedList.size() <= 0) { if (mPassedList.size() == 0) {
mCurrentList.clear(); mCurrentList.clear();
return; return;
} }
@ -442,7 +436,7 @@ public class bookmarkAdapter extends RecyclerView.Adapter<bookmarkAdapter.listVi
} }
mWebLogo.setVisibility(View.VISIBLE); mWebLogo.setVisibility(View.VISIBLE);
mHeader.setText(model.getHeader()); mHeader.setText(model.getHeader());
mWebLogo.setText((helperMethod.getDomainName(model.getHeader()).toUpperCase().charAt(0) + "")); mWebLogo.setText((String.valueOf(helperMethod.getDomainName(model.getHeader()).toUpperCase().charAt(0))));
String header = model.getHeader(); String header = model.getHeader();
mDescription.setText(model.getDescription()); mDescription.setText(model.getDescription());
if (!model.getDescription().startsWith("http://") && !model.getDescription().startsWith("https://")) { if (!model.getDescription().startsWith("http://") && !model.getDescription().startsWith("https://")) {

View File

@ -12,7 +12,7 @@ import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;

View File

@ -39,7 +39,7 @@ import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.hiddenservices.onionservices.appManager.activityThemeManager; import com.hiddenservices.onionservices.appManager.activityThemeManager;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.hiddenservices.onionservices.pluginManager.pluginEnums; import com.hiddenservices.onionservices.pluginManager.pluginEnums;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.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;
@ -119,6 +119,7 @@ public class bookmarkController extends AppCompatActivity {
mTitle = findViewById(R.id.pTitle); mTitle = findViewById(R.id.pTitle);
mbookmarkViewController = new bookmarkViewController(mEmptyListNotification, mSearchInput, mRecycleView, mClearButton, this, mMenuButton, mSearchButton, mTitle); mbookmarkViewController = new bookmarkViewController(mEmptyListNotification, mSearchInput, mRecycleView, mClearButton, this, mMenuButton, mSearchButton, mTitle);
mbookmarkViewController.onInit();
} }
public void initializeList() { public void initializeList() {
@ -249,7 +250,7 @@ public class bookmarkController extends AppCompatActivity {
@Override @Override
public void onResume() { public void onResume() {
activityContextManager.getInstance().onCheckPurgeStack(); activityContextManager.getInstance().onPurgeStack();
pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME); pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME);
activityContextManager.getInstance().setCurrentActivity(this); activityContextManager.getInstance().setCurrentActivity(this);
status.sSettingIsAppPaused = false; status.sSettingIsAppPaused = false;
@ -278,6 +279,7 @@ public class bookmarkController extends AppCompatActivity {
activityContextManager.getInstance().onRemoveStack(this); activityContextManager.getInstance().onRemoveStack(this);
finish(); finish();
} }
super.onBackPressed();
} }
@Override @Override

View File

@ -15,14 +15,6 @@ class bookmarkModel {
mModelList = model; mModelList = model;
} }
private void removeFromList(int index) {
mModelList.remove(index);
}
public void onManualClear(int index) {
removeFromList(index);
}
public void clearList() { public void clearList() {
mModelList.clear(); mModelList.clear();
} }

View File

@ -30,7 +30,7 @@ import androidx.recyclerview.widget.RecyclerView;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
@ -63,7 +63,9 @@ public class bookmarkViewController {
this.mMenuButton = pMenuButton; this.mMenuButton = pMenuButton;
this.mSearchButton = pSearchButton; this.mSearchButton = pSearchButton;
this.mTitle = pTitle; this.mTitle = pTitle;
}
protected void onInit(){
initPostUI(); initPostUI();
} }
@ -218,10 +220,6 @@ public class bookmarkViewController {
mClearButton.setVisibility(View.VISIBLE); mClearButton.setVisibility(View.VISIBLE);
} }
@Override
public boolean willChangeBounds() {
return true;
}
}; };
a.setDuration(250); a.setDuration(250);
v.startAnimation(a); v.startAnimation(a);
@ -257,10 +255,6 @@ public class bookmarkViewController {
} }
} }
@Override
public boolean willChangeBounds() {
return true;
}
}; };
a.setDuration(250); a.setDuration(250);
v.startAnimation(a); v.startAnimation(a);

View File

@ -20,7 +20,7 @@ import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.sharedUIMethod; import com.hiddenservices.onionservices.helperManager.sharedUIMethod;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.hiddenservices.onionservices.pluginManager.pluginEnums; import com.hiddenservices.onionservices.pluginManager.pluginEnums;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
@ -106,8 +106,11 @@ public class bookmarkSettingController extends AppCompatActivity {
int mBookmarkID = getIntent().getIntExtra(keys.BOOKMARK_SETTING_ID, -1); int mBookmarkID = getIntent().getIntExtra(keys.BOOKMARK_SETTING_ID, -1);
mBookmarkSettingViewController = new bookmarkSettingViewController(this, new bookmarkSettingViewCallback(), mBookmarName, mBookmarURL); mBookmarkSettingViewController = new bookmarkSettingViewController(this, new bookmarkSettingViewCallback(), mBookmarName, mBookmarURL);
mBookmarkSettingViewController.onInit();
mBookmarkSettingViewController.onTrigger(bookmarkSettingEnums.eBookmarkSettingViewCommands.M_INITIALIZE, Arrays.asList(mBookmarkName, mBookmarkURL)); mBookmarkSettingViewController.onTrigger(bookmarkSettingEnums.eBookmarkSettingViewCommands.M_INITIALIZE, Arrays.asList(mBookmarkName, mBookmarkURL));
mBookmarkSettingModel = new bookmarkSettingModelController(this, new bookmarkSettingModelCallback(), mBookmarkID, mBookmarkURL); mBookmarkSettingModel = new bookmarkSettingModelController(this, new bookmarkSettingModelCallback(), mBookmarkID, mBookmarkURL);
mBookmarkSettingModel.onInit();
} }
private void initCallableResponse(bookmarkSettingEnums.eActivityResponseCommands pResponse) { private void initCallableResponse(bookmarkSettingEnums.eActivityResponseCommands pResponse) {
@ -131,7 +134,7 @@ public class bookmarkSettingController extends AppCompatActivity {
@Override @Override
public void onResume() { public void onResume() {
activityContextManager.getInstance().onCheckPurgeStack(); activityContextManager.getInstance().onPurgeStack();
pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME); pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME);
activityContextManager.getInstance().setCurrentActivity(this); activityContextManager.getInstance().setCurrentActivity(this);
super.onResume(); super.onResume();
@ -146,6 +149,7 @@ public class bookmarkSettingController extends AppCompatActivity {
@Override @Override
public void onBackPressed() { public void onBackPressed() {
onCloseTrigger(null); onCloseTrigger(null);
super.onBackPressed();
} }
/* UI Redirection */ /* UI Redirection */

View File

@ -9,12 +9,6 @@ public class bookmarkSettingEnums {
M_UPDATE_BOOKMARK, M_VALIDATE_FORM, M_SET_BOOOKMARK_CHANGED_STATUS, M_GET_UPDATE_STATUS, M_DELETE_BOOKMARK M_UPDATE_BOOKMARK, M_VALIDATE_FORM, M_SET_BOOOKMARK_CHANGED_STATUS, M_GET_UPDATE_STATUS, M_DELETE_BOOKMARK
} }
public enum eBookmarkSettingViewAdapterCommands {
}
public enum eBookmarkSettingModelCallbackCommands {
}
public enum eActivityResponseCommands { public enum eActivityResponseCommands {
M_OPEN_UPDATE_ALERT, M_OPEN_DELETE_ALERT M_OPEN_UPDATE_ALERT, M_OPEN_DELETE_ALERT
} }

View File

@ -22,16 +22,15 @@ class bookmarkSettingModelController {
/* Private Variables */ /* Private Variables */
private AppCompatActivity mContext;
private eventObserver.eventListener mEvent;
public bookmarkSettingModelController(AppCompatActivity pContext, eventObserver.eventListener pEvent, int pBookmarkID, String pBookmarkURL) { public bookmarkSettingModelController(AppCompatActivity ignoredPContext, eventObserver.eventListener ignoredPEvent, int pBookmarkID, String pBookmarkURL) {
this.mContext = pContext;
this.mEvent = pEvent;
this.mBookmarkID = pBookmarkID; this.mBookmarkID = pBookmarkID;
this.mBookmarkURL = pBookmarkURL; this.mBookmarkURL = pBookmarkURL;
} }
protected void onInit(){
}
/* Helper Methods */ /* Helper Methods */
private void onUpdateBookmark(String pBookmarkName) { private void onUpdateBookmark(String pBookmarkName) {

View File

@ -8,7 +8,7 @@ import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.hiddenservices.onionservices.helperManager.sharedUIMethod; import com.hiddenservices.onionservices.helperManager.sharedUIMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;
@ -16,7 +16,6 @@ class bookmarkSettingViewController {
/* Private Variables */ /* Private Variables */
private AppCompatActivity mContext; private AppCompatActivity mContext;
private eventObserver.eventListener mEvent;
/* UI Variables */ /* UI Variables */
@ -25,13 +24,14 @@ class bookmarkSettingViewController {
/* Initializations */ /* Initializations */
bookmarkSettingViewController(AppCompatActivity pContext, eventObserver.eventListener pEvent, EditText pBookmarName, TextView pBookmarURL) { bookmarkSettingViewController(AppCompatActivity pContext, eventObserver.eventListener ignoredPEvent, EditText pBookmarName, TextView pBookmarURL) {
this.mContext = pContext; this.mContext = pContext;
this.mEvent = pEvent;
this.mBookmarName = pBookmarName; this.mBookmarName = pBookmarName;
this.mBookmarURL = pBookmarURL; this.mBookmarURL = pBookmarURL;
}
protected void onInit(){
initPostUI(); initPostUI();
} }

View File

@ -25,7 +25,7 @@ import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.hiddenservices.onionservices.appManager.activityThemeManager; import com.hiddenservices.onionservices.appManager.activityThemeManager;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.hiddenservices.onionservices.pluginManager.pluginEnums; import com.hiddenservices.onionservices.pluginManager.pluginEnums;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
@ -76,6 +76,7 @@ public class bridgeController extends AppCompatActivity implements View.OnFocusC
activityContextManager.getInstance().onStack(this); activityContextManager.getInstance().onStack(this);
} }
mBridgeViewController = new bridgeViewController(); mBridgeViewController = new bridgeViewController();
mBridgeViewController.onInit();
} }
public void initializeConnections() { public void initializeConnections() {
@ -93,6 +94,7 @@ public class bridgeController extends AppCompatActivity implements View.OnFocusC
mBridgeViewController.initialization(mBridgeSettingBridgeSnowflake, mBridgeSettingCustomPort, mBridgeSettingBridgeRequest, this, mBridgeSettingObfs, mBridgeSettingBridgeChina, mBridgeSettingBridgeCustom, mBridgeSettingCustomBridgeBlocker); mBridgeViewController.initialization(mBridgeSettingBridgeSnowflake, mBridgeSettingCustomPort, mBridgeSettingBridgeRequest, this, mBridgeSettingObfs, mBridgeSettingBridgeChina, mBridgeSettingBridgeCustom, mBridgeSettingCustomBridgeBlocker);
mBridgeViewController.onTrigger(bridgeEnums.eBridgeViewCommands.M_INIT_VIEWS, Arrays.asList(status.sBridgeCustomBridge, 0, status.sBridgeCustomType)); mBridgeViewController.onTrigger(bridgeEnums.eBridgeViewCommands.M_INIT_VIEWS, Arrays.asList(status.sBridgeCustomBridge, 0, status.sBridgeCustomType));
mBridgeModel = new bridgeModel(new bridgeController.bridgeModelCallback(), this); mBridgeModel = new bridgeModel(new bridgeController.bridgeModelCallback(), this);
mBridgeModel.onInit();
} }
@ -197,7 +199,7 @@ public class bridgeController extends AppCompatActivity implements View.OnFocusC
@Override @Override
public void onResume() { public void onResume() {
activityContextManager.getInstance().onCheckPurgeStack(); activityContextManager.getInstance().onPurgeStack();
pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME); pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME);
activityContextManager.getInstance().setCurrentActivity(this); activityContextManager.getInstance().setCurrentActivity(this);
@ -219,6 +221,7 @@ public class bridgeController extends AppCompatActivity implements View.OnFocusC
@Override @Override
public void onBackPressed() { public void onBackPressed() {
finish(); finish();
super.onBackPressed();
} }
} }

View File

@ -24,16 +24,17 @@ import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessag
class bridgeModel { class bridgeModel {
/*Variable Declaration*/ /*Variable Declaration*/
private eventObserver.eventListener mEvent;
private AppCompatActivity mContext; private AppCompatActivity mContext;
/*Initializations*/ /*Initializations*/
bridgeModel(eventObserver.eventListener mEvent, AppCompatActivity pContext) { bridgeModel(eventObserver.eventListener ignoredMEvent, AppCompatActivity pContext) {
this.mEvent = mEvent;
mContext = pContext; mContext = pContext;
} }
protected void onInit(){
}
/*Helper Methods*/ /*Helper Methods*/
public void requestBridges() { public void requestBridges() {

View File

@ -17,7 +17,7 @@ import androidx.core.content.ContextCompat;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.hiddenservices.onionservices.helperManager.sharedUIMethod; import com.hiddenservices.onionservices.helperManager.sharedUIMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;
@ -44,10 +44,13 @@ class bridgeViewController {
this.mBridgeSettingBridgeCustom = pBridgeSettingBridgeCustom; this.mBridgeSettingBridgeCustom = pBridgeSettingBridgeCustom;
this.mBridgeSettingCustomBridgeBlocker = pBridgeSettingCustomBridgeBlocker; this.mBridgeSettingCustomBridgeBlocker = pBridgeSettingCustomBridgeBlocker;
this.mBridgeSettingBridgeSnowflake = pBridgeSettingBridgeSnowflake; this.mBridgeSettingBridgeSnowflake = pBridgeSettingBridgeSnowflake;
initPostUI(); initPostUI();
} }
protected void onInit(){
}
private void initPostUI() { private void initPostUI() {
sharedUIMethod.updateStatusBar(mContext); sharedUIMethod.updateStatusBar(mContext);
mBridgeSettingBridgeCustom.setLongClickable(false); mBridgeSettingBridgeCustom.setLongClickable(false);

View File

@ -10,14 +10,13 @@ import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.dataManager.dataController; import com.hiddenservices.onionservices.dataManager.dataController;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.hiddenservices.onionservices.pluginManager.pluginEnums; import com.hiddenservices.onionservices.pluginManager.pluginEnums;
import org.torproject.android.service.wrapper.orbotLocalConstants; import org.torproject.android.service.wrapper.orbotLocalConstants;
import static com.hiddenservices.onionservices.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_ERASE; import static com.hiddenservices.onionservices.constants.constants.CONST_EXTERNAL_SHORTCUT_COMMAND_ERASE;
import static com.hiddenservices.onionservices.constants.keys.EXTERNAL_SHORTCUT_COMMAND; import static com.hiddenservices.onionservices.constants.keys.EXTERNAL_SHORTCUT_COMMAND;
import java.util.concurrent.Callable;
public class externalShortcutController extends AppCompatActivity { public class externalShortcutController extends AppCompatActivity {

View File

@ -10,7 +10,7 @@ import android.os.Handler;
import androidx.annotation.RequiresApi; import androidx.annotation.RequiresApi;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.appManager.activityContextManager; import com.hiddenservices.onionservices.appManager.activityContextManager;
import com.hiddenservices.onionservices.appManager.unproxiedConnectionManager.unproxiedConnectionController; import com.hiddenservices.onionservices.appManager.unproxiedConnectionManager.unproxiedConnectionController;
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeController; import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeController;

View File

@ -14,7 +14,7 @@ import android.widget.TextView;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -26,7 +26,7 @@ import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.hiddenservices.onionservices.appManager.activityThemeManager; import com.hiddenservices.onionservices.appManager.activityThemeManager;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.hiddenservices.onionservices.pluginManager.pluginEnums; import com.hiddenservices.onionservices.pluginManager.pluginEnums;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collections; import java.util.Collections;
@ -80,6 +80,7 @@ public class helpController extends AppCompatActivity {
private void initializeViews() { private void initializeViews() {
mHelpViewController = new helpViewController(); mHelpViewController = new helpViewController();
mHelpViewController.onInit();
mProgressBar = findViewById(R.id.pProgressBar); mProgressBar = findViewById(R.id.pProgressBar);
mRecycleView = findViewById(R.id.pRecycleView); mRecycleView = findViewById(R.id.pRecycleView);
mRetryContainer = findViewById(R.id.pRetryContainer); mRetryContainer = findViewById(R.id.pRetryContainer);
@ -235,7 +236,7 @@ public class helpController extends AppCompatActivity {
@Override @Override
protected void onResume() { protected void onResume() {
activityContextManager.getInstance().onCheckPurgeStack(); activityContextManager.getInstance().onPurgeStack();
pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME); pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME);
super.onResume(); super.onResume();
} }

View File

@ -18,6 +18,4 @@ class helpEnums {
M_INIT_FILTER M_INIT_FILTER
} }
public enum eHelpViewCallback {
}
} }

View File

@ -40,6 +40,10 @@ class helpModel {
} }
} }
protected void onInit(){
}
private void getHelpJSON() { private void getHelpJSON() {
ArrayList<helpDataModel> mTempModel = (ArrayList<helpDataModel>) dataController.getInstance().invokeHelp(dataEnums.eHelpCommands.M_GET_HELP, null); ArrayList<helpDataModel> mTempModel = (ArrayList<helpDataModel>) dataController.getInstance().invokeHelp(dataEnums.eHelpCommands.M_GET_HELP, null);
@ -84,7 +88,7 @@ class helpModel {
return mIsLoaded; return mIsLoaded;
} }
public Object onTrigger(helpEnums.eHelpModel pCommands, List<Object> pData) { public Object onTrigger(helpEnums.eHelpModel pCommands, List<Object> ignoredPData) {
if (pCommands.equals(helpEnums.eHelpModel.M_LOAD_HELP_DATA)) { if (pCommands.equals(helpEnums.eHelpModel.M_LOAD_HELP_DATA)) {
getHelpJSON(); getHelpJSON();
} else if (pCommands.equals(helpEnums.eHelpModel.M_IS_LOADED)) { } else if (pCommands.equals(helpEnums.eHelpModel.M_IS_LOADED)) {

View File

@ -14,20 +14,19 @@ import androidx.core.content.ContextCompat;
import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;
class helpViewController { class helpViewController {
/*ViewControllers*/ /*ViewControllers*/
private AppCompatActivity mContext; private AppCompatActivity mContext;
private eventObserver.eventListener mEvent;
private ProgressBar mProgressBar; private ProgressBar mProgressBar;
private RecyclerView mRecyclerView; private RecyclerView mRecyclerView;
private ConstraintLayout mRetryContainer; private ConstraintLayout mRetryContainer;
private Button mReloadButton; private Button mReloadButton;
void initialization(eventObserver.eventListener event, AppCompatActivity context, ProgressBar pProgressBar, RecyclerView pRecyclerView, ConstraintLayout pRetryContainer, Button pReloadButton) { void initialization(eventObserver.eventListener ignoredEvent, AppCompatActivity context, ProgressBar pProgressBar, RecyclerView pRecyclerView, ConstraintLayout pRetryContainer, Button pReloadButton) {
this.mContext = context; this.mContext = context;
this.mProgressBar = pProgressBar; this.mProgressBar = pProgressBar;
this.mRecyclerView = pRecyclerView; this.mRecyclerView = pRecyclerView;
@ -35,6 +34,10 @@ class helpViewController {
this.mReloadButton = pReloadButton; this.mReloadButton = pReloadButton;
} }
protected void onInit(){
}
private void initPostUI() { private void initPostUI() {
Window window = mContext.getWindow(); Window window = mContext.getWindow();
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS); window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
@ -83,7 +86,7 @@ class helpViewController {
}); });
} }
public void onTrigger(helpEnums.eHelpViewController pCommands, List<Object> pData) { public void onTrigger(helpEnums.eHelpViewController pCommands, List<Object> ignoredPData) {
if (pCommands.equals(helpEnums.eHelpViewController.M_INIT_VIEWS)) { if (pCommands.equals(helpEnums.eHelpViewController.M_INIT_VIEWS)) {
initPostUI(); initPostUI();
} else if (pCommands.equals(helpEnums.eHelpViewController.M_DATA_LOADED)) { } else if (pCommands.equals(helpEnums.eHelpViewController.M_DATA_LOADED)) {

View File

@ -21,7 +21,7 @@ import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.dataManager.models.historyRowModel; import com.hiddenservices.onionservices.dataManager.models.historyRowModel;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import java.util.ArrayList; import java.util.ArrayList;
@ -286,17 +286,6 @@ public class historyAdapter extends RecyclerView.Adapter<historyAdapter.listView
} }
} }
public void onClearAdapter() {
}
public void notifyFilter() {
if (mFilter.length() > 0) {
initializeModelWithDate(true);
notifyDataSetChanged();
}
}
@SuppressLint("ClickableViewAccessibility") @SuppressLint("ClickableViewAccessibility")
public void onSwipe(View pItemView, String pUrl, View pMenuItem, ImageView pLogoImage, int pId, Date pDate) { public void onSwipe(View pItemView, String pUrl, View pMenuItem, ImageView pLogoImage, int pId, Date pDate) {
@ -431,7 +420,7 @@ public class historyAdapter extends RecyclerView.Adapter<historyAdapter.listView
mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), historyEnums.eHistoryAdapterCallback.ON_URL_CLEAR_AT); mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), historyEnums.eHistoryAdapterCallback.ON_URL_CLEAR_AT);
mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), historyEnums.eHistoryAdapterCallback.IS_EMPTY); mEvent.invokeObserver(Collections.singletonList(mRealID.get(pIndex)), historyEnums.eHistoryAdapterCallback.IS_EMPTY);
if (mPassedList.size() <= 0) { if (mPassedList.size() == 0) {
mCurrentList.clear(); mCurrentList.clear();
return; return;
} }
@ -516,7 +505,7 @@ public class historyAdapter extends RecyclerView.Adapter<historyAdapter.listView
} }
mWebLogo.setVisibility(View.VISIBLE); mWebLogo.setVisibility(View.VISIBLE);
String mText = helperMethod.getDomainName(model.getHeader()).toUpperCase().charAt(0) + ""; String mText = String.valueOf(helperMethod.getDomainName(model.getHeader()).toUpperCase().charAt(0));
mWebLogo.setText(mText); mWebLogo.setText(mText);
String header = model.getHeader(); String header = model.getHeader();

View File

@ -12,7 +12,7 @@ import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;

View File

@ -37,7 +37,7 @@ import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.hiddenservices.onionservices.appManager.activityThemeManager; import com.hiddenservices.onionservices.appManager.activityThemeManager;
import com.hiddenservices.onionservices.pluginManager.pluginController; import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.hiddenservices.onionservices.pluginManager.pluginEnums; import com.hiddenservices.onionservices.pluginManager.pluginEnums;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.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;
@ -112,6 +112,7 @@ public class historyController extends AppCompatActivity {
activityContextManager.getInstance().onStack(this); activityContextManager.getInstance().onStack(this);
mHistoryViewController = new historyViewController(mEmptyListNotification, mSearchInput, mRecycleView, mClearButton, this, mMenuButton, mSearchButton, mTitle); mHistoryViewController = new historyViewController(mEmptyListNotification, mSearchInput, mRecycleView, mClearButton, this, mMenuButton, mSearchButton, mTitle);
mHistoryViewController.onInit();
} }
public void initializeList() { public void initializeList() {
@ -150,9 +151,6 @@ public class historyController extends AppCompatActivity {
} }
} }
@Override
public void onScrolled(@NonNull RecyclerView recyclerView, int dx, int dy) {
}
}); });
mClearButton.requestFocusFromTouch(); mClearButton.requestFocusFromTouch();
@ -269,7 +267,7 @@ public class historyController extends AppCompatActivity {
@Override @Override
public void onResume() { public void onResume() {
activityContextManager.getInstance().onCheckPurgeStack(); activityContextManager.getInstance().onPurgeStack();
pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME); pluginController.getInstance().onLanguageInvoke(Collections.singletonList(this), pluginEnums.eLangManager.M_RESUME);
activityContextManager.getInstance().setCurrentActivity(this); activityContextManager.getInstance().setCurrentActivity(this);
status.sSettingIsAppPaused = false; status.sSettingIsAppPaused = false;
@ -305,6 +303,7 @@ public class historyController extends AppCompatActivity {
activityContextManager.getInstance().onRemoveStack(this); activityContextManager.getInstance().onRemoveStack(this);
finish(); finish();
} }
super.onBackPressed();
} }
/*External XML Listeners*/ /*External XML Listeners*/

View File

@ -30,7 +30,7 @@ import androidx.recyclerview.widget.RecyclerView;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.List; import java.util.List;
import java.util.Objects; import java.util.Objects;
@ -63,7 +63,9 @@ public class historyViewController {
this.mMenuButton = pMenuButton; this.mMenuButton = pMenuButton;
this.mSearchButton = pSearchButton; this.mSearchButton = pSearchButton;
this.mTitle = pTitle; this.mTitle = pTitle;
}
protected void onInit(){
initPostUI(); initPostUI();
} }
@ -218,10 +220,6 @@ public class historyViewController {
mClearButton.setVisibility(View.VISIBLE); mClearButton.setVisibility(View.VISIBLE);
} }
@Override
public boolean willChangeBounds() {
return true;
}
}; };
a.setDuration(250); a.setDuration(250);
v.startAnimation(a); v.startAnimation(a);
@ -257,10 +255,6 @@ public class historyViewController {
} }
} }
@Override
public boolean willChangeBounds() {
return true;
}
}; };
a.setDuration(250); a.setDuration(250);
v.startAnimation(a); v.startAnimation(a);

View File

@ -22,7 +22,7 @@ public class autofillDelegate implements Autofill.Delegate {
private Rect displayRectForId(@NonNull final GeckoSession session, @NonNull final Autofill.Node node) { private Rect displayRectForId(@NonNull final GeckoSession session, @NonNull final Autofill.Node node) {
final Matrix matrix = new Matrix(); final Matrix matrix = new Matrix();
final RectF rectF = new RectF(node.getDimensions()); final RectF rectF = new RectF(node.getScreenRect());
session.getPageToScreenMatrix(matrix); session.getPageToScreenMatrix(matrix);
matrix.mapRect(rectF); matrix.mapRect(rectF);

View File

@ -3,11 +3,8 @@ package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.del
import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_URL; import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_URL;
import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_WITH_LINK; import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_LONG_PRESS_WITH_LINK;
import android.Manifest;
import android.content.ActivityNotFoundException; import android.content.ActivityNotFoundException;
import android.os.Handler; import android.os.Handler;
import android.util.Log;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.annotation.UiThread; import androidx.annotation.UiThread;
@ -21,19 +18,11 @@ import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.karumi.dexter.Dexter;
import com.karumi.dexter.MultiplePermissionsReport;
import com.karumi.dexter.PermissionToken;
import com.karumi.dexter.listener.PermissionRequest;
import com.karumi.dexter.listener.multi.MultiplePermissionsListener;
import org.json.JSONObject; import org.json.JSONObject;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
import org.mozilla.geckoview.WebResponse; import org.mozilla.geckoview.WebResponse;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.Arrays; import java.util.Arrays;
import java.util.List;
import java.util.concurrent.Callable;
public class contentDelegate implements GeckoSession.ContentDelegate { public class contentDelegate implements GeckoSession.ContentDelegate {
@ -88,13 +77,12 @@ public class contentDelegate implements GeckoSession.ContentDelegate {
} else { } else {
try { try {
String mTitle = var4.title; String mTitle = var4.title;
if (mTitle == null || mTitle.length() <= 0) { if (mTitle == null || mTitle.length() == 0) {
mTitle = helperMethod.getDomainName(mGeckoDataModel.mCurrentURL) + "\n" + var4.srcUri; mTitle = helperMethod.getDomainName(mGeckoDataModel.mCurrentURL) + "\n" + var4.srcUri;
} }
mEvent.invokeObserver(Arrays.asList(var4.srcUri, mGeckoDataModel.mSessionID, mTitle, mGeckoDataModel.mTheme, mGeckoSession, mContext.get()), homeEnums.eGeckoCallback.ON_LONG_PRESS); mEvent.invokeObserver(Arrays.asList(var4.srcUri, mGeckoDataModel.mSessionID, mTitle, mGeckoDataModel.mTheme, mGeckoSession, mContext.get()), homeEnums.eGeckoCallback.ON_LONG_PRESS);
} catch (Exception ex) { } catch (Exception ex) {
ex.printStackTrace(); ex.printStackTrace();
Log.i("", "");
} }
} }
} else if (var4.linkUri != null) { } else if (var4.linkUri != null) {
@ -105,7 +93,7 @@ public class contentDelegate implements GeckoSession.ContentDelegate {
@UiThread @UiThread
@Override @Override
public void onExternalResponse(@NonNull GeckoSession session, @NonNull WebResponse response) { public void onExternalResponse(@NonNull GeckoSession session, @NonNull WebResponse response) {
permissionHandler.getInstance().checkPermission((Callable<Void>) () -> { permissionHandler.getInstance().checkPermission(() -> {
try { try {
if (response.headers.containsKey("Content-Disposition")) { if (response.headers.containsKey("Content-Disposition")) {
mDownloadManager.downloadFile(response, mGeckoSession, mContext.get(), mEvent); mDownloadManager.downloadFile(response, mGeckoSession, mContext.get(), mEvent);

View File

@ -78,12 +78,4 @@ public class historyDelegate implements GeckoSession.HistoryDelegate {
intentHandler.actionDial(pURL, mContext); intentHandler.actionDial(pURL, mContext);
} }
public boolean isHistoryEmpty(){
if(mHistory!=null && mHistory.size()>0){
return false;
}else {
return true;
}
}
} }

View File

@ -17,7 +17,7 @@ import android.widget.RemoteViews;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.NotificationCompat; import androidx.core.app.NotificationCompat;
import androidx.core.app.NotificationManagerCompat; import androidx.core.app.NotificationManagerCompat;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.constants.enums; import com.hiddenservices.onionservices.constants.enums;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
@ -52,7 +52,7 @@ public class mediaDelegate implements GeckoSession.MediaDelegate {
@SuppressLint("InlinedApi") @SuppressLint("InlinedApi")
public void showNotification(Context context, String title, String url, Bitmap mediaImage, boolean media_status) { public void showNotification(Context context, String title, String url, Bitmap mediaImage, boolean media_status) {
NotificationManager mNotificationManager = (NotificationManager) mContext.get().getSystemService( NOTIFICATION_SERVICE ) ; NotificationManager mNotificationManager = (NotificationManager) mContext.get().getSystemService( NOTIFICATION_SERVICE ) ;
if(title.length()<=0 || !status.sBackgroundMusic){ if(title.length() == 0 || !status.sBackgroundMusic){
return; return;
} }
RemoteViews contentView; RemoteViews contentView;

View File

@ -7,15 +7,12 @@ import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS
import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS_ERROR_CACHED_DARK; import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS_ERROR_CACHED_DARK;
import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS_URL_CACHED; import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS_URL_CACHED;
import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS_URL_CACHED_DARK; import static com.hiddenservices.onionservices.constants.constants.CONST_GENESIS_URL_CACHED_DARK;
import android.util.Log;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.annotation.UiThread;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.dataModel.geckoDataModel; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.dataModel.geckoDataModel;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.errorHandler; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.errorHandler;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.intentHandler;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.preferencesHandler; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.preferencesHandler;
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums; import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums;
import com.hiddenservices.onionservices.constants.constants; import com.hiddenservices.onionservices.constants.constants;
@ -32,7 +29,6 @@ import org.torproject.android.service.wrapper.orbotLocalConstants;
import java.io.InputStream; import java.io.InputStream;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.Arrays; import java.util.Arrays;
import java.util.List;
public class navigationDelegate implements GeckoSession.NavigationDelegate { public class navigationDelegate implements GeckoSession.NavigationDelegate {
@ -65,12 +61,6 @@ public class navigationDelegate implements GeckoSession.NavigationDelegate {
mCanGoForward = var2; mCanGoForward = var2;
} }
@UiThread
public void onLocationChange(@NonNull GeckoSession session, @Nullable String url, final @NonNull List<GeckoSession.PermissionDelegate.ContentPermission> perms) {
url = "";
}
private String setGenesisVerificationToken(String pString) { private String setGenesisVerificationToken(String pString) {
try { try {
if (pString.contains("?")) { if (pString.contains("?")) {
@ -109,12 +99,7 @@ public class navigationDelegate implements GeckoSession.NavigationDelegate {
mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mGeckoDataModel.mCurrentTitle, false), homeEnums.eGeckoCallback.M_LOAD_HOMEPAGE_GENESIS); mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mGeckoDataModel.mCurrentTitle, false), homeEnums.eGeckoCallback.M_LOAD_HOMEPAGE_GENESIS);
return GeckoResult.fromValue(AllowOrDeny.DENY); return GeckoResult.fromValue(AllowOrDeny.DENY);
} }
if (!m_url.contains(constants.CONST_GENESIS_GMT_TIME_GET_KEY) && !m_url.startsWith(CONST_GENESIS_URL_CACHED) && !m_url.startsWith(CONST_GENESIS_URL_CACHED_DARK) && var1.uri.startsWith("http://167.86.99.31") && !var1.uri.contains(constants.CONST_GENESIS_LOCAL_TIME_GET_KEY) && !var1.uri.contains(constants.CONST_GENESIS_LOCAL_TIME_GET_KEY)) { if (m_url.startsWith("mailto")) {
String mVerificationURL = setGenesisVerificationToken(m_url);
mGeckoSession.loadUri(mVerificationURL);
return GeckoResult.fromValue(AllowOrDeny.DENY);
} else if (m_url.startsWith("mailto")) {
mEvent.invokeObserver(Arrays.asList(m_url, mGeckoDataModel.mSessionID), homeEnums.eGeckoCallback.M_ON_MAIL); mEvent.invokeObserver(Arrays.asList(m_url, mGeckoDataModel.mSessionID), homeEnums.eGeckoCallback.M_ON_MAIL);
return GeckoResult.fromValue(AllowOrDeny.ALLOW); return GeckoResult.fromValue(AllowOrDeny.ALLOW);
} else if (m_url.contains("167.86.99.31/advert__")) { } else if (m_url.contains("167.86.99.31/advert__")) {
@ -188,7 +173,6 @@ public class navigationDelegate implements GeckoSession.NavigationDelegate {
} }
} }
} catch (Exception ex) { } catch (Exception ex) {
Log.i("asd", "asd : " + ex.getMessage());
} }
return GeckoResult.fromValue("data:text/html," + handler.createErrorPage(var3.category, var3.code, mContext.get(), var2, mResourceURL)); return GeckoResult.fromValue("data:text/html," + handler.createErrorPage(var3.category, var3.code, mContext.get(), var2, mResourceURL));

View File

@ -2,11 +2,11 @@ package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.del
import android.Manifest; import android.Manifest;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.net.Uri;
import android.os.Build; import android.os.Build;
import androidx.annotation.NonNull;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat; import androidx.core.content.ContextCompat;
import com.leos.onionservices.R;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.Locale; import java.util.Locale;
@ -25,16 +25,16 @@ public class permissionDelegate implements PermissionDelegate {
} }
@Override @Override
public void onAndroidPermissionsRequest(final GeckoSession session, final String[] permissions, final Callback callback) { public void onAndroidPermissionsRequest(@NonNull final GeckoSession session, final String[] permissions, @NonNull final Callback callback) {
if (Build.VERSION.SDK_INT >= 23) { if (Build.VERSION.SDK_INT >= 23) {
// requestPermissions was introduced in API 23. callback.grant();
mContext.get().requestPermissions(permissions, androidPermissionRequestCode); mContext.get().requestPermissions(permissions, androidPermissionRequestCode);
} else { } else {
mGeckoSession.reload();
callback.grant(); callback.grant();
} }
} }
private String[] normalizeMediaName(final MediaSource[] sources) { private String[] normalizeMediaName(final MediaSource[] sources) {
if (sources == null) { if (sources == null) {
return null; return null;
@ -64,15 +64,11 @@ public class permissionDelegate implements PermissionDelegate {
@Override @Override
public void onMediaPermissionRequest( public void onMediaPermissionRequest(
final GeckoSession session, @NonNull final GeckoSession session,
final String uri, @NonNull final String uri,
final MediaSource[] video, final MediaSource[] video,
final MediaSource[] audio, final MediaSource[] audio,
final MediaCallback callback) { @NonNull final MediaCallback callback) {
// If we don't have device permissions at this point, just automatically reject the request
// as we will have already have requested device permissions before getting to this point
// and if we've reached here and we don't have permissions then that means that the user
// denied them.
if ((audio != null if ((audio != null
&& ContextCompat.checkSelfPermission( && ContextCompat.checkSelfPermission(
mContext.get(), Manifest.permission.RECORD_AUDIO) mContext.get(), Manifest.permission.RECORD_AUDIO)
@ -85,7 +81,6 @@ public class permissionDelegate implements PermissionDelegate {
return; return;
} }
final String host = Uri.parse(uri).getAuthority();
final String title; final String title;
if (audio == null) { if (audio == null) {
title = "Request Video"; title = "Request Video";
@ -99,7 +94,7 @@ public class permissionDelegate implements PermissionDelegate {
String[] audioNames = normalizeMediaName(audio); String[] audioNames = normalizeMediaName(audio);
final promptDelegate prompt = final promptDelegate prompt =
(promptDelegate) mGeckoSession.getPromptDelegate(); mGeckoSession.getPromptDelegate();
prompt.onMediaPrompt(session, title, video, audio, videoNames, audioNames, callback); prompt.onMediaPrompt(session, title, video, audio, videoNames, audioNames, callback);
} }
} }

View File

@ -12,9 +12,6 @@ import com.hiddenservices.onionservices.constants.constants;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import org.mozilla.geckoview.AllowOrDeny;
import org.mozilla.geckoview.GeckoResult;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.Arrays; import java.util.Arrays;
@ -28,7 +25,6 @@ public class progressDelegate implements GeckoSession.ProgressDelegate {
private geckoDataModel mGeckoDataModel; private geckoDataModel mGeckoDataModel;
private SecurityInformation securityInfo = null; private SecurityInformation securityInfo = null;
private GeckoSession.SessionState mSessionState; private GeckoSession.SessionState mSessionState;
private boolean mIsLoaded = false;
private int mProgress = 5; private int mProgress = 5;
/*Initializations*/ /*Initializations*/
@ -89,7 +85,9 @@ public class progressDelegate implements GeckoSession.ProgressDelegate {
if(var2.startsWith("jar:file")){ if(var2.startsWith("jar:file")){
return; return;
} }
if(!var2.contains("about:blank")){
mEvent.invokeObserver(Arrays.asList(var2, mGeckoDataModel.mSessionID, var2, mGeckoDataModel.mCurrentURL_ID, mGeckoDataModel.mTheme, null), homeEnums.eGeckoCallback.ON_UPDATE_SEARCH_BAR); mEvent.invokeObserver(Arrays.asList(var2, mGeckoDataModel.mSessionID, var2, mGeckoDataModel.mCurrentURL_ID, mGeckoDataModel.mTheme, null), homeEnums.eGeckoCallback.ON_UPDATE_SEARCH_BAR);
}
//if (mIsLoaded) { //if (mIsLoaded) {
if (!mGeckoDataModel.mCurrentURL.equals("about:config") && !var2.equals("about:blank") && !var2.startsWith("jar:file")) { if (!mGeckoDataModel.mCurrentURL.equals("about:config") && !var2.equals("about:blank") && !var2.startsWith("jar:file")) {

View File

@ -7,7 +7,6 @@ import android.app.Activity;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.content.ActivityNotFoundException; import android.content.ActivityNotFoundException;
import android.content.ClipData; import android.content.ClipData;
import android.content.ContentResolver;
import android.content.Context; import android.content.Context;
import android.content.DialogInterface; import android.content.DialogInterface;
import android.content.Intent; import android.content.Intent;
@ -24,7 +23,6 @@ import android.view.InflateException;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.webkit.MimeTypeMap;
import android.widget.ArrayAdapter; import android.widget.ArrayAdapter;
import android.widget.CheckedTextView; import android.widget.CheckedTextView;
import android.widget.DatePicker; import android.widget.DatePicker;
@ -40,7 +38,6 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ShareCompat; import androidx.core.app.ShareCompat;
import com.hiddenservices.onionservices.appManager.activityContextManager; import com.hiddenservices.onionservices.appManager.activityContextManager;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
@ -56,7 +53,6 @@ import org.mozilla.geckoview.AllowOrDeny;
import org.mozilla.geckoview.GeckoResult; import org.mozilla.geckoview.GeckoResult;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
import org.mozilla.geckoview.GeckoSession.PermissionDelegate.MediaSource; import org.mozilla.geckoview.GeckoSession.PermissionDelegate.MediaSource;
import org.mozilla.geckoview.SlowScriptResponse;
public final class promptDelegate implements GeckoSession.PromptDelegate { public final class promptDelegate implements GeckoSession.PromptDelegate {
@ -126,24 +122,6 @@ public final class promptDelegate implements GeckoSession.PromptDelegate {
return res; return res;
} }
public static String getMimeType(Context context, Uri uri) {
String extension;
//Check uri format to avoid null
if (uri.getScheme().equals(ContentResolver.SCHEME_CONTENT)) {
//If scheme is a content
final MimeTypeMap mime = MimeTypeMap.getSingleton();
extension = mime.getExtensionFromMimeType(context.getContentResolver().getType(uri));
} else {
//If scheme is a File
//This will replace white spaces with %20 and also other special characters. This will avoid returning null values on file name with spaces and special characters.
extension = MimeTypeMap.getFileExtensionFromUrl(Uri.fromFile(new File(uri.getPath())).toString());
}
return extension;
}
static boolean mPopupOpened = false; static boolean mPopupOpened = false;
@Override @Override
public GeckoResult<PromptResponse> onSharePrompt(@NonNull final GeckoSession session, public GeckoResult<PromptResponse> onSharePrompt(@NonNull final GeckoSession session,
@ -910,13 +888,10 @@ public final class promptDelegate implements GeckoSession.PromptDelegate {
Uri mURI = data.getData(); Uri mURI = data.getData();
String result = null; String result = null;
if (mURI.getScheme().equals("content")) { if (mURI.getScheme().equals("content")) {
Cursor cursor = mActivity.getContentResolver().query(mURI, null, null, null, null); try (Cursor cursor = mActivity.getContentResolver().query(mURI, null, null, null, null)) {
try {
if (cursor != null && cursor.moveToFirst()) { if (cursor != null && cursor.moveToFirst()) {
result = cursor.getString(cursor.getColumnIndex(DISPLAY_NAME)); result = cursor.getString(cursor.getColumnIndex(DISPLAY_NAME));
} }
} finally {
cursor.close();
} }
} }
if (result == null) { if (result == null) {
@ -932,7 +907,7 @@ public final class promptDelegate implements GeckoSession.PromptDelegate {
final ClipData clip = data.getClipData(); final ClipData clip = data.getClipData();
try { try {
FileInputStream in = (FileInputStream) mActivity.getContentResolver().openInputStream(data.getData()); @SuppressLint("Recycle") FileInputStream in = (FileInputStream) mActivity.getContentResolver().openInputStream(data.getData());
FileOutputStream out = new FileOutputStream(myFile); FileOutputStream out = new FileOutputStream(myFile);
FileChannel inChannel = in.getChannel(); FileChannel inChannel = in.getChannel();
FileChannel outChannel = out.getChannel(); FileChannel outChannel = out.getChannel();
@ -958,46 +933,12 @@ public final class promptDelegate implements GeckoSession.PromptDelegate {
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {
uris.add(clip.getItemAt(i).getUri()); uris.add(clip.getItemAt(i).getUri());
} }
res.complete(prompt.confirm(mActivity, uris.toArray(new Uri[uris.size()]))); res.complete(prompt.confirm(mActivity, uris.toArray(new Uri[0])));
} }
}catch (Exception ex){ }catch (Exception ex){
int e=0;
e=1;
} }
} }
public void onPermissionPrompt(final String title,
final GeckoSession.PermissionDelegate.Callback callback) {
stopMedia();
final Activity activity = mActivity;
if (activity == null) {
callback.reject();
return;
}
final AlertDialog.Builder builder = new AlertDialog.Builder(activity);
builder.setTitle(title)
.setNegativeButton(android.R.string.cancel, (dialog, which) -> callback.reject())
.setPositiveButton(android.R.string.ok, (dialog, which) -> callback.grant());
final AlertDialog dialog = builder.create();
dialog.show();
}
public void onSlowScriptPrompt(String title, GeckoResult<SlowScriptResponse> reportAction) {
stopMedia();
final Activity activity = mActivity;
if (activity == null) {
return;
}
final AlertDialog.Builder builder = new AlertDialog.Builder(activity);
builder.setTitle(title)
.setNegativeButton("Wait", (dialog, which) -> reportAction.complete(SlowScriptResponse.CONTINUE))
.setPositiveButton("Stop", (dialog, which) -> reportAction.complete(SlowScriptResponse.STOP));
final AlertDialog dialog = builder.create();
dialog.show();
}
private Spinner addMediaSpinner( private Spinner addMediaSpinner(
final Context context, final Context context,
final ViewGroup container, final ViewGroup container,
@ -1019,7 +960,7 @@ public final class promptDelegate implements GeckoSession.PromptDelegate {
} }
@Override @Override
public View getDropDownView(final int position, final View view, final ViewGroup parent) { public View getDropDownView(final int position, final View view, @NonNull final ViewGroup parent) {
return convertView(position, super.getDropDownView(position, view, parent)); return convertView(position, super.getDropDownView(position, view, parent));
} }
}; };
@ -1067,40 +1008,23 @@ public final class promptDelegate implements GeckoSession.PromptDelegate {
.setNegativeButton(android.R.string.cancel, /* listener */ null) .setNegativeButton(android.R.string.cancel, /* listener */ null)
.setPositiveButton( .setPositiveButton(
android.R.string.ok, android.R.string.ok,
new DialogInterface.OnClickListener() { (dialog, which) -> {
@Override final MediaSource video1 =
public void onClick(final DialogInterface dialog, final int which) {
final MediaSource video =
(videoSpinner != null) ? (MediaSource) videoSpinner.getSelectedItem() : null; (videoSpinner != null) ? (MediaSource) videoSpinner.getSelectedItem() : null;
final MediaSource audio = final MediaSource audio1 =
(audioSpinner != null) ? (MediaSource) audioSpinner.getSelectedItem() : null; (audioSpinner != null) ? (MediaSource) audioSpinner.getSelectedItem() : null;
callback.grant(video, audio); callback.grant(video1, audio1);
}
}); });
final AlertDialog dialog = builder.create(); final AlertDialog dialog = builder.create();
dialog.setOnDismissListener( dialog.setOnDismissListener(
new DialogInterface.OnDismissListener() { dialog1 -> callback.reject());
@Override
public void onDismiss(final DialogInterface dialog) {
callback.reject();
}
});
dialog.show(); dialog.show();
} }
public void onMediaPrompt(
final GeckoSession session,
final String title,
final MediaSource[] video,
final MediaSource[] audio,
final GeckoSession.PermissionDelegate.MediaCallback callback) {
onMediaPrompt(session, title, video, audio, null, null, callback);
}
@Override @Override
public GeckoResult<PromptResponse> onPopupPrompt( public GeckoResult<PromptResponse> onPopupPrompt(
final GeckoSession session, final PopupPrompt prompt) { @NonNull final GeckoSession session, final PopupPrompt prompt) {
return GeckoResult.fromValue(prompt.confirm(AllowOrDeny.ALLOW)); return GeckoResult.fromValue(prompt.confirm(AllowOrDeny.ALLOW));
} }
} }

View File

@ -1,13 +1,10 @@
package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.delegateModel; package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.delegateModel;
import android.util.Log;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.UiThread; import androidx.annotation.UiThread;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.dataModel.geckoDataModel; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.dataModel.geckoDataModel;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession;
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums; import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums;
import com.hiddenservices.onionservices.constants.enums;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
@ -32,7 +29,6 @@ public class scrollDelegate implements GeckoSession.ScrollDelegate {
/*Scroll Delegate*/ /*Scroll Delegate*/
@UiThread @UiThread
public void onScrollChanged(@NonNull GeckoSession session, int scrollX, int scrollY) { public void onScrollChanged(@NonNull GeckoSession session, int scrollX, int scrollY) {
Log.i("fucker111 : ", scrollY + "");
mScollOffset = scrollY; mScollOffset = scrollY;
mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mGeckoDataModel.mCurrentTitle, mGeckoDataModel.mCurrentURL_ID, mGeckoDataModel.mTheme), homeEnums.eGeckoCallback.M_UPDATE_PIXEL_BACKGROUND); mEvent.invokeObserver(Arrays.asList(mGeckoDataModel.mCurrentURL, mGeckoDataModel.mSessionID, mGeckoDataModel.mCurrentTitle, mGeckoDataModel.mCurrentURL_ID, mGeckoDataModel.mTheme), homeEnums.eGeckoCallback.M_UPDATE_PIXEL_BACKGROUND);
if (scrollY <= 3) { if (scrollY <= 3) {

View File

@ -14,15 +14,12 @@ import androidx.annotation.NonNull;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import androidx.annotation.RequiresApi; import androidx.annotation.RequiresApi;
import androidx.annotation.UiThread; import androidx.annotation.UiThread;
import android.util.Log; import android.util.Log;
import android.view.ActionMode; import android.view.ActionMode;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View; import android.view.View;
import com.hiddenservices.onionservices.appManager.activityContextManager; import com.hiddenservices.onionservices.appManager.activityContextManager;
import org.mozilla.gecko.util.ThreadUtils; import org.mozilla.gecko.util.ThreadUtils;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
@ -107,11 +104,6 @@ public class selectionDelegate implements ActionMode.Callback,
} }
} }
@SuppressWarnings("checkstyle:javadocmethod")
public selectionDelegate(final @NonNull Activity activity) {
this(activity, Build.VERSION.SDK_INT >= 23);
}
@SuppressWarnings("checkstyle:javadocmethod") @SuppressWarnings("checkstyle:javadocmethod")
public selectionDelegate(final @NonNull Activity activity, public selectionDelegate(final @NonNull Activity activity,
final boolean useFloatingToolbar) { final boolean useFloatingToolbar) {
@ -134,15 +126,6 @@ public class selectionDelegate implements ActionMode.Callback,
} }
} }
/**
* Get whether text actions from other apps are enabled.
*
* @return True if external actions are enabled.
*/
public boolean areExternalActionsEnabled() {
return mExternalActionsEnabled;
}
/** /**
* Return list of all actions in proper order, regardless of their availability at present. * Return list of all actions in proper order, regardless of their availability at present.
* Override to add to or remove from the default set. * Override to add to or remove from the default set.
@ -414,11 +397,11 @@ public class selectionDelegate implements ActionMode.Callback,
public void onGetContentRect(final @Nullable ActionMode mode, final @Nullable View view, public void onGetContentRect(final @Nullable ActionMode mode, final @Nullable View view,
final @NonNull Rect outRect) { final @NonNull Rect outRect) {
ThreadUtils.assertOnUiThread(); ThreadUtils.assertOnUiThread();
if (mSelection == null || mSelection.clientRect == null) { if (mSelection == null || mSelection.screenRect == null) {
return; return;
} }
mSession.getClientToScreenMatrix(mTempMatrix); mSession.getClientToScreenMatrix(mTempMatrix);
mTempMatrix.mapRect(mTempRect, mSelection.clientRect); mTempMatrix.mapRect(mTempRect, mSelection.screenRect);
mTempRect.roundOut(outRect); mTempRect.roundOut(outRect);
} }

View File

@ -5,7 +5,6 @@ import android.content.Context;
import android.content.Intent; import android.content.Intent;
import android.net.Uri; import android.net.Uri;
import android.os.Handler; import android.os.Handler;
import android.util.Log;
import android.widget.ImageView; import android.widget.ImageView;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.appManager.activityContextManager; import com.hiddenservices.onionservices.appManager.activityContextManager;
@ -79,7 +78,7 @@ public class geckoClients {
return mSessionHidden; return mSessionHidden;
} }
private geckoSession initSettings(GeckoView pGeckoView, eventObserver.eventListener pEvent, AppCompatActivity pContext, String pSessionID){ private geckoSession initSettings(GeckoView pGeckoView, eventObserver.eventListener ignoredPEvent, AppCompatActivity pContext, String pSessionID){
geckoSession mSessionInitializer = new geckoSession(new geckoViewClientCallback(), pSessionID, pContext, pGeckoView); geckoSession mSessionInitializer = new geckoSession(new geckoViewClientCallback(), pSessionID, pContext, pGeckoView);
mSessionInitializer.getSettings().setUseTrackingProtection(status.sStatusDoNotTrack); mSessionInitializer.getSettings().setUseTrackingProtection(status.sStatusDoNotTrack);
mSessionInitializer.getSettings().setFullAccessibilityTree(true); mSessionInitializer.getSettings().setFullAccessibilityTree(true);
@ -154,7 +153,6 @@ public class geckoClients {
dataController.getInstance().initializeListData(); dataController.getInstance().initializeListData();
onClearAll(); onClearAll();
} }
//initializeIcon(context);
} }
public void onReload(geckoView mNestedGeckoView, AppCompatActivity pcontext, boolean isThemeCall, boolean isDelayed) { public void onReload(geckoView mNestedGeckoView, AppCompatActivity pcontext, boolean isThemeCall, boolean isDelayed) {
@ -193,7 +191,6 @@ public class geckoClients {
} }
url = helperMethod.completeURL(url); url = helperMethod.completeURL(url);
Log.i("FERROR : ", "FERROR" + url);
mSession.initURL(url); mSession.initURL(url);
if (!url.startsWith(CONST_REPORT_URL) && (url.startsWith("resource://android/assets/homepage/") || url.startsWith("http://167.86.99.31/?pG") || url.startsWith("https://167.86.99.31?pG") || url.endsWith("167.86.99.31") || url.endsWith(constants.CONST_GENESIS_DOMAIN_URL_SLASHED))) { if (!url.startsWith(CONST_REPORT_URL) && (url.startsWith("resource://android/assets/homepage/") || url.startsWith("http://167.86.99.31/?pG") || url.startsWith("https://167.86.99.31?pG") || url.endsWith("167.86.99.31") || url.endsWith(constants.CONST_GENESIS_DOMAIN_URL_SLASHED))) {
try { try {
@ -435,13 +432,6 @@ public class geckoClients {
} }
} }
public void downloadFile(String mURL, AppCompatActivity pcontext) {
if (helperMethod.checkPermissions(pcontext)) {
geckoDownloadManager mDownloadManager = mSession.getContentDelegate().getDownloadManager();
mSession.getDownloadHandler().downloadRequestedFile(mDownloadManager);
}
}
public void manual_download(String url, AppCompatActivity context) { public void manual_download(String url, AppCompatActivity context) {
Uri downloadURL = Uri.parse(url); Uri downloadURL = Uri.parse(url);
File f = new File(url); File f = new File(url);

View File

@ -17,8 +17,6 @@ import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.help
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.searchHandler; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses.searchHandler;
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums; import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
import org.mozilla.geckoview.GeckoView; import org.mozilla.geckoview.GeckoView;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;

View File

@ -6,9 +6,7 @@ import androidx.core.view.NestedScrollingChildHelper;
import androidx.core.view.ViewCompat; import androidx.core.view.ViewCompat;
import android.os.Handler; import android.os.Handler;
import android.util.AttributeSet; import android.util.AttributeSet;
import android.util.Log;
import android.view.MotionEvent; import android.view.MotionEvent;
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums; import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
@ -98,8 +96,6 @@ public class geckoView extends GeckoView {
mScrollOffsetRoot = (int) mTemp; mScrollOffsetRoot = (int) mTemp;
} }
Log.i("wow", eventY + " -- " + deltaY);
if (mSwipeDistance >= 350 || mSwipeDistance <= -350) { if (mSwipeDistance >= 350 || mSwipeDistance <= -350) {
mScrollable = true; mScrollable = true;
} }
@ -121,7 +117,6 @@ public class geckoView extends GeckoView {
mLastY -= mScrollOffset[1]; mLastY -= mScrollOffset[1];
event.offsetLocation(0, mScrollOffset[1]); event.offsetLocation(0, mScrollOffset[1]);
mNestedOffsetY += mScrollOffset[1]; mNestedOffsetY += mScrollOffset[1];
Log.i("fuck2", "sadadsasd");
} }
break; break;
@ -224,7 +219,4 @@ public class geckoView extends GeckoView {
mForcedScroll = pScroll; mForcedScroll = pScroll;
} }
public void onstopscroll(boolean pScroll) {
}
} }

View File

@ -15,7 +15,7 @@ import android.util.Base64;
import androidx.appcompat.app.AppCompatActivity; 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.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.dataModel.geckoDataModel; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.dataModel.geckoDataModel;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.delegateModel.promptDelegate; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.delegateModel.promptDelegate;
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.downloadManager.geckoDownloadManager; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.downloadManager.geckoDownloadManager;

View File

@ -5,7 +5,7 @@ import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import org.mozilla.geckoview.WebRequestError; import org.mozilla.geckoview.WebRequestError;

View File

@ -3,13 +3,9 @@ package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.hel
import android.content.Intent; import android.content.Intent;
import android.net.Uri; import android.net.Uri;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.constants.status; import com.hiddenservices.onionservices.constants.status;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.helperManager.helperMethod;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.List; import java.util.List;

View File

@ -1,12 +1,8 @@
package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses; package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.helperClasses;
import static com.hiddenservices.onionservices.pluginManager.pluginEnums.eMessageManager.M_OPEN_CICADA;
import android.Manifest; import android.Manifest;
import android.os.Build; import android.os.Build;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.hiddenservices.onionservices.pluginManager.pluginController;
import com.karumi.dexter.Dexter; import com.karumi.dexter.Dexter;
import com.karumi.dexter.DexterBuilder; import com.karumi.dexter.DexterBuilder;
import com.karumi.dexter.MultiplePermissionsReport; import com.karumi.dexter.MultiplePermissionsReport;
@ -14,7 +10,6 @@ import com.karumi.dexter.PermissionToken;
import com.karumi.dexter.listener.PermissionRequest; import com.karumi.dexter.listener.PermissionRequest;
import com.karumi.dexter.listener.multi.MultiplePermissionsListener; import com.karumi.dexter.listener.multi.MultiplePermissionsListener;
import java.lang.ref.WeakReference; import java.lang.ref.WeakReference;
import java.util.Collections;
import java.util.List; import java.util.List;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;
@ -92,7 +87,6 @@ public class permissionHandler {
@Override @Override
public void onPermissionRationaleShouldBeShown(List<PermissionRequest> list, PermissionToken permissionToken) { public void onPermissionRationaleShouldBeShown(List<PermissionRequest> list, PermissionToken permissionToken) {
// pluginController.getInstance().onMessageManagerInvoke(Collections.singletonList(this), M_OPEN_CICADA);
} }
}).check(); }).check();
} }

View File

@ -2,7 +2,6 @@ package com.hiddenservices.onionservices.appManager.homeManager.geckoManager.hel
import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession; import com.hiddenservices.onionservices.appManager.homeManager.geckoManager.geckoSession;
import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums; import com.hiddenservices.onionservices.appManager.homeManager.homeController.homeEnums;
import com.hiddenservices.onionservices.constants.enums;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import org.mozilla.geckoview.GeckoResult; import org.mozilla.geckoview.GeckoResult;
import org.mozilla.geckoview.GeckoSession; import org.mozilla.geckoview.GeckoSession;

View File

@ -26,7 +26,7 @@ import com.hiddenservices.onionservices.constants.enums;
import com.hiddenservices.onionservices.constants.strings; import com.hiddenservices.onionservices.constants.strings;
import com.hiddenservices.onionservices.eventObserver; import com.hiddenservices.onionservices.eventObserver;
import com.hiddenservices.onionservices.helperManager.helperMethod; import com.hiddenservices.onionservices.helperManager.helperMethod;
import com.leos.onionservices.R; import com.hiddenservices.onionservices.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;

Some files were not shown because too many files have changed in this diff Show More