Settings: create cm string for wallpapers

Change-Id: I21af266bb0aeff7598082d998b2c2e8d6bbbe187
(cherry picked from commit 7593bcb78d018afe78e8898dfaab917e64225c94)