Skip to content

Commit ad490b5

Browse files
committed
RED-149 #time 30m Hotfix on the ActivityInterceptor that checks a non support instance. Update the version name and the version code
1 parent 45334db commit ad490b5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ android
2020
minSdkVersion 9
2121
targetSdkVersion 25
2222

23-
versionCode 13
24-
versionName "2.5.2"
23+
versionCode 14
24+
versionName "2.5.2.1"
2525
}
2626

2727
buildTypes

library/src/main/java/com/smartnsoft/droid4me/ext/app/ActivityInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ else if (interceptorEvent == InterceptorEvent.onCreate)
105105
}
106106
else if (interceptorEvent == InterceptorEvent.onCreateDone)
107107
{
108-
if (component instanceof Smartable<?> && component instanceof SmartFragment)
108+
if (component instanceof Smartable<?>)
109109
{
110110
// We handle a Fragment
111111
final Smartable<FragmentAggregateClass> smartableFragment = (Smartable<FragmentAggregateClass>) component;

0 commit comments

Comments
 (0)