OSDN Git Service

Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings
authorJason Chiu <chiujason@google.com>
Thu, 25 Jul 2019 08:23:12 +0000 (16:23 +0800)
committerJason Chiu <chiujason@google.com>
Thu, 25 Jul 2019 08:23:12 +0000 (16:23 +0800)
commit32930dbe4ecd0417c97aea1b5dfb2b0b396f33c1
tree69f1b2e8bdf7d0ae3519fc4887e34071cf887cfd
parent7c5bb0ecda1d0074f5c9438157d806dd2211502c
Fix DISALLOW_AMBIENT_DISPLAY blocks access to all lock screen display settings

"Ambient display" was merged into "Lock screen display", and the entry
was also moved from security page to display page and leveraged the
original user restriction of "Ambient display".

The user restriction should just work on the switch of Ambient display
instead of the "Lock screen display" entry.

Bug: 138177691
Test: robotest, visual
Change-Id: I5db0eb68c3aa6f4f7d8ecd42db2cdc72255b12f7
res/xml/display_settings.xml
res/xml/security_lockscreen_settings.xml