Fix crash extracting wallpaper color

When extracting background color, copy the bitmap first
if it's a Config.HARDWARE bitmap (and recycle immediately
after that).

Fixes: 136195242
Change-Id: I815230895b9b57daa730a94905a30e1901f90c0c
(cherry picked from commit dfb59e8ec287a9650489d6d5040fc2b085f343a1)
1 file changed
tree: 87e3e302f0fc3ffc2cb985597c5f1e5c43704bb9
  1. Android.mk
  2. AndroidManifest.xml
  3. res/
  4. robolectric_tests/
  5. src/
  6. src_override/