OSDN Git Service

Improved UX when DISALLOW_SET_WALLPAPER is set.
authorOleksandr Peletskyi <peletskyi@google.com>
Tue, 5 Apr 2016 13:37:07 +0000 (15:37 +0200)
committerOleksandr Peletskyi <peletskyi@google.com>
Fri, 8 Apr 2016 09:32:48 +0000 (11:32 +0200)
commitc485487ac5469def39fa7307f9ff907ccde3f2b6
treeb5e4bfa1a5729d134ea1f37f707258167c736e86
parent36cce830b9319985b138432b89ea1022acf68785
Improved UX when DISALLOW_SET_WALLPAPER is set.

Changed type of Settings > Display > Wallpeper menu item
to RestrictedPreference. This allows to show the reason,
why the Wallpaper menu item is blocked.

BUG: 27914814
Change-Id: I6eb23ec9fcaa39bb7e45d020a5aaca0d83cef81f
res/xml/display_settings.xml
src/com/android/settings/DisplaySettings.java