diff --git a/app/src/main/Android.mk b/Android.mk similarity index 93% rename from app/src/main/Android.mk rename to Android.mk index dac28272..7fd87ce7 100644 --- a/app/src/main/Android.mk +++ b/Android.mk @@ -21,6 +21,6 @@ LOCAL_PACKAGE_NAME := Backup LOCAL_MODULE_TAGS := optional LOCAL_REQUIRED_MODULES := com.stevesoltys.backup.xml LOCAL_PRIVILEGED_MODULE := true -LOCAL_SRC_FILES := $(call all-java-files-under, java) +LOCAL_SRC_FILES := $(call all-java-files-under, src) LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res include $(BUILD_PACKAGE) diff --git a/app/src/main/AndroidManifest.xml b/AndroidManifest.xml similarity index 100% rename from app/src/main/AndroidManifest.xml rename to AndroidManifest.xml diff --git a/app/build.gradle b/app/build.gradle deleted file mode 100644 index 3e592589..00000000 --- a/app/build.gradle +++ /dev/null @@ -1,17 +0,0 @@ -apply plugin: 'com.android.application' - -android { - compileSdkVersion 26 - buildToolsVersion '26.0.1' - - buildTypes { - release { - minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } -} - -dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') -} diff --git a/build.gradle b/build.gradle deleted file mode 100644 index c2eea8e2..00000000 --- a/build.gradle +++ /dev/null @@ -1,23 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. - -buildscript { - repositories { - jcenter() - } - dependencies { - classpath 'com.android.tools.build:gradle:2.3.3' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } -} - -allprojects { - repositories { - jcenter() - } -} - -task clean(type: Delete) { - delete rootProject.buildDir -} diff --git a/app/src/main/permissions_com.stevesoltys.backup.xml b/permissions_com.stevesoltys.backup.xml similarity index 100% rename from app/src/main/permissions_com.stevesoltys.backup.xml rename to permissions_com.stevesoltys.backup.xml diff --git a/app/src/main/res/layout/activity_create_backup.xml b/res/layout/activity_create_backup.xml similarity index 100% rename from app/src/main/res/layout/activity_create_backup.xml rename to res/layout/activity_create_backup.xml diff --git a/app/src/main/res/layout/activity_main.xml b/res/layout/activity_main.xml similarity index 100% rename from app/src/main/res/layout/activity_main.xml rename to res/layout/activity_main.xml diff --git a/app/src/main/res/layout/activity_restore_backup.xml b/res/layout/activity_restore_backup.xml similarity index 100% rename from app/src/main/res/layout/activity_restore_backup.xml rename to res/layout/activity_restore_backup.xml diff --git a/app/src/main/res/layout/checked_list_item.xml b/res/layout/checked_list_item.xml similarity index 100% rename from app/src/main/res/layout/checked_list_item.xml rename to res/layout/checked_list_item.xml diff --git a/app/src/main/res/layout/progress_popup_window.xml b/res/layout/progress_popup_window.xml similarity index 100% rename from app/src/main/res/layout/progress_popup_window.xml rename to res/layout/progress_popup_window.xml diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-hdpi/ic_launcher.png rename to res/mipmap-hdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-mdpi/ic_launcher.png rename to res/mipmap-mdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to res/mipmap-xhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to res/mipmap-xxhdpi/ic_launcher.png diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to res/mipmap-xxxhdpi/ic_launcher.png diff --git a/app/src/main/res/values-w820dp/dimens.xml b/res/values-w820dp/dimens.xml similarity index 100% rename from app/src/main/res/values-w820dp/dimens.xml rename to res/values-w820dp/dimens.xml diff --git a/app/src/main/res/values/arrays.xml b/res/values/arrays.xml similarity index 100% rename from app/src/main/res/values/arrays.xml rename to res/values/arrays.xml diff --git a/app/src/main/res/values/colors.xml b/res/values/colors.xml similarity index 100% rename from app/src/main/res/values/colors.xml rename to res/values/colors.xml diff --git a/app/src/main/res/values/dimens.xml b/res/values/dimens.xml similarity index 100% rename from app/src/main/res/values/dimens.xml rename to res/values/dimens.xml diff --git a/app/src/main/res/values/strings.xml b/res/values/strings.xml similarity index 100% rename from app/src/main/res/values/strings.xml rename to res/values/strings.xml diff --git a/app/src/main/res/values/styles.xml b/res/values/styles.xml similarity index 100% rename from app/src/main/res/values/styles.xml rename to res/values/styles.xml diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index e7b4def4..00000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':app' diff --git a/app/src/main/java/com/stevesoltys/backup/activity/MainActivity.java b/src/com/stevesoltys/backup/activity/MainActivity.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/MainActivity.java rename to src/com/stevesoltys/backup/activity/MainActivity.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/MainActivityController.java b/src/com/stevesoltys/backup/activity/MainActivityController.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/MainActivityController.java rename to src/com/stevesoltys/backup/activity/MainActivityController.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/backup/BackupObserver.java b/src/com/stevesoltys/backup/activity/backup/BackupObserver.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/backup/BackupObserver.java rename to src/com/stevesoltys/backup/activity/backup/BackupObserver.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/backup/BackupPopupWindowListener.java b/src/com/stevesoltys/backup/activity/backup/BackupPopupWindowListener.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/backup/BackupPopupWindowListener.java rename to src/com/stevesoltys/backup/activity/backup/BackupPopupWindowListener.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/backup/CreateBackupActivity.java b/src/com/stevesoltys/backup/activity/backup/CreateBackupActivity.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/backup/CreateBackupActivity.java rename to src/com/stevesoltys/backup/activity/backup/CreateBackupActivity.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/backup/CreateBackupActivityController.java b/src/com/stevesoltys/backup/activity/backup/CreateBackupActivityController.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/backup/CreateBackupActivityController.java rename to src/com/stevesoltys/backup/activity/backup/CreateBackupActivityController.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/restore/RestoreBackupActivity.java b/src/com/stevesoltys/backup/activity/restore/RestoreBackupActivity.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/restore/RestoreBackupActivity.java rename to src/com/stevesoltys/backup/activity/restore/RestoreBackupActivity.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/restore/RestoreBackupActivityController.java b/src/com/stevesoltys/backup/activity/restore/RestoreBackupActivityController.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/restore/RestoreBackupActivityController.java rename to src/com/stevesoltys/backup/activity/restore/RestoreBackupActivityController.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/restore/RestoreObserver.java b/src/com/stevesoltys/backup/activity/restore/RestoreObserver.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/restore/RestoreObserver.java rename to src/com/stevesoltys/backup/activity/restore/RestoreObserver.java diff --git a/app/src/main/java/com/stevesoltys/backup/activity/restore/RestorePopupWindowListener.java b/src/com/stevesoltys/backup/activity/restore/RestorePopupWindowListener.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/activity/restore/RestorePopupWindowListener.java rename to src/com/stevesoltys/backup/activity/restore/RestorePopupWindowListener.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/BackupManagerController.java b/src/com/stevesoltys/backup/session/BackupManagerController.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/BackupManagerController.java rename to src/com/stevesoltys/backup/session/BackupManagerController.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/backup/BackupResult.java b/src/com/stevesoltys/backup/session/backup/BackupResult.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/backup/BackupResult.java rename to src/com/stevesoltys/backup/session/backup/BackupResult.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/backup/BackupSession.java b/src/com/stevesoltys/backup/session/backup/BackupSession.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/backup/BackupSession.java rename to src/com/stevesoltys/backup/session/backup/BackupSession.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/backup/BackupSessionObserver.java b/src/com/stevesoltys/backup/session/backup/BackupSessionObserver.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/backup/BackupSessionObserver.java rename to src/com/stevesoltys/backup/session/backup/BackupSessionObserver.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/restore/RestoreResult.java b/src/com/stevesoltys/backup/session/restore/RestoreResult.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/restore/RestoreResult.java rename to src/com/stevesoltys/backup/session/restore/RestoreResult.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/restore/RestoreSession.java b/src/com/stevesoltys/backup/session/restore/RestoreSession.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/restore/RestoreSession.java rename to src/com/stevesoltys/backup/session/restore/RestoreSession.java diff --git a/app/src/main/java/com/stevesoltys/backup/session/restore/RestoreSessionObserver.java b/src/com/stevesoltys/backup/session/restore/RestoreSessionObserver.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/session/restore/RestoreSessionObserver.java rename to src/com/stevesoltys/backup/session/restore/RestoreSessionObserver.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/ConfigurableBackupTransport.java b/src/com/stevesoltys/backup/transport/ConfigurableBackupTransport.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/ConfigurableBackupTransport.java rename to src/com/stevesoltys/backup/transport/ConfigurableBackupTransport.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/ConfigurableBackupTransportService.java b/src/com/stevesoltys/backup/transport/ConfigurableBackupTransportService.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/ConfigurableBackupTransportService.java rename to src/com/stevesoltys/backup/transport/ConfigurableBackupTransportService.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/BackupComponent.java b/src/com/stevesoltys/backup/transport/component/BackupComponent.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/BackupComponent.java rename to src/com/stevesoltys/backup/transport/component/BackupComponent.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/RestoreComponent.java b/src/com/stevesoltys/backup/transport/component/RestoreComponent.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/RestoreComponent.java rename to src/com/stevesoltys/backup/transport/component/RestoreComponent.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupComponent.java b/src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupComponent.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupComponent.java rename to src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupComponent.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfiguration.java b/src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfiguration.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfiguration.java rename to src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfiguration.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfigurationBuilder.java b/src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfigurationBuilder.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfigurationBuilder.java rename to src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupConfigurationBuilder.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupState.java b/src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupState.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupState.java rename to src/com/stevesoltys/backup/transport/component/provider/ContentProviderBackupState.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreComponent.java b/src/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreComponent.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreComponent.java rename to src/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreComponent.java diff --git a/app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreState.java b/src/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreState.java similarity index 100% rename from app/src/main/java/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreState.java rename to src/com/stevesoltys/backup/transport/component/provider/ContentProviderRestoreState.java diff --git a/app/src/main/whitelist_com.stevesoltys.backup.xml b/whitelist_com.stevesoltys.backup.xml similarity index 100% rename from app/src/main/whitelist_com.stevesoltys.backup.xml rename to whitelist_com.stevesoltys.backup.xml