Pavel Grafov
f9429262d2
Use primary user's LOCK_SCREEN_SHOW_NOTIFICATIONS.
...
Only primary user can set LOCK_SCREEN_SHOW_NOTIFICATIONS,
profile can only set notifications to be redacted. When the
user changes notification settings for a work app, this class
is invoked from the profile, meaning it attempts to read
LOCK_SCREEN_SHOW_NOTIFICATIONS for the profile, which is not
there. As a result the function always returs 0 for work apps.
Bug: 111112011
Test: atest packages/apps/Settings/tests/robotests/src/com/android/settings/notification/VisibilityPreferenceControllerTest.java
Change-Id: Ifb50209ea8ea8fb6639f00ca8b7cf8a4295890ad
Merged-In: Ifb50209ea8ea8fb6639f00ca8b7cf8a4295890ad
(cherry picked from commit f14de789f4 )
2018-07-04 13:02:03 +00:00
..
2018-04-05 14:47:44 -04:00
2018-03-04 03:50:08 -08:00
2018-05-24 17:29:03 +00:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-29 16:26:40 -04:00
2018-05-22 22:43:24 +00:00
2018-05-22 13:43:24 +00:00
2018-03-04 03:50:08 -08:00
2018-05-22 22:43:24 +00:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-04-12 13:49:34 -04:00
2018-03-30 16:09:34 -07:00
2018-03-30 16:09:34 -07:00
2018-03-04 03:50:08 -08:00
2018-04-18 12:17:33 -04:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-04-09 17:24:09 -04:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-05-22 22:43:24 +00:00
2018-03-04 03:50:08 -08:00
2018-03-26 11:23:14 -04:00
2018-03-04 03:50:08 -08:00
2018-04-09 17:24:09 -04:00
2018-03-04 03:50:08 -08:00
2018-03-30 16:09:34 -07:00
2018-05-22 22:43:24 +00:00
2017-11-20 16:40:47 +00:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-26 11:23:14 -04:00
2018-04-20 16:29:37 +01:00
2018-03-04 03:50:08 -08:00
2018-05-22 22:43:24 +00:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-04-04 17:35:41 -07:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-05-22 22:43:24 +00:00
2018-03-04 03:50:08 -08:00
2018-07-04 13:02:03 +00:00
2018-05-09 10:03:40 -07:00
2018-05-11 17:56:16 +08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-04-27 11:12:34 +00:00
2018-04-27 11:12:34 +00:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-05-04 14:45:43 -04:00
2018-05-04 14:45:43 -04:00
2018-05-04 14:45:43 -04:00
2018-05-04 14:45:43 -04:00
2018-03-08 16:42:35 -05:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-12 13:46:32 -04:00
2018-03-04 03:50:08 -08:00
2018-03-06 09:15:29 -05:00
2018-03-04 03:50:08 -08:00
2018-03-16 13:14:03 -04:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-03-04 03:50:08 -08:00
2018-05-14 14:39:32 +00:00
2018-05-17 18:20:36 -07:00
2018-05-09 16:12:10 -04:00
2018-03-06 09:15:29 -05:00
2018-04-19 09:27:22 -04:00
2018-04-27 11:12:34 +00:00
2018-05-18 21:24:37 +00:00
2018-04-27 11:12:34 +00:00
2018-06-06 20:29:43 +00:00