Adding a utility method for getting device prefs

Change-Id: I1e3c7df0a3f4e847b40d722d44890e441cc73509
4 files changed