summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2011-12-07 17:42:07 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-12-07 17:42:07 -0800
commitb490d8d6214114391622b4302ca2f5f39b2166c6 (patch)
tree8b9403689d00425b7148a8ee288cb3681f8f3429 /tests
parentbea4285934b4cd5bab21f7c69ac82d871b6ee05f (diff)
parent29933fb26a4294a9bd30f9227809e28949252833 (diff)
downloadframeworks_base-b490d8d6214114391622b4302ca2f5f39b2166c6.zip
frameworks_base-b490d8d6214114391622b4302ca2f5f39b2166c6.tar.gz
frameworks_base-b490d8d6214114391622b4302ca2f5f39b2166c6.tar.bz2
am 29933fb2: Merge "Improve handling of small largeIcons in tablet ticker." into ics-mr1
* commit '29933fb26a4294a9bd30f9227809e28949252833': Improve handling of small largeIcons in tablet ticker.
Diffstat (limited to 'tests')
-rw-r--r--tests/StatusBar/res/layout/notification_builder_test.xml5
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java3
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/StatusBar/res/layout/notification_builder_test.xml b/tests/StatusBar/res/layout/notification_builder_test.xml
index e1199c7..6c384f7 100644
--- a/tests/StatusBar/res/layout/notification_builder_test.xml
+++ b/tests/StatusBar/res/layout/notification_builder_test.xml
@@ -605,6 +605,11 @@
style="@style/FieldContents"
android:text="pineapple2"
/>
+ <RadioButton
+ android:id="@+id/large_icon_small"
+ style="@style/FieldContents"
+ android:text="small"
+ />
</RadioGroup>
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java b/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
index 5a2ebac..fefd890 100644
--- a/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
+++ b/tests/StatusBar/src/com/android/statusbartest/NotificationBuilderTest.java
@@ -287,6 +287,9 @@ public class NotificationBuilderTest extends Activity
case R.id.large_icon_pineapple2:
b.setLargeIcon(loadBitmap(R.drawable.pineapple2));
break;
+ case R.id.large_icon_small:
+ b.setLargeIcon(loadBitmap(R.drawable.icon2));
+ break;
}
// sound TODO