commit | 0d9f7d7bebe3fd08d6879ea3f8f13a153f036761 | [log] [tgz] |
---|---|---|
author | Charles He <qiurui@google.com> | Sun May 28 16:24:32 2017 +0100 |
committer | Charles He <qiurui@google.com> | Wed May 31 10:48:50 2017 +0100 |
tree | fd97492850214651cd0306bf9f1f11f70f5516e2 | |
parent | add77afe432987824f0954232692616f656807d0 [diff] |
SystemUI: fix notification redaction logic. Previously, the logic for redacting sensitive notifications is flawed for apps that have individually overridden the system-wide redaction setting. Sensitive notifications from such apps are still redacted even after unlock. This CL fixes the issue and also simplifies the redaction logic by taking advantage of the needsRedaction() method. Bug: 35951989 Test: manual, see bug log Change-Id: I6b72ed97b3056a93cbe44f54c607c16445f39551