Skip to content

Commit

Permalink
v1.6.0 Release
Browse files Browse the repository at this point in the history
*Temporary release.
  • Loading branch information
rayliverified committed Feb 22, 2018
1 parent f781f9a commit cf0d25f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion custompermissionsdialogue/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ dependencies {
repositories {
maven { url 'https://jitpack.io' }
maven { url "https://maven.google.com" }

}
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation 'com.android.support:appcompat-v7:27.0.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ public void create(View decorView, float radius) {
ViewGroup rootView = decorView.findViewById(android.R.id.content);
Drawable windowBackground = decorView.getBackground();

setupWith(rootView)
.windowBackground(windowBackground)
.blurAlgorithm(new RenderScriptBlur(getContext()))
.blurRadius(radius);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
setupWith(rootView)
.windowBackground(windowBackground)
.blurAlgorithm(new RenderScriptBlur(getContext()))
.blurRadius(radius);
}
}

/**
Expand Down

0 comments on commit cf0d25f

Please sign in to comment.