diff options
author | Daniel Sandler <dsandler@android.com> | 2010-06-29 15:19:54 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2010-06-29 15:19:54 -0400 |
commit | 27a8be4b3526f068e911c8edcd4ee6fa6f492c0f (patch) | |
tree | d778af9e664e886c0c9b3e44c9e7dccb3af24b2f /tests | |
parent | 059f009d970fb37ac4e408dcf8e1d2d2cdcf0a84 (diff) | |
download | frameworks_base-27a8be4b3526f068e911c8edcd4ee6fa6f492c0f.zip frameworks_base-27a8be4b3526f068e911c8edcd4ee6fa6f492c0f.tar.gz frameworks_base-27a8be4b3526f068e911c8edcd4ee6fa6f492c0f.tar.bz2 |
Support for tapping on an immersive-mode priority notification.
When the user taps on an intruder alert (the priority
notification in immersive mode), the .contentIntent in the
Notification object will be sent, just as we handle tapping
on a normal Notification in the windowshade.
Change-Id: Ib6991837b0b2122fe138cddacf347fdbc426b99d
Diffstat (limited to 'tests')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java index 8c343b5..c6a4134 100644 --- a/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java +++ b/tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java @@ -104,6 +104,8 @@ public class StatusBarTest extends TestActivity 0, fullScreenIntent, PendingIntent.FLAG_CANCEL_CURRENT); + // if you tap on it you should get the original alert box + not.contentIntent = not.fullScreenIntent; mNotificationManager.notify(id, not); } }, |