OSDN Git Service

Show setting for work profile lock screen notification
authorFan Zhang <zhfan@google.com>
Thu, 25 May 2017 00:24:06 +0000 (17:24 -0700)
committerFan Zhang <zhfan@google.com>
Thu, 25 May 2017 18:49:10 +0000 (11:49 -0700)
commit33c493777b36db3d677b051c839047a90ddc2044
tree7164cabb16621ea35762d048dd5b6d388633c23b
parent21aab578c999e3f76dbd0dc113a3d8404c4c628a
Show setting for work profile lock screen notification

- Add work profile notification setting to security_lockscreen_setting
- Modify the preference controller to stop hardcode preference keys.

cherry-pick of: ag/2315314

Bug: 62051309
Bug: 62045663
Test: make RunSettingsRoboTests
Change-Id: I779590e34c1eca2dab5b62dda473cfa4371fc064
res/xml/security_lockscreen_settings.xml
src/com/android/settings/notification/ConfigureNotificationSettings.java
src/com/android/settings/notification/LockScreenNotificationPreferenceController.java
src/com/android/settings/security/LockscreenDashboardFragment.java
tests/robotests/assets/whitelist_duplicate_index_key
tests/robotests/src/com/android/settings/security/LockscreenDashboardFragmentTest.java [new file with mode: 0644]