commit | eb5f3a59d41507b8adfb6bef44f558f6329b691c | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Tue Dec 26 13:18:40 2023 +0800 |
committer | Chris Li <lihongyu@google.com> | Tue Dec 26 13:18:40 2023 +0800 |
tree | d291cdd3ac42923c6f75609f11da9d5454fd8410 | |
parent | 599b3752703e954a5f08377a93b65e3a69237ca8 [diff] |
Add flag override to fix test failure The failure is because of the flag rollback. Fix: 317704394 Test: atest WmTests:ClientLifecycleManagerTests Change-Id: Ie23ad3656fe59128562808d8334564602774d57a
diff --git a/services/tests/wmtests/src/com/android/server/wm/ClientLifecycleManagerTests.java b/services/tests/wmtests/src/com/android/server/wm/ClientLifecycleManagerTests.java index c757457..6dfd607 100644 --- a/services/tests/wmtests/src/com/android/server/wm/ClientLifecycleManagerTests.java +++ b/services/tests/wmtests/src/com/android/server/wm/ClientLifecycleManagerTests.java
@@ -217,6 +217,8 @@ @Test public void testDispatchPendingTransactions() throws RemoteException { + mSetFlagsRule.enableFlags(FLAG_BUNDLE_CLIENT_TRANSACTION_FLAG); + mLifecycleManager.mPendingTransactions.put(mClientBinder, mTransaction); mLifecycleManager.dispatchPendingTransactions();