Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Issue 766873002: Added a call to ActivityManager.isLowRamDevice() from SysUtils.detectLowEndDevice() (Closed)

Created:
6 years ago by petrcermak
Modified:
5 years, 10 months ago
Reviewers:
rmcilroy
CC:
chromium-reviews, erikwright+watch_chromium.org, picksi1, ssid1, no sievers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Added a call to ActivityManager.isLowRamDevice() from SysUtils.detectLowEndDevice(). This patch adds an extra check to the SysUtils.detectLowEndDevice() method (if no command-line flag is supplied). If ActivityManager.isLowRamDevice() returns true, the method returns true (without checking device memory size). BUG= Committed: https://crrev.com/80dc8d87cfd1ef70541c101a355965f3a7a74415 Cr-Commit-Position: refs/heads/master@{#306592}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update for review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -6 lines) Patch
M base/android/java/src/org/chromium/base/SysUtils.java View 1 5 chunks +26 lines, -6 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
petrcermak
Hi, please take a look at this small CL. Thanks, Petr
6 years ago (2014-11-28 11:25:04 UTC) #2
rmcilroy
https://codereview.chromium.org/766873002/diff/1/base/android/java/src/org/chromium/base/SysUtils.java File base/android/java/src/org/chromium/base/SysUtils.java (right): https://codereview.chromium.org/766873002/diff/1/base/android/java/src/org/chromium/base/SysUtils.java#newcode128 base/android/java/src/org/chromium/base/SysUtils.java:128: } catch (Exception e) { Are there any checked ...
6 years ago (2014-11-28 13:39:34 UTC) #3
petrcermak
+picksi +ssid
6 years ago (2014-12-01 10:36:40 UTC) #4
petrcermak
Thanks for your comments. PTAL. Petr https://codereview.chromium.org/766873002/diff/1/base/android/java/src/org/chromium/base/SysUtils.java File base/android/java/src/org/chromium/base/SysUtils.java (right): https://codereview.chromium.org/766873002/diff/1/base/android/java/src/org/chromium/base/SysUtils.java#newcode128 base/android/java/src/org/chromium/base/SysUtils.java:128: } catch (Exception ...
6 years ago (2014-12-01 16:08:45 UTC) #5
rmcilroy
On 2014/12/01 16:08:45, petrcermak wrote: > Thanks for your comments. PTAL. > > Petr > ...
6 years ago (2014-12-03 11:14:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766873002/20001
6 years ago (2014-12-03 11:23:44 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-03 12:25:05 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/80dc8d87cfd1ef70541c101a355965f3a7a74415 Cr-Commit-Position: refs/heads/master@{#306592}
6 years ago (2014-12-03 12:25:57 UTC) #10
no sievers
5 years, 10 months ago (2015-02-18 22:22:34 UTC) #11
Message was sent while issue was closed.
Just wondering since it doesn't say anything and no bug is referenced: but why
was this done?

Powered by Google App Engine
This is Rietveld 408576698