From 2a1d306aaf19868b255c3a15ddb474432efcf473 Mon Sep 17 00:00:00 2001 From: mib-iqbal Date: Mon, 6 Nov 2017 13:04:32 +0800 Subject: [PATCH] MI | Change package name to smartregister #6 Signed-off-by: mib-iqbal --- opensrp-gizi/build.gradle | 2 +- .../gizi/ApplicationTest.java | 2 +- opensrp-gizi/src/main/AndroidManifest.xml | 17 ++++++------ .../gizi/GiziHomeActivity.java | 15 ++++------- .../gizi/GiziNavigationController.java | 5 ++-- .../gizi/LoginActivity.java | 10 +++---- .../gizi/SettingsActivity.java | 2 +- .../gizi/application/GiziApplication.java | 13 +++------- .../SyncGiziBroadcastReceiver.java | 2 +- .../gizi/child}/CommonObjectFilterOption.java | 3 +-- .../gizi/child}/ErrorReportingFacade.java | 6 +---- .../gizi/child}/FlurryFacade.java | 2 +- .../gizi/child}/GiziDateSort.java | 2 +- .../gizi/child}/GiziDetailActivity.java | 8 ++---- .../gizi/child}/GiziGrowthChartActivity.java | 4 +-- .../gizi/child}/GiziSearchOption.java | 4 +-- .../gizi/child}/GiziServiceModeOption.java | 4 +-- .../gizi/child}/GiziSmartClientsProvider.java | 4 +-- .../child}/GiziSmartRegisterActivity.java | 26 ++++++------------- .../gizi/child}/GiziZScoreChartActivity.java | 4 +-- .../child}/KICommonObjectFilterOption.java | 2 +- .../gizi/child}/KmsHandler.java | 2 +- .../GiziLocationSelectorDialogFragment.java | 2 +- .../fragment/GiziSmartRegisterFragment.java | 19 +++++++------- .../BaseRegisterActivityPagerAdapter.java | 2 +- .../gizi/repository/GiziRepository.java | 8 ++---- .../src/main/java/util/GiziConstants.java | 2 +- .../ZScore/ReferenceTableForDailyIndex.java | 2 +- .../main/java/widget/CircleFlowIndicator.java | 2 +- .../main/java/widget/TitleFlowIndicator.java | 2 +- .../src/main/java/widget/ViewFlow.java | 2 +- .../gizi/ExampleUnitTest.java | 2 +- 32 files changed, 73 insertions(+), 109 deletions(-) rename opensrp-gizi/src/androidTest/java/org/{ei/opensrp => smartregister}/gizi/ApplicationTest.java (90%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/GiziHomeActivity.java (96%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/GiziNavigationController.java (94%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/LoginActivity.java (98%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/SettingsActivity.java (98%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/application/GiziApplication.java (93%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/application/SyncGiziBroadcastReceiver.java (96%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/CommonObjectFilterOption.java (94%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/ErrorReportingFacade.java (71%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/FlurryFacade.java (96%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziDateSort.java (98%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziDetailActivity.java (98%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziGrowthChartActivity.java (99%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziSearchOption.java (96%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziServiceModeOption.java (97%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziSmartClientsProvider.java (99%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziSmartRegisterActivity.java (95%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/GiziZScoreChartActivity.java (99%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/KICommonObjectFilterOption.java (95%) rename opensrp-gizi/src/main/java/org/{ei/opensrp/gizi/gizi => smartregister/gizi/child}/KmsHandler.java (99%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/fragment/GiziLocationSelectorDialogFragment.java (99%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/fragment/GiziSmartRegisterFragment.java (98%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/pageradapter/BaseRegisterActivityPagerAdapter.java (97%) rename opensrp-gizi/src/main/java/org/{ei/opensrp => smartregister}/gizi/repository/GiziRepository.java (94%) rename opensrp-gizi/src/test/java/org/{ei/opensrp => smartregister}/gizi/ExampleUnitTest.java (90%) diff --git a/opensrp-gizi/build.gradle b/opensrp-gizi/build.gradle index 3405233..310ea13 100644 --- a/opensrp-gizi/build.gradle +++ b/opensrp-gizi/build.gradle @@ -25,7 +25,7 @@ android { buildToolsVersion "26.0.1" defaultConfig { - applicationId "org.ei.opensrp.gizi" + applicationId "org.smartregister.gizi" minSdkVersion 18 targetSdkVersion 21 versionCode 1 diff --git a/opensrp-gizi/src/androidTest/java/org/ei/opensrp/gizi/ApplicationTest.java b/opensrp-gizi/src/androidTest/java/org/smartregister/gizi/ApplicationTest.java similarity index 90% rename from opensrp-gizi/src/androidTest/java/org/ei/opensrp/gizi/ApplicationTest.java rename to opensrp-gizi/src/androidTest/java/org/smartregister/gizi/ApplicationTest.java index 2f96876..3c8ec6b 100644 --- a/opensrp-gizi/src/androidTest/java/org/ei/opensrp/gizi/ApplicationTest.java +++ b/opensrp-gizi/src/androidTest/java/org/smartregister/gizi/ApplicationTest.java @@ -1,4 +1,4 @@ -package org.ei.opensrp.gizi; +package org.smartregister.gizi; import android.app.Application; import android.test.ApplicationTestCase; diff --git a/opensrp-gizi/src/main/AndroidManifest.xml b/opensrp-gizi/src/main/AndroidManifest.xml index fb1bfd8..5f474a6 100644 --- a/opensrp-gizi/src/main/AndroidManifest.xml +++ b/opensrp-gizi/src/main/AndroidManifest.xml @@ -1,12 +1,13 @@ - + - + + + android:name=".application.GiziApplication">