mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
Don't build bitmaps when running in GL.
Change-Id: I28c93256bca748be6a00698a6c41cbab5dd4a349
This commit is contained in:
@@ -250,7 +250,9 @@ public class PagedViewCellLayout extends ViewGroup {
|
||||
final View view = getChildAt(i);
|
||||
view.setDrawingCacheEnabled(enabled);
|
||||
// Update the drawing caches
|
||||
view.buildDrawingCache(true);
|
||||
if (!view.isHardwareAccelerated()) {
|
||||
view.buildDrawingCache(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user