mirror of
https://github.com/playmusicexporter/playmusicexporter
synced 2024-06-08 07:10:01 +00:00
Updated to API 25, switched Preference File Mode to MODE_PRIVATE, since MODE_WORLD_READABLE is not supported anymore.
This commit is contained in:
parent
4d7d7eefe4
commit
7c9086a912
|
@ -29,7 +29,7 @@ buildscript {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:1.3.0'
|
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 25
|
||||||
buildToolsVersion "23.0.1"
|
buildToolsVersion "25.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 8
|
minSdkVersion 9
|
||||||
targetSdkVersion 23
|
targetSdkVersion 25
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
@ -42,5 +42,5 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
compile 'com.android.support:appcompat-v7:23.1.0'
|
compile 'com.android.support:appcompat-v7:25.0.1'
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,13 +25,13 @@
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 25
|
||||||
buildToolsVersion "23.0.2"
|
buildToolsVersion "25.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "de.arcus.playmusicexporter2"
|
applicationId "de.arcus.playmusicexporter2"
|
||||||
minSdkVersion 8
|
minSdkVersion 9
|
||||||
targetSdkVersion 23
|
targetSdkVersion 25
|
||||||
versionCode 102
|
versionCode 102
|
||||||
versionName '2.4.2'
|
versionName '2.4.2'
|
||||||
}
|
}
|
||||||
|
@ -45,9 +45,9 @@ android {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
compile 'com.android.support:appcompat-v7:23.1.1'
|
compile 'com.android.support:appcompat-v7:25.0.1'
|
||||||
compile 'com.android.support:support-v4:23.1.1'
|
compile 'com.android.support:support-v4:25.0.1'
|
||||||
compile 'com.android.support:design:23.1.1'
|
compile 'com.android.support:design:25.0.1'
|
||||||
compile project(':framework')
|
compile project(':framework')
|
||||||
compile project(':playmusiclib')
|
compile project(':playmusiclib')
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class SettingsActivity extends PreferenceActivity {
|
||||||
// Setup the default shared preference
|
// Setup the default shared preference
|
||||||
PreferenceManager prefMgr = getPreferenceManager();
|
PreferenceManager prefMgr = getPreferenceManager();
|
||||||
prefMgr.setSharedPreferencesName(PlayMusicExporterSettings.DEFAULT_SETTINGS_FILENAME);
|
prefMgr.setSharedPreferencesName(PlayMusicExporterSettings.DEFAULT_SETTINGS_FILENAME);
|
||||||
prefMgr.setSharedPreferencesMode(MODE_WORLD_READABLE);
|
prefMgr.setSharedPreferencesMode(MODE_PRIVATE);
|
||||||
|
|
||||||
// Loads the preference xml
|
// Loads the preference xml
|
||||||
addPreferencesFromResource(R.xml.preferences);
|
addPreferencesFromResource(R.xml.preferences);
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 23
|
compileSdkVersion 25
|
||||||
buildToolsVersion "23.0.1"
|
buildToolsVersion "25.0.1"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 8
|
minSdkVersion 9
|
||||||
targetSdkVersion 23
|
targetSdkVersion 25
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue