Simplifying some wallpaper loading code

Adding a InputStreamProvider class to abstract out input stream generation logic
This removed duplicate code at multiple places to handle uri and resources differently

Change-Id: I29709629e371032b07818e2202a50e1aed57dcc5
15 files changed