From c1f1b4c79c2d05bca7450417f29759ba203da9d1 Mon Sep 17 00:00:00 2001 From: Meenbeese Date: Tue, 11 Jun 2024 17:48:47 -0400 Subject: [PATCH] Reorganize the app file tree for clarity --- app/src/main/AndroidManifest.xml | 10 +++++----- .../main/java/org/torproject/android/OrbotActivity.kt | 2 ++ .../android/circumvention/CircumventionApi.kt | 2 +- .../{ => connection}/ConfigConnectionBottomSheet.kt | 4 +++- .../android/{ => connection}/ConnectFragment.kt | 4 +++- .../{ => connection}/ConnectionHelperCallbacks.kt | 2 +- .../{ => connection}/CustomBridgeBottomSheet.kt | 4 +++- .../android/{ => connection}/ExitNodeDialogFragment.kt | 3 ++- .../android/{ => connection}/MoatBottomSheet.kt | 7 ++++--- .../android/{ => kindness}/KindessConfigBottomSheet.kt | 4 +++- .../android/{ => kindness}/KindnessFragment.kt | 4 +++- .../android/{ui => more}/AboutDialogFragment.kt | 2 +- .../android/{ui => more}/MoreActionAdapter.kt | 3 ++- .../org/torproject/android/{ => more}/MoreFragment.kt | 8 +++++--- .../{ui => }/onboarding/CustomBridgesActivity.java | 2 +- .../android/{ui => }/onboarding/ProxiedHurlStack.kt | 2 +- .../OnionServiceActionsDialogFragment.java | 2 +- .../{ui => }/v3onionservice/OnionServiceActivity.java | 2 +- .../v3onionservice/OnionServiceContentProvider.java | 2 +- .../OnionServiceCreateDialogFragment.java | 2 +- .../{ui => }/v3onionservice/OnionServiceDatabase.java | 2 +- .../v3onionservice/OnionServiceDeleteDialogFragment.kt | 2 +- .../{ui => }/v3onionservice/OnionV3ListAdapter.java | 2 +- .../{ui => }/v3onionservice/PermissionManager.kt | 2 +- .../android/{ui => }/v3onionservice/V3BackupUtils.java | 4 ++-- .../android/{ui => }/v3onionservice/ZipUtilities.java | 2 +- .../clientauth/ClientAuthActionsDialogFragment.java | 2 +- .../v3onionservice/clientauth/ClientAuthActivity.java | 4 ++-- .../clientauth/ClientAuthBackupDialogFragment.java | 4 ++-- .../clientauth/ClientAuthContentProvider.java | 2 +- .../clientauth/ClientAuthCreateDialogFragment.java | 2 +- .../v3onionservice/clientauth/ClientAuthDatabase.java | 2 +- .../clientauth/ClientAuthDeleteDialogFragment.java | 2 +- .../clientauth/ClientAuthListAdapter.java | 2 +- app/src/main/res/layout/activity_custom_bridges.xml | 2 +- app/src/main/res/layout/activity_hosted_services.xml | 2 +- app/src/main/res/layout/activity_v3auth.xml | 2 +- app/src/main/res/layout/fragment_more.xml | 2 +- app/src/main/res/layout/layout_hs_list_view_main.xml | 2 +- app/src/main/res/navigation/nav_graph.xml | 6 +++--- 40 files changed, 69 insertions(+), 52 deletions(-) rename app/src/main/java/org/torproject/android/{ => connection}/ConfigConnectionBottomSheet.kt (98%) rename app/src/main/java/org/torproject/android/{ => connection}/ConnectFragment.kt (99%) rename app/src/main/java/org/torproject/android/{ => connection}/ConnectionHelperCallbacks.kt (60%) rename app/src/main/java/org/torproject/android/{ => connection}/CustomBridgeBottomSheet.kt (91%) rename app/src/main/java/org/torproject/android/{ => connection}/ExitNodeDialogFragment.kt (97%) rename app/src/main/java/org/torproject/android/{ => connection}/MoatBottomSheet.kt (97%) rename app/src/main/java/org/torproject/android/{ => kindness}/KindessConfigBottomSheet.kt (90%) rename app/src/main/java/org/torproject/android/{ => kindness}/KindnessFragment.kt (95%) rename app/src/main/java/org/torproject/android/{ui => more}/AboutDialogFragment.kt (98%) rename app/src/main/java/org/torproject/android/{ui => more}/MoreActionAdapter.kt (93%) rename app/src/main/java/org/torproject/android/{ => more}/MoreFragment.kt (95%) rename app/src/main/java/org/torproject/android/{ui => }/onboarding/CustomBridgesActivity.java (99%) rename app/src/main/java/org/torproject/android/{ui => }/onboarding/ProxiedHurlStack.kt (95%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionServiceActionsDialogFragment.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionServiceActivity.java (99%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionServiceContentProvider.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionServiceCreateDialogFragment.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionServiceDatabase.java (96%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionServiceDeleteDialogFragment.kt (97%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/OnionV3ListAdapter.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/PermissionManager.kt (97%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/V3BackupUtils.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/ZipUtilities.java (99%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthActionsDialogFragment.java (96%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthActivity.java (97%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthBackupDialogFragment.java (97%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthContentProvider.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthCreateDialogFragment.java (98%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthDatabase.java (93%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthDeleteDialogFragment.java (95%) rename app/src/main/java/org/torproject/android/{ui => }/v3onionservice/clientauth/ClientAuthListAdapter.java (97%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f4576c9da..aa034c10d 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -66,14 +66,14 @@ android:label="@string/title_choose_apps"/> - + tools:context=".onboarding.CustomBridgesActivity"> + tools:context="org.torproject.android.v3onionservice.OnionServiceActivity"> + tools:context="org.torproject.android.v3onionservice.clientauth.ClientAuthActivity"> + tools:context=".more.MoreFragment"> diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml index d2952d35f..b7ea052f6 100644 --- a/app/src/main/res/navigation/nav_graph.xml +++ b/app/src/main/res/navigation/nav_graph.xml @@ -7,17 +7,17 @@ \ No newline at end of file