From 6a7c593353f725d6fb3863ad04220061c60d942c Mon Sep 17 00:00:00 2001 From: Nathan Freitas Date: Sat, 28 Mar 2015 00:39:58 -0400 Subject: [PATCH] a little bit of code re-org and new package for wizard --- AndroidManifest.xml | 4 +-- res/menu/orbot_main.xml | 8 ++++- res/values/strings.xml | 2 ++ src/org/torproject/android/OrbotApp.java | 2 +- ...{TorConstants.java => OrbotConstants.java} | 2 +- .../torproject/android/OrbotMainActivity.java | 35 ++++++++++--------- .../android/service/TorResourceInstaller.java | 4 +-- .../android/service/TorService.java | 26 +++++++------- .../android/service/TorServiceUtils.java | 6 ++-- .../android/service/TorTransProxy.java | 6 ++-- .../android/settings/AppManager.java | 4 +-- .../android/ui/OrbotLogActivity.java | 4 +-- .../ChooseLocaleWizardActivity.java | 6 ++-- .../ui/{ => wizard}/TipsAndTricks.java | 6 ++-- 14 files changed, 63 insertions(+), 52 deletions(-) rename src/org/torproject/android/{TorConstants.java => OrbotConstants.java} (98%) rename src/org/torproject/android/ui/{ => wizard}/ChooseLocaleWizardActivity.java (97%) rename src/org/torproject/android/ui/{ => wizard}/TipsAndTricks.java (97%) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0dbd1924..ee624d85 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -88,8 +88,8 @@ /> - - + + org.torproject.android.ui.wizard.ChooseLocaleWizardActivityui.ChooseLocaleWizardActivity" android:exported="false"/> diff --git a/res/menu/orbot_main.xml b/res/menu/orbot_main.xml index 55e5b17b..cff67e90 100644 --- a/res/menu/orbot_main.xml +++ b/res/menu/orbot_main.xml @@ -26,6 +26,11 @@ yourapp:showAsAction="always" /> + + - + +