Skip to content
This repository was archived by the owner on Dec 17, 2020. It is now read-only.

Commit 371289b

Browse files
committed
Merged develop into master
2 parents 40e89be + cb1ee50 commit 371289b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Android-Retainable-Tasks is available on jCenter, just add the following compile
1717

1818
```groovy
1919
dependencies {
20-
compile 'org.neotech.library:android-retainable-tasks:0.2.4'
20+
compile 'org.neotech.library:android-retainable-tasks:0.2.5'
2121
}
2222
```
2323

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
jcenter()
66
}
77
dependencies {
8-
classpath 'com.android.tools.build:gradle:2.2.0'
8+
classpath 'com.android.tools.build:gradle:2.2.1'
99
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
1010
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
1111
// NOTE: Do not place your application dependencies here; they belong

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ext {
1616
artifact = 'android-retainable-tasks'
1717

1818
libraryDescription = 'Android-Retainable-Tasks is an easy to use mini-library for easy asynchronous background tasking with callback support to the UI. This library is based on the Android AsyncTask implementation but with support for retaining tasks and therefore surviving configuration changes (orientation).'
19-
libraryVersion = '0.2.4'
19+
libraryVersion = '0.2.5'
2020

2121
siteUrl = 'https://github.com/NeoTech-Software/Android-Retainable-Tasks'
2222
gitUrl = 'https://github.com/NeoTech-Software/Android-Retainable-Tasks.git'

library/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest package="org.neotech.library.retainabletasks"
22
xmlns:tools="http://schemas.android.com/tools">
33

4-
<uses-sdk tools:overrideLibrary="android.support.v7.appcompat" />
4+
<uses-sdk tools:overrideLibrary="android.support.v7.appcompat, android.support.v4.appcompat" />
55
</manifest>

library/src/main/java/org/neotech/library/retainabletasks/TaskManagerLifeCycleProxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public TaskManager getTaskManager(){
5454
return fragmentTaskManager;
5555
}
5656
if(provider instanceof FragmentActivity){
57-
fragmentTaskManager = (BaseTaskManager) TaskManager.getActivityTaskManager(((FragmentActivity) provider).getFragmentManager());
57+
fragmentTaskManager = (BaseTaskManager) TaskManager.getActivityTaskManager(((FragmentActivity) provider).getSupportFragmentManager());
5858
} else if(provider instanceof Fragment){
5959
fragmentTaskManager = (BaseTaskManager) TaskManager.getFragmentTaskManager((Fragment) provider);
6060
} else if(provider instanceof Activity){

0 commit comments

Comments
 (0)