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

Commit 6a9a4a07 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Fix fullScreenAlert test."

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