diff --git a/build.gradle b/build.gradle index afb430269..21d7027b8 100644 --- a/build.gradle +++ b/build.gradle @@ -27,14 +27,18 @@ android { lintConfig file("lint.xml") } - compileSdkVersion 23 - buildToolsVersion "23.0.3" + compileSdkVersion 24 + buildToolsVersion "24.0.0" defaultConfig { versionCode 408 versionName "4.8.17" minSdkVersion 14 - targetSdkVersion 23 + targetSdkVersion 24 + +// jackOptions { +// enabled true +// } } signingConfigs { @@ -44,6 +48,8 @@ android { compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 +// sourceCompatibility JavaVersion.VERSION_1_8 +// targetCompatibility JavaVersion.VERSION_1_8 } buildTypes { @@ -88,8 +94,8 @@ dependencies { compile 'com.google.dagger:dagger:2.1' compile 'com.nononsenseapps:filepicker:2.5.2' - compile 'com.android.support:design:23.4.0' - compile 'com.android.support:support-v13:23.4.0' + compile 'com.android.support:design:24.0.0' + compile 'com.android.support:support-v13:24.0.0' compile 'com.jakewharton:butterknife:8.0.1' compile 'com.jakewharton.timber:timber:4.1.1' compile 'com.google.guava:guava:19.0' diff --git a/src/main/java/org/tasks/preferences/Preferences.java b/src/main/java/org/tasks/preferences/Preferences.java index df119f195..d9912077a 100644 --- a/src/main/java/org/tasks/preferences/Preferences.java +++ b/src/main/java/org/tasks/preferences/Preferences.java @@ -47,7 +47,7 @@ public class Preferences { this.context = context; this.permissionChecker = permissionChecker; prefs = PreferenceManager.getDefaultSharedPreferences(context); - publicPrefs = context.getSharedPreferences(AstridApiConstants.PUBLIC_PREFS, Context.MODE_WORLD_READABLE); + publicPrefs = context.getSharedPreferences(AstridApiConstants.PUBLIC_PREFS, Context.MODE_PRIVATE); } public boolean backButtonSavesTask() {