Merge "Fix atest build error in settings.fuelgauge." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
75bfd43513
@@ -27,7 +27,7 @@ import org.robolectric.RobolectricTestRunner;
|
||||
public final class AppUsageEventEntityTest {
|
||||
@Test
|
||||
public void testBuilder_returnsExpectedResult() {
|
||||
final long uid = 101L;
|
||||
final int uid = 101;
|
||||
final long userId = 1001L;
|
||||
final long timestamp = 10001L;
|
||||
final int appUsageEventType = 1;
|
||||
|
@@ -169,7 +169,7 @@ public class BatteryTestUtils {
|
||||
Context context, long userId, long timestamp, String packageName, boolean multiple) {
|
||||
final AppUsageEventEntity entity =
|
||||
new AppUsageEventEntity(
|
||||
/* uid= */ 101L,
|
||||
/* uid= */ 101,
|
||||
userId,
|
||||
timestamp,
|
||||
/* appUsageEventType= */ 2,
|
||||
|
Reference in New Issue
Block a user