Descriptionandroid: Make org.chromium.base.SysUtils.isLowEndDevice() work without native code.
This patch modifies the implementation if SysUtils.isLowEndDevice() to
not rely on any native code, which is required to run it before the native
libraries are actually loaded (e.g. when running certain tests).
+ Simplify the content linker that doesn't need a specific native method
anymore to replicate the yet-unloaded native SysUtils::IsLowEndDevice().
BUG=309926
R=dtrainor@chromium.org,tedchoc@chromium.org,frankf@chromium.org,bulach@chromium.org
TEST=build/android/test_runner.py linker
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233739
Patch Set 1 #
Total comments: 2
Patch Set 2 : Findbugs issue + add new base unittest. #Patch Set 3 : Check the result of amountOfPhsysicalMemoryKB() properly. #
Total comments: 8
Patch Set 4 : Formatting #
Total comments: 2
Messages
Total messages: 20 (0 generated)
|