diff options
author | Joe Onorato <joeo@android.com> | 2010-05-24 16:17:02 -0400 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2010-06-02 14:48:44 -0700 |
commit | 0e26dffd6cfcb09b08a94a857b891fdef7fe2b1e (patch) | |
tree | 4d558b0f54053f69b942cce90d4950f4d34ee92f /tests/StatusBar | |
parent | 66b4c5bb36f57a9d83bb7f34288235b82f9be407 (diff) | |
download | frameworks_base-0e26dffd6cfcb09b08a94a857b891fdef7fe2b1e.zip frameworks_base-0e26dffd6cfcb09b08a94a857b891fdef7fe2b1e.tar.gz frameworks_base-0e26dffd6cfcb09b08a94a857b891fdef7fe2b1e.tar.bz2 |
updateNotifications works.
Change-Id: I924763a2d42ca1967719f3eb72c57d1cbb912dd7
Diffstat (limited to 'tests/StatusBar')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java index a6124bf..40026fa 100644 --- a/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java +++ b/tests/StatusBar/src/com/android/statusbartest/NotificationTestList.java @@ -623,9 +623,7 @@ public class NotificationTestList extends TestActivity private PendingIntent makeIntent() { Intent intent = new Intent(Intent.ACTION_MAIN); - intent.setComponent(new android.content.ComponentName( - "com.android.contacts", - "com.android.contacts.ContactsActivity")); + intent.addCategory(Intent.CATEGORY_HOME); return PendingIntent.getActivity(this, 0, intent, 0); } |