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

Commit d91809b7 authored by Xinyi Mao's avatar Xinyi Mao Committed by Android (Google) Code Review
Browse files

Revert "Fix atest build error in settings.fuelgauge."

This reverts commit 3b962e3b.

Reason for revert: No need to update long -> int

Change-Id: I060b57c5b8c871ccc938ca84fe1aa916293acada
parent 3b962e3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ import org.robolectric.RobolectricTestRunner;
public final class AppUsageEventEntityTest {
    @Test
    public void testBuilder_returnsExpectedResult() {
        final int uid = 101;
        final long uid = 101L;
        final long userId = 1001L;
        final long timestamp = 10001L;
        final int appUsageEventType = 1;
+1 −1
Original line number Diff line number Diff line
@@ -169,7 +169,7 @@ public class BatteryTestUtils {
            Context context, long userId, long timestamp, String packageName, boolean multiple) {
        final AppUsageEventEntity entity =
                new AppUsageEventEntity(
                        /* uid= */ 101,
                        /* uid= */ 101L,
                        userId,
                        timestamp,
                        /* appUsageEventType= */ 2,