summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.cpp
diff options
context:
space:
mode:
author Dan Sandler <dsandler@android.com> 2014-01-23 15:11:54 -0500
committer Dan Sandler <dsandler@android.com> 2014-01-30 13:23:14 -0500
commita5e0f415d351ad1a9c0ffde8d93df91a2384591f (patch)
tree867a75e7e197eb248110397aab9ab8a4d7cce986 /libs/hwui/ProgramCache.cpp
parent0bf2ed8ae394b327af1bc6e853a698c2dac67aaa (diff)
SystemUI support for notification visibility.
In this implementation, DISABLE_NOTIFICATION_TICKER (which was never really used on its own and can be safely subsumed by DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS; when this SystemUI bit is set by the keyguard, SystemUI knows to switch its presentation into "public" mode, in which VISIBILITY_PRIVATE notifications are replaced with their publicVersion's contentView (or a placeholder view, synthesized by SystemUI, that leaks no additional information about the notification). VISIBILITY_SECRET notifications are suppressed altogether in this mode. This behavior is enabled but not activated by default. To turn it on, run: $ adb shell settings put secure lock_screen_allow_notifications 1 and restart SystemUI. Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions