From df7bfcfc22fd131623e081f98f2c8c0fd33655c8 Mon Sep 17 00:00:00 2001 From: phweiss Date: Tue, 10 Jan 2017 19:31:07 +0100 Subject: [PATCH] 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) --- .../android/server/devicepolicy/DevicePolicyManagerService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java index cf37c71c6a4dd..d672e377ad691 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();