Assigned
Status Update
Comments
vi...@google.com <vi...@google.com>
vi...@google.com <vi...@google.com> #2
Information redacted by Android Beta Feedback.
li...@sprocomm.corp-partner.google.com <li...@sprocomm.corp-partner.google.com> #3
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Complete steps to reproduce
What steps do others need to take in order to reproduce the issue themselves?
Current output (Error message if any)
What do you see instead?
Screen Record of the Issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
Complete steps to reproduce
What steps do others need to take in order to reproduce the issue themselves?
Current output (Error message if any)
What do you see instead?
Screen Record of the Issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
Description
java.lang.AssertionError: Android Go is not available for devices with less than 1 GB or more than 2 GB of memory, device has 1073741824 bytes total memory.
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.assertTrue(Assert.java:42)
at com.google.android.features.gts.LowRamFeatureTest.testLowRamDeviceIsGoReady(LowRamFeatureTest.java:77)
Code>>
com.google.android.features.gts.LowRamFeatureTest
private static final long ONE_GIGABYTE = 1073741824;
@GmsTest(requirement = "GMS-10.0-001")
@Test
public void testLowRamDeviceIsGoReady() throws Exception {
Assume.assumeTrue("Skipping LowRamFeatureTest on non-Go device", GmsUtil.isGoDevice());
if (mApiLevel >= 35) {
Assert.assertTrue(String.format(MEM_RANGE_MSG, TWO_GB, FOUR_GB, Long.valueOf(this.mRamSize)), this.mRamSize >= 2147483648L && this.mRamSize <= 4294967296L);
return;
}
if (mApiLevel >= 33) {
Assert.assertTrue(String.format(MEM_RANGE_MSG, TWO_GB, THREE_GB, Long.valueOf(this.mRamSize)), this.mRamSize >= 2147483648L && this.mRamSize <= 3221225472L);
return;
}
if (mApiLevel >= 31) {
Assert.assertTrue(String.format(MEM_RANGE_MSG, ONE_GB, TWO_GB, Long.valueOf(this.mRamSize)), this.mRamSize > ONE_GIGABYTE && this.mRamSize <= 2147483648L);
}
From the official website, GO with 1GB of RAM is allowed, but the test case does not include A12 1GB into the GO range. Therefore, a waiver needs to be applied for.