wasabeef / Blurry

Blurry is an easy blur library for Android
Apache License 2.0
5.57k stars 602 forks source link

Blurry is failing and shows the prev image not blurred #70

Open SluggedGerm2 opened 6 years ago

SluggedGerm2 commented 6 years ago

The code is simple: Blurry.with(getApplicationContext()).from(bitmap).into(m_to_blurry); m_bottom_to_blurry.setImageDrawable(null); Blurry.with(getApplicationContext()).radius(25).sampling(10).from(bitmap).into(m_bottom_to_blurry);

This three sequential lines are executed more times with differents bitmaps, But in some randomly case, the second blur fails, and the image previosly blurred is shown into m_bottom_to_blurry.

On Android Emulator (api 22,23,24) this problem is not facing, I also tested it on Android Kitkat (on Wiko Wax) and there aren't problems. The device it has been faced for is the Huawei p8 lite.