Merge "Snap tm-dev to android13-tests-dev" into tm-dev am: 100335fdc7 am: 919fd6e0a1

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20514486

Change-Id: Ie12bf16c61d1655b95f0252d8692fe634200f1f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Samip Garg
2023-01-16 04:00:03 +00:00
committed by Automerger Merge Worker
3 changed files with 3 additions and 1 deletions

View File

@@ -1 +1,2 @@
aveena@google.com
ejyzhang@google.com ejyzhang@google.com

View File

@@ -5045,7 +5045,7 @@ public final class ViewRootImpl implements ViewParent,
} }
void reportKeepClearAreasChanged() { void reportKeepClearAreasChanged() {
if (!mHasPendingKeepClearAreaChange) { if (!mHasPendingKeepClearAreaChange || mView == null) {
return; return;
} }
mHasPendingKeepClearAreaChange = false; mHasPendingKeepClearAreaChange = false;

View File

@@ -102,6 +102,7 @@ public final class NotificationTest {
@After @After
public void tearDown() { public void tearDown() {
mNotificationManager.cancelAll(); mNotificationManager.cancelAll();
mUiDevice.pressHome();
} }
@Test @Test