diff --git a/vending-app/src/main/java/com/android/vending/licensing/LicenseServiceNotificationRunnable.java b/vending-app/src/main/java/com/android/vending/licensing/LicenseServiceNotificationRunnable.java index 9084e2dd010993c01fa7a036eba249edf9c4a32f..4d3ac84de2b2138443e8bee61bc774ca742a459b 100644 --- a/vending-app/src/main/java/com/android/vending/licensing/LicenseServiceNotificationRunnable.java +++ b/vending-app/src/main/java/com/android/vending/licensing/LicenseServiceNotificationRunnable.java @@ -73,11 +73,13 @@ public class LicenseServiceNotificationRunnable implements Runnable { context, callerUid * 2 + 1, ignoreIntent, PendingIntent.FLAG_MUTABLE ); + String contentText = context.getString(R.string.license_notification_body); Notification notification = new NotificationCompat.Builder(context, CHANNEL_ID) .setSmallIcon(R.drawable.ic_notification) .setSound(null) .setContentTitle(context.getString(R.string.license_notification_title, callerAppName)) - .setContentText(context.getString(R.string.license_notification_body)) + .setContentText(contentText) + .setStyle(new NotificationCompat.BigTextStyle().bigText(contentText)) .addAction( new NotificationCompat.Action.Builder( null, context.getString(R.string.license_notification_sign_in), authPendingIntent