From d28db417827c601eddaf6be9f01326c68b9c3e03 Mon Sep 17 00:00:00 2001 From: arrase Date: Thu, 24 Nov 2016 02:56:11 +0100 Subject: [PATCH] big refactor --- app/src/main/AndroidManifest.xml | 10 +++++----- .../org/torproject/android/OrbotMainActivity.java | 6 +++--- .../HiddenServicesActivity.java | 14 +++++++------- .../adapters/BackupAdapter.java | 2 +- .../adapters/OnionListAdapter.java | 4 ++-- .../hiddenservices}/backup/BackupUtils.java | 4 ++-- .../{ => ui/hiddenservices}/backup/ZipIt.java | 2 +- .../database/HSDatabase.java | 2 +- .../dialogs/HSActionsDialog.java | 14 ++++---------- .../dialogs/HSDataDialog.java | 4 ++-- .../dialogs/SelectBackupDialog.java | 6 +++--- .../providers/HSContentProvider.java | 6 +++--- .../hiddenservices}/storage/AppDataProvider.java | 2 +- .../hiddenservices}/storage/ExternalStorage.java | 2 +- .../hiddenservices}/storage/PermissionManager.java | 2 +- app/src/main/res/layout/layout_hs_list_view.xml | 2 +- .../main/res/layout/layout_hs_list_view_main.xml | 2 +- .../org/torproject/android/service/TorService.java | 2 +- 18 files changed, 40 insertions(+), 46 deletions(-) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/HiddenServicesActivity.java (89%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/adapters/BackupAdapter.java (95%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/adapters/OnionListAdapter.java (91%) rename app/src/main/java/org/torproject/android/{ => ui/hiddenservices}/backup/BackupUtils.java (93%) rename app/src/main/java/org/torproject/android/{ => ui/hiddenservices}/backup/ZipIt.java (97%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/database/HSDatabase.java (94%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/dialogs/HSActionsDialog.java (90%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/dialogs/HSDataDialog.java (95%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/dialogs/SelectBackupDialog.java (92%) rename app/src/main/java/org/torproject/android/ui/{hs => hiddenservices}/providers/HSContentProvider.java (96%) rename app/src/main/java/org/torproject/android/{ => ui/hiddenservices}/storage/AppDataProvider.java (95%) rename app/src/main/java/org/torproject/android/{ => ui/hiddenservices}/storage/ExternalStorage.java (94%) rename app/src/main/java/org/torproject/android/{ => ui/hiddenservices}/storage/PermissionManager.java (97%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c0990769..b7a5e879 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -137,7 +137,7 @@ + android:authorities="org.torproject.android.ui.hiddenservices.providers" /> + tools:context="org.torproject.android.ui.hiddenservices.HiddenServicesActivity">