Skip to content

Commit

Permalink
Add LG devices to hardware blacklist. (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite authored Jan 31, 2020
1 parent 3cc028b commit 3db8ca8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions coil-base/src/main/java/coil/memory/HardwareBitmapService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,17 @@ private object HardwareBitmapBlacklist {
model.startsWith("moto g(6)", true)) return@run true
}

if (SDK_INT == O_MR1) {
// LG Stylo 4 (Boost/Sprint)
if (model == "LG-Q710AL") return@run true

// LG Tribute Empire
if (model == "LM-X220PM") return@run true

// LG K11
if (model.startsWith("LM-X410")) return@run true
}

return@run false
}
}

0 comments on commit 3db8ca8

Please sign in to comment.