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

Issue 869593002: Skip direct map from apk check for pre-KitKat Samsung. (Closed)

Created:
5 years, 11 months ago by simonb (inactive)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip direct map from apk check for pre-KitKat Samsung. If the android build version pre-dates KitKat and the device manufacturer is Samsung, skip the check for mmap exec support. This avoids triggering a warning on these devices. The version check is included because these devices do not show the warning on later OS builds. BUG=448084 TBR=rmcilroy@chromium.org Committed: https://crrev.com/78efcc0f7e59612ec717d26ffce92fa643347210 Cr-Commit-Position: refs/heads/master@{#314156}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update for review feedback #

Total comments: 2

Patch Set 3 : Skip for all pre-KitKat Samsung #

Patch Set 4 : Skip check for samsung, register UNKNOWN in UMA #

Total comments: 2

Patch Set 5 : Fix capitalization in a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -10 lines) Patch
M base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java View 1 2 3 4 4 chunks +33 lines, -1 line 0 comments Download
M base/android/java/src/org/chromium/base/library_loader/Linker.java View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Andrew Hayden (chromium.org)
LGTM % minorest of nits https://codereview.chromium.org/869593002/diff/1/base/android/java/src/org/chromium/base/library_loader/Linker.java File base/android/java/src/org/chromium/base/library_loader/Linker.java (right): https://codereview.chromium.org/869593002/diff/1/base/android/java/src/org/chromium/base/library_loader/Linker.java#newcode202 base/android/java/src/org/chromium/base/library_loader/Linker.java:202: private static final Set<String> ...
5 years, 11 months ago (2015-01-22 17:36:40 UTC) #2
simonb (inactive)
https://codereview.chromium.org/869593002/diff/1/base/android/java/src/org/chromium/base/library_loader/Linker.java File base/android/java/src/org/chromium/base/library_loader/Linker.java (right): https://codereview.chromium.org/869593002/diff/1/base/android/java/src/org/chromium/base/library_loader/Linker.java#newcode202 base/android/java/src/org/chromium/base/library_loader/Linker.java:202: private static final Set<String> MAP_CHECK_BLACKLIST = On 2015/01/22 17:36:40, ...
5 years, 11 months ago (2015-01-23 14:44:13 UTC) #3
Andrew Hayden (chromium.org)
https://codereview.chromium.org/869593002/diff/20001/base/android/java/src/org/chromium/base/library_loader/Linker.java File base/android/java/src/org/chromium/base/library_loader/Linker.java (right): https://codereview.chromium.org/869593002/diff/20001/base/android/java/src/org/chromium/base/library_loader/Linker.java#newcode214 base/android/java/src/org/chromium/base/library_loader/Linker.java:214: android.os.Build.VERSION_CODES.KITKAT; I don't think you can use this on ...
5 years, 11 months ago (2015-01-23 14:59:51 UTC) #4
Andrew Hayden (chromium.org)
On 2015/01/23 14:59:51, Andrew Hayden wrote: > https://codereview.chromium.org/869593002/diff/20001/base/android/java/src/org/chromium/base/library_loader/Linker.java > File base/android/java/src/org/chromium/base/library_loader/Linker.java (right): > > https://codereview.chromium.org/869593002/diff/20001/base/android/java/src/org/chromium/base/library_loader/Linker.java#newcode214 ...
5 years, 11 months ago (2015-01-23 15:04:05 UTC) #5
simonb (inactive)
https://codereview.chromium.org/869593002/diff/20001/base/android/java/src/org/chromium/base/library_loader/Linker.java File base/android/java/src/org/chromium/base/library_loader/Linker.java (right): https://codereview.chromium.org/869593002/diff/20001/base/android/java/src/org/chromium/base/library_loader/Linker.java#newcode214 base/android/java/src/org/chromium/base/library_loader/Linker.java:214: android.os.Build.VERSION_CODES.KITKAT; On 2015/01/23 14:59:51, Andrew Hayden wrote: > I ...
5 years, 11 months ago (2015-01-23 16:03:19 UTC) #6
Andrew Hayden (chromium.org)
I like it when I'm wrong about things being hard. Yay! LGTM.
5 years, 11 months ago (2015-01-23 17:17:32 UTC) #7
Andrew Hayden (chromium.org)
LGTM, but we should try to confirm at least one physical device from a country ...
5 years, 11 months ago (2015-01-26 16:43:05 UTC) #8
simonb (inactive)
5 years, 11 months ago (2015-01-27 17:13:55 UTC) #10
petrcermak
LGTM (with one nit) https://codereview.chromium.org/869593002/diff/60001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/869593002/diff/60001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode178 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:178: // If the android build ...
5 years, 10 months ago (2015-01-31 03:29:14 UTC) #11
simonb (inactive)
https://codereview.chromium.org/869593002/diff/60001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java File base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java (right): https://codereview.chromium.org/869593002/diff/60001/base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java#newcode178 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java:178: // If the android build version pre-dates KitKat and ...
5 years, 10 months ago (2015-02-02 12:35:44 UTC) #12
simonb (inactive)
Confirmed as fixing the issue for available affected devices, committing: https://code.google.com/p/chromium/issues/detail?id=448084#c70
5 years, 10 months ago (2015-02-02 12:57:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869593002/80001
5 years, 10 months ago (2015-02-02 12:58:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/39799)
5 years, 10 months ago (2015-02-02 13:04:10 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/869593002/80001
5 years, 10 months ago (2015-02-02 16:27:21 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-02 16:31:10 UTC) #20
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 16:31:58 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/78efcc0f7e59612ec717d26ffce92fa643347210
Cr-Commit-Position: refs/heads/master@{#314156}

Powered by Google App Engine
This is Rietveld 408576698