From d4a54bbfd1902dccb0e4de03f15bfbbba50b9531 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 --- .../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 9f6606278cecc..2e5b6876719e7 100644 --- a/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java +++ b/services/devicepolicy/java/com/android/server/devicepolicy/DevicePolicyManagerService.java @@ -10097,6 +10097,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();