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

This reverts commit 3b962e3b9d.

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

Change-Id: I060b57c5b8c871ccc938ca84fe1aa916293acada
This commit is contained in:
Xinyi Mao
2024-05-28 05:15:43 +00:00
committed by Android (Google) Code Review
parent 3b962e3b9d
commit d91809b752
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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,