Increase wait when checking notification bubble

When checking if a notification is posted and has the correct bubbled
state, we currently wait 700ms for the update to happen.
There are some flaky test where the update notification is sometimes
not found.
But it is hard to repro locally.
Increasing wait time for notification update to 2000ms or 2 seconds. But
in order to not slow down the tests, doing the check every 100ms.
This should allow us to run the test faster under good conditions, but
sometimes, if needed, wait longer.

Including additional logging when notification is not found.

Bug: 219201016
Test: atest NotificationManagerBubbleTest
Change-Id: I18c42af203f6aee3ae984c8e3e2e5961a7a501e0
2 files changed