Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 542f0510 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Fix fullScreenAlert test.

Change-Id: I3df0a998347c9e3d21e067381bd22eb9a0862f0d
parent 260e9105
Loading
Loading
Loading
Loading
+7 −4
Original line number Original line Diff line number Diff line
@@ -167,10 +167,13 @@ public class StatusBarTest extends TestActivity
        },
        },
        new Test("Priority notification") {
        new Test("Priority notification") {
            public void run() {
            public void run() {
                Notification not = new Notification(
                Notification not = new Notification();
                                R.drawable.stat_sys_phone,
                not.icon = R.drawable.stat_sys_phone;
                                "Incoming call from: Imperious Leader",
                not.when = System.currentTimeMillis()-(1000*60*60*24);
                                System.currentTimeMillis()-(1000*60*60*24)
                not.setLatestEventInfo(StatusBarTest.this,
                                "Incoming call",
                                "from: Imperious Leader",
                                null
                                );
                                );
                not.flags |= Notification.FLAG_HIGH_PRIORITY;
                not.flags |= Notification.FLAG_HIGH_PRIORITY;
                Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class);
                Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class);