From cf15bc39c0cd4cea09f6bee80562cccbd2e64748 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 11 Dec 2017 17:28:24 +0000 Subject: [PATCH] Update compile and target sdk version. --- app/build.gradle | 4 ++-- app/src/main/java/com/etesync/syncadapter/App.java | 2 +- .../main/java/com/etesync/syncadapter/NotificationHelper.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 42897c0c..da9b5e77 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 25 - buildToolsVersion '25.0.2' + compileSdkVersion 27 + buildToolsVersion '27.0.1' defaultConfig { applicationId "com.etesync.syncadapter" diff --git a/app/src/main/java/com/etesync/syncadapter/App.java b/app/src/main/java/com/etesync/syncadapter/App.java index 3dc388ce..e3d951f2 100644 --- a/app/src/main/java/com/etesync/syncadapter/App.java +++ b/app/src/main/java/com/etesync/syncadapter/App.java @@ -31,9 +31,9 @@ import android.provider.CalendarContract; import android.provider.ContactsContract; import android.support.annotation.NonNull; import android.support.annotation.Nullable; +import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationManagerCompat; import android.support.v4.content.ContextCompat; -import android.support.v7.app.NotificationCompat; import android.util.Log; import com.etesync.syncadapter.log.LogcatHandler; diff --git a/app/src/main/java/com/etesync/syncadapter/NotificationHelper.java b/app/src/main/java/com/etesync/syncadapter/NotificationHelper.java index 327df9b8..e2befb75 100644 --- a/app/src/main/java/com/etesync/syncadapter/NotificationHelper.java +++ b/app/src/main/java/com/etesync/syncadapter/NotificationHelper.java @@ -7,8 +7,8 @@ import android.content.Intent; import android.database.sqlite.SQLiteException; import android.net.Uri; import android.os.Bundle; +import android.support.v4.app.NotificationCompat; import android.support.v4.app.NotificationManagerCompat; -import android.support.v7.app.NotificationCompat; import com.etesync.syncadapter.journalmanager.Exceptions; import com.etesync.syncadapter.ui.AccountSettingsActivity;