Use settings' theme when inflating account prefs
When inflating account specific preferences, the settings style is set so the inflated preferences have the same style. If a different theme, than the rest of the system, is set for Settings it is possible for the inflated preference to try and reference a theme specific item which won't be part of that apps resources, resulting in an InflateException. To avoid this we attach the themed resources that are applied to settings to the newly created package context so that those resources can be properly resolved. Change-Id: I0cf0430db379b146fe80ce3173f050e5b120bbbb TICKET: CYNGNOS-2318 (cherry picked from commit 3403e489) (cherry picked from commit c9ddae03)
Loading
Please register or sign in to comment