diff --git a/.idea/misc.xml b/.idea/misc.xml
index 7bcea2ac..2612c26e 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,6 +3,7 @@
diff --git a/app/build.gradle b/app/build.gradle
index cf9d721e..b63da675 100755
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -78,31 +78,30 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.preference:preference-ktx:1.1.1'
+ implementation 'androidx.preference:preference-ktx:1.2.0'
implementation 'androidx.legacy:legacy-preference-v14:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.cardview:cardview:1.0.0'
- implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
+ implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
implementation 'com.android.support:support-core-utils:28.0.0'
/* Default Libraries */
- implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
+ implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'com.android.support.constraint:constraint-layout:2.0.4'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'androidx.preference:preference-ktx:1.1.1'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'androidx.appcompat:appcompat:1.3.1'
+ implementation 'com.google.android.material:material:1.5.0'
+ implementation 'androidx.preference:preference-ktx:1.2.0'
+ implementation 'com.google.android.material:material:1.5.0'
+ implementation 'androidx.appcompat:appcompat:1.4.1'
/* Firefox ABI Splits */
implementation "org.mozilla.components:browser-engine-gecko:75.0.0"
implementation "org.mozilla.components:browser-icons:91.0.6"
- implementation "org.mozilla.geckoview:geckoview: 90.0.20210705185941"
+ implementation "org.mozilla.geckoview:geckoview: 97.0.20220202182137"
implementation "org.mozilla.components:concept-fetch:91.0.6"
implementation "org.mozilla.components:concept-base:91.0.6"
implementation "org.mozilla.components:support-utils:91.0.6"
-
/*Crashlytics*/
implementation 'com.flurry.android:analytics:12.13.0@aar'
@@ -118,7 +117,7 @@ dependencies {
/* Crawler Service */
- implementation 'org.jsoup:jsoup:1.11.1'
+ implementation 'org.jsoup:jsoup:1.13.1'
/* Orbot Service */
@@ -133,13 +132,13 @@ dependencies {
implementation 'com.android.volley:volley:1.2.1'
implementation 'com.github.instacart.truetime-android:library-extension-rx:3.3'
implementation "net.zetetic:android-database-sqlcipher:4.4.3"
- implementation "androidx.sqlite:sqlite-ktx:2.1.0"
+ implementation "androidx.sqlite:sqlite-ktx:2.2.0"
implementation 'androidx.palette:palette-ktx:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
- implementation 'androidx.coordinatorlayout:coordinatorlayout:1.1.0'
- implementation 'com.google.android.material:material:1.4.0'
+ implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
+ implementation 'com.google.android.material:material:1.5.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation 'com.google.android.gms:play-services-ads:20.3.0'
+ implementation 'com.google.android.gms:play-services-ads:20.5.0'
}
/* Automated APK Generation */
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index b51ca294..78d3fcbc 100755
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -12,6 +12,7 @@
+
0) {
outputStream.write(buf, 0, len);
}
- } finally {
- outputStream.close();
}
- } finally {
- inputStream.close();
}
} catch (IOException e) {
e.printStackTrace();
@@ -230,7 +208,6 @@ public class geckoClients
private final WebExtension.MessageDelegate mMessagingDelegate = new WebExtension.MessageDelegate() {
- @Nullable
@Override
public void onConnect(@NonNull WebExtension.Port port) {
Log.e("MessageDelegate", "onConnect");
diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeController.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeController.java
index b0536289..9dbf50a0 100644
--- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeController.java
+++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeController.java
@@ -743,7 +743,7 @@ public class homeController extends AppCompatActivity implements ComponentCallba
Cursor c= Objects.requireNonNull(dMgr).query(new DownloadManager.Query().setFilterById(id));
if(c.moveToFirst()){
- String url = c.getString(c.getColumnIndex(DownloadManager.COLUMN_URI));
+ @SuppressLint("Range") String url = c.getString(c.getColumnIndex(DownloadManager.COLUMN_URI));
onNotificationInvoked(URLUtil.guessFileName(url, null, null), enums.etype.download_folder);
}
}
@@ -1765,6 +1765,14 @@ public class homeController extends AppCompatActivity implements ComponentCallba
mHomeViewController.onUpdateSearchBar(strings.GENERIC_EMPTY_STR, false, true, true);
}
+ public void onCopySearch(View view){
+ if(mSearchBarPreviousText.length()==0){
+ helperMethod.copyURL(mSearchbar.getText().toString(),this);
+ }else {
+ helperMethod.copyURL(mSearchBarPreviousText,this);
+ }
+ }
+
public void onFindNext(View view){
mGeckoClient.getSession().findInPage(mFindText.getText().toString(), GeckoSession.FINDER_FIND_MATCH_CASE & GeckoSession.FINDER_DISPLAY_HIGHLIGHT_ALL);
}
diff --git a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java
index 3ccbd520..a96ba897 100644
--- a/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java
+++ b/app/src/main/java/com/darkweb/genesissearchengine/appManager/homeManager/homeController/homeViewController.java
@@ -115,8 +115,6 @@ class homeViewController
private boolean isLandscape = false;
private boolean isFullScreen = false;
private MovementMethod mSearchBarMovementMethod = null;
- private Handler mTabDialogHandler = null;
- private Runnable mTabDialogRunnable = null;
private boolean mIsTopBarExpanded = true;
void initialization(eventObserver.eventListener event, AppCompatActivity context, Button mNewTab, ConstraintLayout webviewContainer, TextView loadingText, ProgressBar progressBar, editTextManager searchbar, ConstraintLayout splashScreen, ImageView loading, MoPubView banner_ads, ImageButton gateway_splash, LinearLayout top_bar, GeckoView gecko_view, ImageView backsplash, Button connect_button, View pFindBar, EditText pFindText, TextView pFindCount, androidx.constraintlayout.widget.ConstraintLayout pTopLayout, ImageButton pVoiceInput, ImageButton pMenu, androidx.core.widget.NestedScrollView pNestedScroll, ImageView pBlocker, ImageView pBlockerFullSceen, View mSearchEngineBar, TextView pCopyright, RecyclerView pHistListView, com.google.android.material.appbar.AppBarLayout pAppBar, ImageButton pOrbotLogManager, ConstraintLayout pInfoLandscape, ConstraintLayout pInfoPortrait, ProgressBar pProgressBarIndeterminate, FragmentContainerView pTabFragment, LinearLayout pTopBarContainer, ImageView pSearchLock, ImageView pTopBarHider, ImageView pNewTabBlocker, CoordinatorLayout mCoordinatorLayout, ImageView pImageDivider, ImageButton pPanicButton, ImageView pGenesisLogo, ImageButton pPanicButtonLandscape){
@@ -435,7 +433,7 @@ class homeViewController
void initTab(int count, boolean pForced, enums.etype pEvent, List