Themes: Fix setting wallpaper from a legacy theme

Change-Id: I3bfc9ee24d2a3ee5c1bdb97f2c07427e6d723206
Merge "Themes: Fix setting wallpaper from a legacy theme" into kitkat