summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPreeti Ahuja <preetia@codeaurora.org>2013-12-15 20:54:26 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:29:33 -0600
commit21081ba07df1c46f8f16ae380d9e5bbe36407f7c (patch)
treeaec2818f2e4d732fd715f2777c447a1a450cb4bc
parent76662d5acd3971c91ea7bf4722f68c6a5c4d0e8e (diff)
downloadandroid_packages_apps_Stk-21081ba07df1c46f8f16ae380d9e5bbe36407f7c.tar.gz
android_packages_apps_Stk-21081ba07df1c46f8f16ae380d9e5bbe36407f7c.tar.bz2
android_packages_apps_Stk-21081ba07df1c46f8f16ae380d9e5bbe36407f7c.zip
Add large text view for 'SET UP IDLE MODE TEXT'
With the current functionality the GCF test case 'GCF TC 27.22.4.22.1.7- SETUP IDLE MODE Text – large text string' the text is not completely seen by the user. Add big view notification style for displaying the text string for 'SET UP IDLE MODE TEXT'. Change-Id: I4a1abb6af4bb2a9122cde1afda4f13266da209f7
-rwxr-xr-xsrc/com/android/stk/StkAppService.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/stk/StkAppService.java b/src/com/android/stk/StkAppService.java
index d49b663..3162c1e 100755
--- a/src/com/android/stk/StkAppService.java
+++ b/src/com/android/stk/StkAppService.java
@@ -1562,6 +1562,8 @@ public class StkAppService extends Service implements Runnable {
.setSmallIcon(com.android.internal.R.drawable.stat_notify_sim_toolkit);
notificationBuilder.setContentIntent(pendingIntent);
notificationBuilder.setOngoing(true);
+ notificationBuilder.setStyle(new Notification.BigTextStyle(notificationBuilder)
+ .bigText(msg.text));
// Set text and icon for the status bar and notification body.
if (mStkContext[slotId].mIdleModeTextCmd.hasIconLoadFailed() ||
!msg.iconSelfExplanatory) {