File tree Expand file tree Collapse file tree 4 files changed +10
-29
lines changed
src/main/java/com/unity3d/ads/adunit Expand file tree Collapse file tree 4 files changed +10
-29
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ apply plugin: 'com.android.application'
22
33android {
44 compileSdkVersion 24
5- buildToolsVersion " 24.0.1 "
5+ buildToolsVersion " 24.0.2 "
66
77 defaultConfig {
88 applicationId " com.unity3d.ads.example"
99 minSdkVersion 9
10- targetSdkVersion 24
11- versionCode = 2003
12- versionName = " 2.0.3 "
10+ targetSdkVersion 23
11+ versionCode = 2004
12+ versionName = " 2.0.4 "
1313 }
1414 buildTypes {
1515 release {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
33android {
44 compileSdkVersion 24
5- buildToolsVersion " 24.0.1 "
5+ buildToolsVersion " 24.0.2 "
66 com.android.ddmlib.DdmPreferences . setLogLevel(" verbose" )
77 com.android.ddmlib.DdmPreferences . setTimeOut(10 * 60000 )
88
@@ -11,9 +11,9 @@ android {
1111
1212 defaultConfig {
1313 minSdkVersion 9
14- targetSdkVersion 24
15- versionCode = 2003
16- versionName = " 2.0.3 "
14+ targetSdkVersion 23
15+ versionCode = 2004
16+ versionName = " 2.0.4 "
1717
1818 setProperty(" archivesBaseName" , " unity-ads" )
1919
Original file line number Diff line number Diff line change @@ -345,9 +345,9 @@ private void createVideoPlayer () {
345345
346346 private void destroyVideoPlayer () {
347347 if (VideoPlayer .getVideoPlayerView () != null ) {
348- ViewUtilities .removeViewFromParent (VideoPlayer .getVideoPlayerView ());
349- VideoPlayer .getVideoPlayerView ().stopPlayback ();
350348 VideoPlayer .getVideoPlayerView ().stopVideoProgressTimer ();
349+ VideoPlayer .getVideoPlayerView ().stopPlayback ();
350+ ViewUtilities .removeViewFromParent (VideoPlayer .getVideoPlayerView ());
351351 }
352352
353353 VideoPlayer .setVideoPlayerView (null );
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments