Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fb67080 authored by Pinyao Ting's avatar Pinyao Ting Committed by Android (Google) Code Review
Browse files

Merge "Fix unit test"

parents 8e658052 6632c765
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -49,8 +49,11 @@ public class ShortcutManagerTest12 extends BaseShortcutManagerTest {

    @Override
    protected void tearDown() throws Exception {
        if (mService.isAppSearchEnabled()) {
            setCaller(CALLING_PACKAGE_1, USER_0);
        mService.getPackageShortcutForTest(CALLING_PACKAGE_1, USER_0).removeAllShortcutsAsync();
            mService.getPackageShortcutForTest(CALLING_PACKAGE_1, USER_0)
                    .removeAllShortcutsAsync();
        }
        super.tearDown();
    }