diff --git a/.classpath b/.classpath index 5b9cd4b..c117472 100644 --- a/.classpath +++ b/.classpath @@ -1,12 +1,13 @@ - + - - + + + diff --git a/README.md b/README.md index 4bf7788..b68bb1f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Eleven music player (CyanogenMod/LineageOS) - compatible with Android version >1 Copied from https://github.com/LineageOS/android_packages_apps_Eleven/archive/cm-14.1.zip (03.08.2017) Moved to lineage-15.1 branch. -Merged with upstream project on 06.04.2018 +Merged with upstream project on 31.12.2018 Made compatibility changes for android version >14 using as much material design as possible diff --git a/app/build.gradle b/app/build.gradle new file mode 100644 index 0000000..31716a1 --- /dev/null +++ b/app/build.gradle @@ -0,0 +1,64 @@ +apply plugin: 'com.android.application' + +android { + compileSdkVersion 28 + buildToolsVersion "28.0.3" + + defaultConfig { + applicationId "org.lineageos.eleven" + targetSdkVersion 28 + renderscriptTargetApi 28 + renderscriptSupportModeEnabled true + versionCode 3 + versionName "3.0" + + vectorDrawables.useSupportLibrary = true + } + + signingConfigs { + release { + storeFile file("/home/didi/eclipse/DevStore") + storePassword "test123" + keyAlias "TestKey" + keyPassword "1234567890" + } + } + + compileOptions { + sourceCompatibility "1.8" + targetCompatibility "1.8" + } + + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt' + signingConfig signingConfigs.release + } + } + + lintOptions { + disable 'ExtraTranslation', 'MissingTranslation', 'MissingQuantity' + disable 'ProtectedPermissions' + disable 'AppLinkUrlError', 'StringFormatInvalid' + } + + useLibrary 'android.test.runner' + + useLibrary 'android.test.base' + useLibrary 'android.test.mock' +} + +dependencies { + implementation fileTree(include: ['*.jar'], dir: 'libs') + implementation 'androidx.appcompat:appcompat:1.0.2' + implementation 'androidx.palette:palette:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.0.0' + implementation 'androidx.legacy:legacy-preference-v14:1.0.0' + implementation 'androidx.cardview:cardview:1.0.0' + implementation 'androidx.preference:preference:1.0.0' + implementation 'androidx.gridlayout:gridlayout:1.0.0' + implementation 'androidx.media:media:1.0.0' + implementation 'com.google.guava:guava:24.1-jre' +} + diff --git a/AndroidManifest.xml b/app/src/main/AndroidManifest.xml similarity index 98% rename from AndroidManifest.xml rename to app/src/main/AndroidManifest.xml index 5d4c73d..22e151a 100644 --- a/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -21,7 +21,7 @@ + android:targetSdkVersion="28" /> @@ -45,6 +45,8 @@ + + diff --git a/src/main/aidl/org/lineageos/eleven/IElevenService.aidl b/app/src/main/aidl/org/lineageos/eleven/IElevenService.aidl similarity index 100% rename from src/main/aidl/org/lineageos/eleven/IElevenService.aidl rename to app/src/main/aidl/org/lineageos/eleven/IElevenService.aidl diff --git a/src/main/aidl/org/lineageos/eleven/service/MusicPlaybackTrack.aidl b/app/src/main/aidl/org/lineageos/eleven/service/MusicPlaybackTrack.aidl similarity index 100% rename from src/main/aidl/org/lineageos/eleven/service/MusicPlaybackTrack.aidl rename to app/src/main/aidl/org/lineageos/eleven/service/MusicPlaybackTrack.aidl diff --git a/assets/Roboto-Light.ttf b/app/src/main/assets/Roboto-Light.ttf similarity index 100% rename from assets/Roboto-Light.ttf rename to app/src/main/assets/Roboto-Light.ttf diff --git a/assets/Roboto-Medium.ttf b/app/src/main/assets/Roboto-Medium.ttf similarity index 100% rename from assets/Roboto-Medium.ttf rename to app/src/main/assets/Roboto-Medium.ttf diff --git a/assets/Roboto-Regular.ttf b/app/src/main/assets/Roboto-Regular.ttf similarity index 100% rename from assets/Roboto-Regular.ttf rename to app/src/main/assets/Roboto-Regular.ttf diff --git a/assets/licenses.html b/app/src/main/assets/licenses.html similarity index 97% rename from assets/licenses.html rename to app/src/main/assets/licenses.html index e238ddc..558e0b3 100644 --- a/assets/licenses.html +++ b/app/src/main/assets/licenses.html @@ -67,11 +67,11 @@

Notices for files: