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

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

Merge "Fix the status bar test app."

parents c321c19f 982cbf1c
Loading
Loading
Loading
Loading
+4 −9
Original line number Diff line number Diff line
@@ -145,13 +145,10 @@ public class StatusBarTest extends TestActivity
        },
        new Test("Priority notification") {
            public void run() {
                Notification not = new Notification(StatusBarTest.this,
                Notification not = new Notification(
                                R.drawable.stat_sys_phone,
                                "Incoming call from: Imperious Leader",
                                System.currentTimeMillis()-(1000*60*60*24),
                                "Imperious Leader",
                                "(888) 555-5038",
                                null
                                System.currentTimeMillis()-(1000*60*60*24)
                                );
                not.flags |= Notification.FLAG_HIGH_PRIORITY;
                Intent fullScreenIntent = new Intent(StatusBarTest.this, TestAlertActivity.class);
@@ -248,12 +245,10 @@ public class StatusBarTest extends TestActivity
                mHandler.postDelayed(new Runnable() {
                        public void run() {
                            mNotificationManager.notify(1,
                                    new Notification(StatusBarTest.this,
                                    new Notification(
                                            R.drawable.ic_statusbar_missedcall,
                                            "tick tick tick",
                                            System.currentTimeMillis()-(1000*60*60*24),
                                            "(453) 123-2328",
                                            "", null
                                            System.currentTimeMillis()-(1000*60*60*24)
                                            ));
                        }
                    }, 3000);