| Index: mobile/android/base/util/HardwareUtils.java |
| =================================================================== |
| --- a/mobile/android/base/util/HardwareUtils.java |
| +++ b/mobile/android/base/util/HardwareUtils.java |
| @@ -85,17 +85,19 @@ public final class HardwareUtils { |
| return sIsSmallTablet; |
| } |
| public static boolean isTelevision() { |
| return sIsTelevision; |
| } |
| public static boolean hasMenuButton() { |
| - return sHasMenuButton; |
| + // Forcing behavior idependently of the presence of a hardware menu button |
|
anton
2017/03/17 06:53:11
LGTM though i'd suggest to explain a bit what beha
Felix Dahlke
2017/03/27 15:46:57
I figure when looking at #5005 that becomes appare
|
| + // See https://issues.adblockplus.org/ticket/5005 |
| + return false; |
| } |
| public static int getMemSize() { |
| return SysInfo.getMemSize(); |
| } |
| public static boolean isLowMemoryPlatform() { |
| final int memSize = getMemSize(); |