Commit 70538052 authored by Donald's avatar Donald

.

parent 5035591e
......@@ -10,7 +10,7 @@ repositories {
android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "org.horaapps.leafpic"
minSdkVersion 19
......
......@@ -29,9 +29,7 @@ import org.horaapps.leafpic.util.StringUtils;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
......@@ -44,8 +42,12 @@ public class HandlingAlbums extends SQLiteOpenHelper {
private static final int DATABASE_VERSION = 6;
private static final String DATABASE_NAME = "tracked_albums.db";
private static final String TABLE_ALBUMS = "tracked_albums";
private static final int EXCLUDED = 1;
private static final int INCLUDED = 2;
private static final int NORMAL = 0;
private static final String ALBUM_PATH = "path";
private static final String ALBUM_ID = "id";
private static final String ALBUM_PINNED = "pinned";
......@@ -298,11 +300,7 @@ public class HandlingAlbums extends SQLiteOpenHelper {
objectOutStream.close();
}
} catch (FileNotFoundException e1) {
e1.printStackTrace();
} catch (IOException e1) {
e1.printStackTrace();
} catch (ClassNotFoundException e) {
} catch (Exception e) {
e.printStackTrace();
}
}
......
......@@ -6,7 +6,7 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0-alpha3'
classpath 'com.android.tools.build:gradle:2.3.0-beta1'
classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.2.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment