OSDN Git Service

Move channel logging to dump method and redact name.
authorAaron Heuckroth <nesciosquid@google.com>
Tue, 3 Jul 2018 19:14:04 +0000 (15:14 -0400)
committerAaron Heuckroth <nesciosquid@google.com>
Mon, 9 Jul 2018 17:26:48 +0000 (13:26 -0400)
commit51d3288431806a86d3fc8850f53d9b88d449033d
tree4054c400f034982b518df4a891aa0e767872b394
parent841f7c2f0cbfa387806831d6107899804c9c3bd8
Move channel logging to dump method and redact name.

Test: Generate bug report and confirm that NotificationChannel logs contain redacted name strings.
Change-Id: Iebaf7b165de0276e69ead862aa7ec864ef912282
Fixes: 78326066
core/java/android/app/NotificationChannel.java
core/java/android/text/TextUtils.java
core/tests/coretests/src/android/text/TextUtilsTest.java
services/core/java/com/android/server/notification/RankingHelper.java