Skip to content

Commit

Permalink
[Release] v2.1.6 of the library.
Browse files Browse the repository at this point in the history
Fix orientation change as well as retainInstance thanks to [IskuhiSargsyan](https://github.com/IskuhiSargsyan) report
Tweak FastBlur implementation to avoid the allocation of 3 additional arrays for RGB channels thanks to [sh1](https://disqus.com/by/sh1sh1sh1/) feedback.
  • Loading branch information
tbarthel-fr committed May 12, 2016
1 parent b67920a commit 46ebbd0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Gradle dependency
Since the library is promoted on maven central, just add a new gradle dependency :

```groovy
compile 'fr.tvbarthel.blurdialogfragment:lib:2.1.5'
compile 'fr.tvbarthel.blurdialogfragment:lib:2.1.6'
```

Don't forget to check the [Use RenderScript in Your Project] (#use-renderscript-in-your-project) if you're planning to use it.
Expand Down Expand Up @@ -242,6 +242,8 @@ public class SampleDialogFragment extends MyCustomDialogFragment {
Benchmark
=======
# Benchmark outdated. Please refer to the debug option of the sample in order to compare FastBlur and RenderScript.
We used a Nexus 5 running a 4.4.4 stock rom for this bench.
Down scale factor 8.0 & Blur Radius 8 : [Screenshot](/static/blur_8.0_8.png)
Expand Down Expand Up @@ -285,6 +287,7 @@ Find more information on the [memory trace](http://tvbarthel.github.io/blur-dial
Change logs
=======
* 2.1.6 : Fix orientation change as well as retainInstance thanks to [IskuhiSargsyan](https://github.com/IskuhiSargsyan) report and tweak FastBlur implementation to avoid the allocation of 3 additional arrays for RGB channels thanks to [sh1](https://disqus.com/by/sh1sh1sh1/) feedback.
* 2.1.5 : Minor fixes thanks to [Edward S](https://github.com/edward-s) and [Tommy Chan](https://github.com/tommytcchan).
* 2.1.4 : Fix NPE during the blurring process thanks to [Anth06ny](https://github.com/Anth06ny), [jacobtabak](https://github.com/jacobtabak) and [serega2593](https://github.com/serega2593) reports.
* 2.1.3 : Remove unused resources thanks to [ligol](https://github.com/ligol) report.
Expand Down
11 changes: 6 additions & 5 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ apply plugin: 'com.jfrog.bintray'
apply from: '../config/quality.gradle'

group ='fr.tvbarthel.blurdialogfragment'
version = '2.1.5'
version = '2.1.6'


android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
minSdkVersion 9
targetSdkVersion 22
targetSdkVersion 23
renderscriptTargetApi 22
renderscriptSupportModeEnabled true
}
Expand Down Expand Up @@ -92,7 +93,7 @@ install {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:appcompat-v7:23.1.1'
}

task sourcesJar(type: Jar) {
Expand Down
14 changes: 7 additions & 7 deletions sample/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "fr.tvbarthel.lib.blurdialogfragment.sample"
minSdkVersion 9
targetSdkVersion 22
versionCode 6
versionName "1.5"
targetSdkVersion 23
versionCode 8
versionName "1.7"
renderscriptTargetApi 22
renderscriptSupportModeEnabled true
}
Expand All @@ -23,7 +23,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'com.android.support:cardview-v7:22.2.1'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:cardview-v7:23.1.1'
compile project (":lib")
}

0 comments on commit 46ebbd0

Please sign in to comment.