summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-11-16 21:12:11 +0100
committerdaniel oeh <daniel.oeh@gmail.com>2013-11-16 21:12:11 +0100
commitef922d018c50a9594d4994282695a68a6e40b00f (patch)
treeab9840fd042778962e169567fa5212244ff0756b
parent85975df9fb14deab100b54f9d6bdfa193535c204 (diff)
downloadAntennaPod-ef922d018c50a9594d4994282695a68a6e40b00f.zip
Updated dependency version numbers, removed workaround for actionmode bug
-rw-r--r--AndroidManifest.xml2
-rw-r--r--build.gradle8
-rw-r--r--pom.xml19
-rw-r--r--src/de/danoeh/antennapod/activity/DownloadActivity.java14
-rw-r--r--src/de/danoeh/antennapod/fragment/FeedlistFragment.java14
m---------submodules/dslv0
6 files changed, 21 insertions, 36 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cf3f1e7b3..5ed5d7a81 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -9,7 +9,7 @@
<uses-sdk
android:minSdkVersion="10"
- android:targetSdkVersion="18" />
+ android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
diff --git a/build.gradle b/build.gradle
index 20166fa52..22774c68e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,7 +23,7 @@ dependencies {
new URL('http://www.aocate.com/presto/client/presto_client-0.8.5.jar').withInputStream{ i -> prestoLib.withOutputStream{ it << i }}
}
- compile 'com.android.support:appcompat-v7:18.0.+'
+ compile 'com.android.support:appcompat-v7:19.0.+'
compile 'org.apache.commons:commons-lang3:3.1'
compile ('org.shredzone.flattr4j:flattr4j-core:2.7') {
exclude group: 'org.apache.httpcomponents', module: 'httpcore'
@@ -37,12 +37,12 @@ dependencies {
}
android {
- compileSdkVersion 18
- buildToolsVersion "18.1.0"
+ compileSdkVersion 19
+ buildToolsVersion "19.0.0"
defaultConfig {
minSdkVersion 10
- targetSdkVersion 18
+ targetSdkVersion 19
testPackageName "de.test.antennapod"
testInstrumentationRunner "instrumentationTest.de.test.antennapod.AntennaPodTestRunner"
}
diff --git a/pom.xml b/pom.xml
index a1fa49244..7ae6e816c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,18 +13,18 @@
<dependency>
<groupId>android.support</groupId>
<artifactId>compatibility-v4</artifactId>
- <version>18</version>
+ <version>19</version>
</dependency>
<dependency>
<groupId>android.support</groupId>
<artifactId>compatibility-v7-appcompat</artifactId>
- <version>18</version>
+ <version>19</version>
<type>apklib</type>
</dependency>
<dependency>
<groupId>android.support</groupId>
<artifactId>compatibility-v7-appcompat</artifactId>
- <version>18</version>
+ <version>19</version>
<type>jar</type>
</dependency>
<dependency>
@@ -58,15 +58,16 @@
</exclusions>
</dependency>
<dependency>
- <groupId>com.google.android</groupId>
+ <groupId>android</groupId>
<artifactId>android</artifactId>
<scope>provided</scope>
- <version>4.1.1.4</version>
+ <version>4.4_r1</version>
</dependency>
<dependency>
- <groupId>com.google.android</groupId>
+ <groupId>com.google.android.annotations</groupId>
<artifactId>annotations</artifactId>
- <version>4.1.1.4</version>
+ <version>22.3</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
@@ -109,11 +110,11 @@
<plugin>
<groupId>com.jayway.maven.plugins.android.generation2</groupId>
<artifactId>android-maven-plugin</artifactId>
- <version>3.6.1</version>
+ <version>3.8.0</version>
<configuration>
<sdk>
<path>${env.ANDROID_HOME}</path>
- <platform>18</platform>
+ <platform>19</platform>
</sdk>
<manifest>
<debuggable>true</debuggable>
diff --git a/src/de/danoeh/antennapod/activity/DownloadActivity.java b/src/de/danoeh/antennapod/activity/DownloadActivity.java
index 51491a286..ee5bb502c 100644
--- a/src/de/danoeh/antennapod/activity/DownloadActivity.java
+++ b/src/de/danoeh/antennapod/activity/DownloadActivity.java
@@ -240,19 +240,11 @@ public class DownloadActivity extends ActionBarActivity implements
return handled;
}
- private boolean actionModeDestroyWorkaround = false; // TODO remove this workaround
- private boolean skipWorkAround = Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH;
-
@Override
public void onDestroyActionMode(ActionMode mode) {
- if (skipWorkAround || actionModeDestroyWorkaround) {
- mActionMode = null;
- selectedDownload = null;
- dla.setSelectedItemIndex(DownloadlistAdapter.SELECTION_NONE);
- actionModeDestroyWorkaround = false;
- } else {
- actionModeDestroyWorkaround = true;
- }
+ mActionMode = null;
+ selectedDownload = null;
+ dla.setSelectedItemIndex(DownloadlistAdapter.SELECTION_NONE);
}
private BroadcastReceiver contentChanged = new BroadcastReceiver() {
diff --git a/src/de/danoeh/antennapod/fragment/FeedlistFragment.java b/src/de/danoeh/antennapod/fragment/FeedlistFragment.java
index ed607b279..d0e07b194 100644
--- a/src/de/danoeh/antennapod/fragment/FeedlistFragment.java
+++ b/src/de/danoeh/antennapod/fragment/FeedlistFragment.java
@@ -244,19 +244,11 @@ public class FeedlistFragment extends Fragment implements
return true;
}
- private boolean actionModeDestroyWorkaround = false; // TODO remove this workaround
- private boolean skipWorkAround = Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH;
-
@Override
public void onDestroyActionMode(ActionMode mode) {
- if (skipWorkAround || actionModeDestroyWorkaround) {
- mActionMode = null;
- selectedFeed = null;
- fla.setSelectedItemIndex(FeedlistAdapter.SELECTION_NONE);
- actionModeDestroyWorkaround = false;
- } else {
- actionModeDestroyWorkaround = true;
- }
+ mActionMode = null;
+ selectedFeed = null;
+ fla.setSelectedItemIndex(FeedlistAdapter.SELECTION_NONE);
}
@Override
diff --git a/submodules/dslv b/submodules/dslv
-Subproject f294d8eec59f73b5594634cac6fe1dc4e2cb32b
+Subproject 1bb29afb91f41af53f136599cf349752c13f52a