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

Commit 756108fe authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Improve flaky test failed by using UI thread." into main

parents 3e7323f8 a3fcbf94
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -50,6 +50,7 @@ import androidx.fragment.app.FragmentActivity;
import androidx.preference.PreferenceManager;
import androidx.preference.PreferenceScreen;
import androidx.recyclerview.widget.RecyclerView;
import androidx.test.annotation.UiThreadTest;

import com.android.settings.applications.AppInfoBase;
import com.android.settings.testutils.FakeFeatureFactory;
@@ -80,6 +81,7 @@ import org.robolectric.util.ReflectionHelpers;
import java.util.List;

@RunWith(RobolectricTestRunner.class)
@UiThreadTest
@Config(shadows = {ShadowRestrictedLockUtilsInternal.class})
public class AppDataUsageTest {