In fact, switching an item between ongoing and notifications works.

The test just wasn't testing that.

Change-Id: If1af2a7258d2a3764f845d9862a0a0ff62b1d7ed
This commit is contained in:
Joe Onorato
2010-05-26 14:31:09 -04:00
parent 5ee67ebff2
commit 175f79c5a5

View File

@@ -191,7 +191,7 @@ public class NotificationTestList extends TestActivity
R.drawable.icon4,
null, System.currentTimeMillis(), "Stress - Latest",
"Notify me!!!", null);
n.flags |= Notification.FLAG_ONGOING_EVENT;
//n.flags |= Notification.FLAG_ONGOING_EVENT;
mNM.notify(1, n);
}
}