commit | df7bfcfc22fd131623e081f98f2c8c0fd33655c8 | [log] [tgz] |
---|---|---|
author | phweiss <phweiss@google.com> | Tue Jan 10 19:31:07 2017 +0100 |
committer | Philipp Weiß <phweiss@google.com> | Wed Jan 11 15:04:00 2017 +0000 |
tree | 3d1e9d3cee9882c20110b5f8809751dd42b501e1 | |
parent | a00c2356009e1f93c1f86974048e49b69e4ab7a4 [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)
diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index cf37c71..d672e37 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 @@ .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();