From 3070ec0b9f46bbb91fcd58dbb365c3bbb1b74f40 Mon Sep 17 00:00:00 2001 From: Abdul Mannan Saeed <111820160@umt.edu.pk> Date: Sat, 25 Feb 2023 16:07:20 +0500 Subject: [PATCH] Bug Fixes Bug Fixes --- .idea/compiler.xml | 2 +- .idea/deploymentTargetDropDown.xml | 17 + .idea/gradle.xml | 1 + .idea/inspectionProfiles/Project_Default.xml | 3 + .idea/misc.xml | 2 +- .safedk/app_sdks.lst | 1 + .safedk/hashes.safedk | 4 +- .safedk/plugin.properties | 4 +- .../results.bin | 1 + .../jetified-OrbotLib-runtime/classes.dex | Bin 0 -> 11896 bytes app/build.gradle | 1 + app/src/main/AndroidManifest.xml | 4 +- .../main/assets/geckoview-config-noimage.yaml | 5 +- app/src/main/assets/geckoview-config.yaml | 5 +- .../advertManager/advertController.java | 84 ----- .../appManager/advertManager/advertEnums.java | 12 - .../appManager/bridgeManager/bridgeModel.java | 2 - .../externalURLNavigationContoller.java | 6 +- .../delegateModel/historyDelegate.java | 28 +- .../delegateModel/mediaSessionDelegate.java | 2 + .../delegateModel/navigationDelegate.java | 5 +- .../delegateModel/permissionDelegate.java | 105 ++++++ .../delegateModel/progressDelegate.java | 43 ++- .../delegateModel/promptDelegate.java | 203 +++++++---- .../geckoManager/geckoClients.java | 21 +- .../geckoManager/geckoSession.java | 27 +- .../homeController/homeController.java | 345 ++++++++++++------ .../homeManager/homeController/homeEnums.java | 2 +- .../homeManager/homeController/homeModel.java | 2 +- .../homeController/homeViewController.java | 246 ++++++++----- .../orbotManager/orbotController.java | 2 +- .../settingAccessibilityController.java | 1 + .../settingAdvanceController.java | 4 +- .../proxyStatusController.java | 6 - .../settingTrackingController.java | 6 + .../unproxiedConnectionController.java | 141 +++++++ .../unproxiedConnectionEnums.java | 12 + .../unproxiedConnectionViewController.java} | 23 +- .../unproxiedConnectionWebViewClient.java} | 80 ++-- .../onionservices/constants/constants.java | 2 + .../onionservices/constants/strings.java | 27 +- .../dataManager/bridgesDataModel.java | 2 +- .../dataManager/tabDataModel.java | 6 +- .../helperManager/helperMethod.java | 28 +- .../messagePluginManager/messageManager.java | 23 +- .../pluginManager/pluginController.java | 15 +- .../pluginManager/pluginEnums.java | 4 +- .../layout-ar/non_secure_connection_popup.xml | 8 +- .../layout-ar/popup_bridge_setting_custom.xml | 2 +- .../alert/layout-ar/popup_default_browser.xml | 2 +- .../layout-ar/secure_connection_popup.xml | 8 +- .../layouts/alert/layout/certificate_info.xml | 2 +- .../layout/non_secure_connection_popup.xml | 12 +- .../layout/popup_bridge_setting_custom.xml | 2 +- .../alert/layout/popup_default_browser.xml | 2 +- .../alert/layout/popup_download_full.xml | 14 +- .../alert/layout/popup_file_longpress.xml | 8 +- .../alert/layout/popup_url_longpress.xml | 6 +- .../alert/layout/secure_connection_popup.xml | 8 +- .../layout/activity_adview_controller.xml | 3 +- .../res/layouts/home/layout/home_view.xml | 11 +- .../setting/layout/setting_search_view.xml | 16 +- .../res/layouts/tab/layout/tab_grid_view.xml | 8 +- app/src/main/res/raw/bridges.txt | 19 +- app/src/main/res/values/strings.xml | 14 + .../android/service/OrbotService.java | 58 ++- .../android/service/util/Prefs.java | 59 ++- .../service/wrapper/orbotLocalConstants.java | 15 + orbotmanager/src/main/res/raw-fa/bridges.txt | 15 + .../src/main/res/raw-fa/debiancacerts.bks | Bin 0 -> 174398 bytes orbotmanager/src/main/res/values/strings.xml | 8 +- .../results.bin | 1 + .../jetified-tor-android-runtime/classes.dex | Bin 0 -> 15584 bytes 73 files changed, 1254 insertions(+), 612 deletions(-) create mode 100644 .idea/deploymentTargetDropDown.xml create mode 100644 OrbotLib/build/.transforms/5bcfbaece43949bb105e0266ed7ac793/results.bin create mode 100644 OrbotLib/build/.transforms/5bcfbaece43949bb105e0266ed7ac793/transformed/jetified-OrbotLib-runtime/classes.dex delete mode 100644 app/src/main/java/com/hiddenservices/onionservices/appManager/advertManager/advertController.java delete mode 100644 app/src/main/java/com/hiddenservices/onionservices/appManager/advertManager/advertEnums.java create mode 100644 app/src/main/java/com/hiddenservices/onionservices/appManager/homeManager/geckoManager/delegateModel/permissionDelegate.java create mode 100644 app/src/main/java/com/hiddenservices/onionservices/appManager/unproxiedConnectionManager/unproxiedConnectionController.java create mode 100644 app/src/main/java/com/hiddenservices/onionservices/appManager/unproxiedConnectionManager/unproxiedConnectionEnums.java rename app/src/main/java/com/hiddenservices/onionservices/appManager/{advertManager/advertViewController.java => unproxiedConnectionManager/unproxiedConnectionViewController.java} (53%) rename app/src/main/java/com/hiddenservices/onionservices/appManager/{advertManager/advertWebViewClient.java => unproxiedConnectionManager/unproxiedConnectionWebViewClient.java} (62%) create mode 100644 orbotmanager/src/main/res/raw-fa/bridges.txt create mode 100644 orbotmanager/src/main/res/raw-fa/debiancacerts.bks create mode 100644 tor-android/build/.transforms/0df73c5904b7fb1dffee0987a05da6f7/results.bin create mode 100644 tor-android/build/.transforms/0df73c5904b7fb1dffee0987a05da6f7/transformed/jetified-tor-android-runtime/classes.dex diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 7d7ec2ea..3e3a51b0 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/deploymentTargetDropDown.xml b/.idea/deploymentTargetDropDown.xml new file mode 100644 index 00000000..131ce921 --- /dev/null +++ b/.idea/deploymentTargetDropDown.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 88249687..3121f48a 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -7,6 +7,7 @@