diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml
index 242c758e..07727caf 100644
--- a/.idea/deploymentTargetDropDown.xml
+++ b/.idea/deploymentTargetDropDown.xml
@@ -7,11 +7,11 @@
-
+
-
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
index 7c988e3c..febbc86b 100644
--- a/.idea/gradle.xml
+++ b/.idea/gradle.xml
@@ -28,7 +28,6 @@
-
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 74bb5bc2..af079604 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -80,8 +80,21 @@
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/orion/release/output-metadata.json b/app/orion/release/output-metadata.json
index 8f45788f..5374ea58 100644
--- a/app/orion/release/output-metadata.json
+++ b/app/orion/release/output-metadata.json
@@ -4,7 +4,7 @@
"type": "APK",
"kind": "Directory"
},
- "applicationId": "com.darkweb.genesissearchengine.production",
+ "applicationId": "com.hiddenservices.onionservices",
"variantName": "orionRelease",
"elements": [
{
@@ -33,19 +33,6 @@
"versionName": "Build | Dark-Origin 1.0.5.0",
"outputFile": "app-orion-armeabi-v7a-release.apk"
},
- {
- "type": "ONE_OF_MANY",
- "filters": [
- {
- "filterType": "ABI",
- "value": "x86"
- }
- ],
- "attributes": [],
- "versionCode": 382,
- "versionName": "Build | Dark-Origin 1.0.5.0",
- "outputFile": "app-orion-x86-release.apk"
- },
{
"type": "ONE_OF_MANY",
"filters": [
@@ -58,6 +45,19 @@
"versionCode": 381,
"versionName": "Build | Dark-Origin 1.0.5.0",
"outputFile": "app-orion-arm64-v8a-release.apk"
+ },
+ {
+ "type": "ONE_OF_MANY",
+ "filters": [
+ {
+ "filterType": "ABI",
+ "value": "x86"
+ }
+ ],
+ "attributes": [],
+ "versionCode": 382,
+ "versionName": "Build | Dark-Origin 1.0.5.0",
+ "outputFile": "app-orion-x86-release.apk"
}
],
"elementType": "File"
diff --git a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoClients.java b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoClients.java
index 38a8d767..c19bb67d 100644
--- a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoClients.java
+++ b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoClients.java
@@ -605,13 +605,14 @@ public class geckoClients {
public void onReloadDelay(NestedGeckoView mNestedGeckoView, AppCompatActivity pcontext, boolean isThemeCall) {
new Handler().postDelayed(() ->
- {
- mSession.stop();
- String url = mSession.getCurrentURL();
- if (url.startsWith("http://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/?pG") || url.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion?pG") || url.endsWith("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || url.contains(constants.CONST_GENESIS_HELP_URL_SUB) || url.contains(constants.CONST_GENESIS_HELP_URL_CACHE) || url.contains(constants.CONST_GENESIS_HELP_URL_CACHE_DARK)) {
- loadURL(mSession.getCurrentURL(), mNestedGeckoView, pcontext);
- } else if (!isThemeCall) {
- mSession.reload();
+ { if(mSession != null){
+ mSession.stop();
+ String url = mSession.getCurrentURL();
+ if (url.startsWith("http://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion/?pG") || url.startsWith("https://trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion?pG") || url.endsWith("trcip42ymcgvv5hsa7nxpwdnott46ebomnn5pm5lovg5hpszyo4n35yd.onion") || url.contains(constants.CONST_GENESIS_HELP_URL_SUB) || url.contains(constants.CONST_GENESIS_HELP_URL_CACHE) || url.contains(constants.CONST_GENESIS_HELP_URL_CACHE_DARK)) {
+ loadURL(mSession.getCurrentURL(), mNestedGeckoView, pcontext);
+ } else if (!isThemeCall) {
+ mSession.reload();
+ }
}
}, 1000);
}
diff --git a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoSession.java b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoSession.java
index 9f927eaa..18a6ef97 100644
--- a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoSession.java
+++ b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/geckoSession.java
@@ -601,9 +601,9 @@ geckoSession extends GeckoSession implements MediaSession.Delegate, GeckoSession
private String setGenesisVerificationToken(String pString) {
try {
if (pString.contains("?")) {
- pString += "&" + constants.CONST_GENESIS_GMT_TIME_GET_KEY + "=" + trueTimeEncryption.getInstance().getSecretToken();
+ pString += "&" + constants.CONST_GENESIS_GMT_TIME_GET_KEY + "=" + trueTimeEncryption.getInstance().getSecretToken() + "&theme=" + status.sTheme;
} else {
- pString += "?" + constants.CONST_GENESIS_GMT_TIME_GET_KEY + "=" + trueTimeEncryption.getInstance().getSecretToken();
+ pString += "?" + constants.CONST_GENESIS_GMT_TIME_GET_KEY + "=" + trueTimeEncryption.getInstance().getSecretToken() + "&theme=" + status.sTheme;
}
return pString;
} catch (Exception ex) {
diff --git a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeController.java b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeController.java
index 17d2590c..46a71de3 100644
--- a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeController.java
+++ b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeController.java
@@ -2035,7 +2035,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba
public void onReInitTheme() {
recreate();
- mHomeViewController.onUpdateStatusBarTheme(mGeckoClient.getTheme(), true);
+ //mHomeViewController.onUpdateStatusBarTheme(mGeckoClient.getTheme(), true);
}
public void onResetData() {
diff --git a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeViewController.java b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeViewController.java
index c086f807..36fcc42c 100644
--- a/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeViewController.java
+++ b/app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/homeController/homeViewController.java
@@ -1431,33 +1431,37 @@ class homeViewController {
scaleDown.start();
alpha.start();
- scaleDown.addListener(new Animator.AnimatorListener() {
- @Override
- public void onAnimationStart(Animator animation, boolean isReverse) {
- }
+ if (Build.VERSION.SDK_INT > Build.VERSION_CODES.LOLLIPOP_MR1) {
+ scaleDown.addListener(new Animator.AnimatorListener() {
+ @Override
+ public void onAnimationStart(Animator animation, boolean isReverse) {
+ }
- @Override
- public void onAnimationEnd(Animator animation, boolean isReverse) {
- mEvent.invokeObserver(data, e_type);
- }
+ @Override
+ public void onAnimationEnd(Animator animation, boolean isReverse) {
+ mEvent.invokeObserver(data, e_type);
+ }
- @Override
- public void onAnimationStart(Animator animation) {
- }
+ @Override
+ public void onAnimationStart(Animator animation) {
+ }
- @Override
- public void onAnimationEnd(Animator animation) {
- }
+ @Override
+ public void onAnimationEnd(Animator animation) {
+ }
- @Override
- public void onAnimationCancel(Animator animation) {
+ @Override
+ public void onAnimationCancel(Animator animation) {
- }
+ }
- @Override
- public void onAnimationRepeat(Animator animation) {
- }
- });
+ @Override
+ public void onAnimationRepeat(Animator animation) {
+ }
+ });
+ }else {
+ mEvent.invokeObserver(data, e_type);
+ }
}
public void onHomeTabAnimation(List