Loading packages/SystemUI/res/layout/intruder_alert.xml +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ android:id="@+id/alertIcon" android:layout_width="25dip" android:layout_height="25dip" android:paddingLeft="6dip" android:layout_marginLeft="6dip" android:layout_marginRight="8dip" /> <TextView Loading tests/StatusBar/res/drawable-hdpi/stat_sys_phone.png 0 → 100644 +1.16 KiB Loading image diff... tests/StatusBar/res/drawable-mdpi/stat_sys_phone.png 0 → 100644 +746 B Loading image diff... tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java +5 −4 Original line number Diff line number Diff line Loading @@ -89,11 +89,12 @@ public class StatusBarTest extends TestActivity new Test("Priority notification") { public void run() { Notification not = new Notification(StatusBarTest.this, R.drawable.ic_statusbar_missedcall, "tick tick tick", R.drawable.stat_sys_phone, "Incoming call from: Imperious Leader", System.currentTimeMillis()-(1000*60*60*24), "(453) 123-2328", "", null "Imperious Leader", "(888) 555-5038", null ); not.flags |= Notification.FLAG_HIGH_PRIORITY; Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class); Loading Loading
packages/SystemUI/res/layout/intruder_alert.xml +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ android:id="@+id/alertIcon" android:layout_width="25dip" android:layout_height="25dip" android:paddingLeft="6dip" android:layout_marginLeft="6dip" android:layout_marginRight="8dip" /> <TextView Loading
tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java +5 −4 Original line number Diff line number Diff line Loading @@ -89,11 +89,12 @@ public class StatusBarTest extends TestActivity new Test("Priority notification") { public void run() { Notification not = new Notification(StatusBarTest.this, R.drawable.ic_statusbar_missedcall, "tick tick tick", R.drawable.stat_sys_phone, "Incoming call from: Imperious Leader", System.currentTimeMillis()-(1000*60*60*24), "(453) 123-2328", "", null "Imperious Leader", "(888) 555-5038", null ); not.flags |= Notification.FLAG_HIGH_PRIORITY; Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class); Loading