summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author phweiss <phweiss@google.com> 2017-01-10 19:31:07 +0100
committer Philipp Weiß <phweiss@google.com> 2017-01-11 15:04:00 +0000
commitdf7bfcfc22fd131623e081f98f2c8c0fd33655c8 (patch)
tree3d1e9d3cee9882c20110b5f8809751dd42b501e1
parenta00c2356009e1f93c1f86974048e49b69e4ab7a4 (diff)
Add ticker text for network logging notification
Set ticker text to title for accessibility. Bug:31207965 Test: manual Change-Id: I0b78f9e6464dd470b74e0db97813623b335835d9 (cherry picked from commit d4a54bbfd1902dccb0e4de03f15bfbbba50b9531)
-rw-r--r--services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
index cf37c71c6a4d..d672e377ad69 100644
--- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
+++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java
@@ -9597,6 +9597,7 @@ public class DevicePolicyManagerService extends IDevicePolicyManager.Stub {
.setSmallIcon(R.drawable.ic_qs_network_logging)
.setContentTitle(mContext.getString(R.string.network_logging_notification_title))
.setContentText(mContext.getString(R.string.network_logging_notification_text))
+ .setTicker(mContext.getString(R.string.network_logging_notification_title))
.setShowWhen(true)
.setContentIntent(pendingIntent)
.build();