OSDN Git Service

Resizing the bitmap before caching it in the DB
authorSunny Goyal <sunnygoyal@google.com>
Mon, 20 Jul 2015 21:32:48 +0000 (14:32 -0700)
committerSunny Goyal <sunnygoyal@google.com>
Mon, 20 Jul 2015 21:34:30 +0000 (14:34 -0700)
commitdf6ccf81960ab73d46570d56443e94c4df48e0c8
tree37644b4c185ecbfa41ab2429ee8087efba87c0da
parente3fe3f89ee956e8d7995c569948cb70765ec19b8
Resizing the bitmap before caching it in the DB

> The icon size in the backup can be different that what is
  required by the device. We should resize the icon, before
  caching it.

Bug: 22413328
Change-Id: Id77c53edf8ea5e95a2d32dbe22be553120279ebd
src/com/android/launcher3/IconCache.java
src/com/android/launcher3/LauncherBackupHelper.java