Move FirstLevel check to SysInfo [chromium/src : main]

0 views
Skip to first unread message

Vikram Pasupathy (Gerrit)

unread,
Mar 2, 2026, 11:32:38 AMMar 2
to Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
Attention needed from Andrew Grieve

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Grieve
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
Gerrit-Change-Number: 7616391
Gerrit-PatchSet: 5
Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
Gerrit-Attention: Andrew Grieve <agr...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Mar 2026 16:32:33 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Andrew Grieve (Gerrit)

unread,
Mar 2, 2026, 12:16:16 PMMar 2
to Vikram Pasupathy, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
Attention needed from Vikram Pasupathy

Andrew Grieve voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Vikram Pasupathy
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 5
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Attention: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 17:16:07 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vikram Pasupathy (Gerrit)

    unread,
    Mar 2, 2026, 12:24:12 PMMar 2
    to Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Xiaohan Wang

    Vikram Pasupathy voted Commit-Queue+1

    Commit-Queue+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Xiaohan Wang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 6
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 17:24:03 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Xiaohan Wang (Gerrit)

    unread,
    Mar 2, 2026, 12:43:28 PMMar 2
    to Vikram Pasupathy, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Vikram Pasupathy

    Xiaohan Wang voted and added 1 comment

    Votes added by Xiaohan Wang

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 6 (Latest):
    Xiaohan Wang . resolved

    Nice catch and optimization! LGTM

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Vikram Pasupathy
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 6
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 17:43:20 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nico Weber (Gerrit)

    unread,
    Mar 2, 2026, 2:26:53 PMMar 2
    to Vikram Pasupathy, Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Vikram Pasupathy

    Nico Weber voted and added 1 comment

    Votes added by Nico Weber

    Code-Review+1

    1 comment

    File base/system/sys_info.h
    Line 327, Patchset 6 (Latest): // Returns the first Android level the device had.
    Nico Weber . unresolved

    What does "first android level the device had" mean? Like, the version it gets when its factory reset? Something else?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Vikram Pasupathy
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 6
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 19:26:45 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vikram Pasupathy (Gerrit)

    unread,
    Mar 2, 2026, 2:31:10 PMMar 2
    to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Nico Weber

    Vikram Pasupathy added 1 comment

    File base/system/sys_info.h
    Line 327, Patchset 6: // Returns the first Android level the device had.
    Nico Weber . unresolved

    What does "first android level the device had" mean? Like, the version it gets when its factory reset? Something else?

    Vikram Pasupathy

    Updated the wording. For more info, you can follow the path from http://shortn/_tonWP0thCA, (Google internal)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Nico Weber
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 7
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Nico Weber <tha...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 19:31:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Nico Weber <tha...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nico Weber (Gerrit)

    unread,
    Mar 2, 2026, 2:34:57 PMMar 2
    to Vikram Pasupathy, Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Vikram Pasupathy

    Nico Weber voted and added 1 comment

    Votes added by Nico Weber

    Code-Review+1

    1 comment

    File media/base/android/media_drm_bridge.cc
    Line 384, Patchset 7 (Latest): base::android::android_info::SDK_VERSION_OREO;
    Nico Weber . unresolved

    Hm, the only user of this function checks for oreo, which per https://support.google.com/chrome/thread/352616098/sunsetting-chrome-support-for-android-8-0-oreo-and-android-9-0-pie?hl=en&sjid=4708975472713495052-NA we no longer support for chrome. Do we still support it for webview?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Vikram Pasupathy
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 7
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 19:34:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vikram Pasupathy (Gerrit)

    unread,
    Mar 2, 2026, 2:48:27 PMMar 2
    to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Nico Weber

    Vikram Pasupathy added 1 comment

    File media/base/android/media_drm_bridge.cc
    Line 384, Patchset 7 (Latest): base::android::android_info::SDK_VERSION_OREO;
    Nico Weber . unresolved

    Hm, the only user of this function checks for oreo, which per https://support.google.com/chrome/thread/352616098/sunsetting-chrome-support-for-android-8-0-oreo-and-android-9-0-pie?hl=en&sjid=4708975472713495052-NA we no longer support for chrome. Do we still support it for webview?

    Vikram Pasupathy

    https://chromium-review.googlesource.com/c/chromium/src/+/7137302/comment/41cc2766_985d3757/

    This comment should answer that first part of this question.

    To see users and safety, we introduced this UMA, https://chromium-review.googlesource.com/c/chromium/src/+/7146728 and we still see users who have a first level pre Oreo.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Nico Weber
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 7
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Nico Weber <tha...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 19:48:20 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Xiaohan Wang (Gerrit)

    unread,
    Mar 2, 2026, 4:01:40 PMMar 2
    to Vikram Pasupathy, Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Nico Weber and Vikram Pasupathy

    Xiaohan Wang voted and added 1 comment

    Votes added by Xiaohan Wang

    Code-Review+1

    1 comment

    File base/system/sys_info.h
    Line 327, Patchset 6: // Returns the first Android level the device had.
    Nico Weber . unresolved

    What does "first android level the device had" mean? Like, the version it gets when its factory reset? Something else?

    Vikram Pasupathy

    Updated the wording. For more info, you can follow the path from http://shortn/_tonWP0thCA, (Google internal)

    Xiaohan Wang

    It's "The SDK API level that the device is initially launched with." I'd suggest let's just use that official wording as is.

    https://source.android.com/docs/core/architecture/api-flags#:~:text=_LEVEL.-,ro.product.first_api_level,by%20the%20OEM%20and%20then%20never%20updated%2C%20even%20after%20OS%20upgrades.,-ro.vendor

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Nico Weber
    • Vikram Pasupathy
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 7
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Nico Weber <tha...@chromium.org>
    Gerrit-Attention: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 21:01:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Nico Weber <tha...@chromium.org>
    Comment-In-Reply-To: Vikram Pasupathy <vpasu...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vikram Pasupathy (Gerrit)

    unread,
    Mar 2, 2026, 4:06:53 PMMar 2
    to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Nico Weber

    Vikram Pasupathy added 1 comment

    File base/system/sys_info.h
    Line 327, Patchset 6: // Returns the first Android level the device had.
    Nico Weber . resolved

    What does "first android level the device had" mean? Like, the version it gets when its factory reset? Something else?

    Vikram Pasupathy

    Updated the wording. For more info, you can follow the path from http://shortn/_tonWP0thCA, (Google internal)

    Xiaohan Wang

    It's "The SDK API level that the device is initially launched with." I'd suggest let's just use that official wording as is.

    https://source.android.com/docs/core/architecture/api-flags#:~:text=_LEVEL.-,ro.product.first_api_level,by%20the%20OEM%20and%20then%20never%20updated%2C%20even%20after%20OS%20upgrades.,-ro.vendor

    Vikram Pasupathy

    Thank you! Updated.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Nico Weber
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 8
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Nico Weber <tha...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 21:06:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Nico Weber <tha...@chromium.org>
    Comment-In-Reply-To: Xiaohan Wang <xhw...@chromium.org>
    Comment-In-Reply-To: Vikram Pasupathy <vpasu...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vikram Pasupathy (Gerrit)

    unread,
    Mar 5, 2026, 1:43:01 PMMar 5
    to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Nico Weber

    Vikram Pasupathy added 1 comment

    File media/base/android/media_drm_bridge.cc
    Line 384, Patchset 7: base::android::android_info::SDK_VERSION_OREO;
    Nico Weber . unresolved

    Hm, the only user of this function checks for oreo, which per https://support.google.com/chrome/thread/352616098/sunsetting-chrome-support-for-android-8-0-oreo-and-android-9-0-pie?hl=en&sjid=4708975472713495052-NA we no longer support for chrome. Do we still support it for webview?

    Vikram Pasupathy

    https://chromium-review.googlesource.com/c/chromium/src/+/7137302/comment/41cc2766_985d3757/

    This comment should answer that first part of this question.

    To see users and safety, we introduced this UMA, https://chromium-review.googlesource.com/c/chromium/src/+/7146728 and we still see users who have a first level pre Oreo.

    Vikram Pasupathy

    Added b:459977924 for more information and prior discussion with Android owners.
    If that's fine, I can resolve this comment.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Nico Weber
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
    Gerrit-Change-Number: 7616391
    Gerrit-PatchSet: 9
    Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
    Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
    Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
    Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
    Gerrit-Attention: Nico Weber <tha...@chromium.org>
    Gerrit-Comment-Date: Thu, 05 Mar 2026 18:42:43 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Nico Weber <tha...@chromium.org>
    Comment-In-Reply-To: Vikram Pasupathy <vpasu...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vikram Pasupathy (Gerrit)

    unread,
    Mar 10, 2026, 1:33:03 PMMar 10
    to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Nico Weber

    Vikram Pasupathy added 1 comment

    Patchset-level comments
    File-level comment, Patchset 9 (Latest):
    Vikram Pasupathy . resolved

    ping Thakis@! Thanks!

    Gerrit-Comment-Date: Tue, 10 Mar 2026 17:32:52 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nico Weber (Gerrit)

    unread,
    Mar 11, 2026, 11:24:36 AMMar 11
    to Vikram Pasupathy, Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org
    Attention needed from Vikram Pasupathy

    Nico Weber voted and added 3 comments

    Votes added by Nico Weber

    Code-Review+1

    3 comments

    Patchset-level comments
    Nico Weber . resolved

    Sorry, I didn't realize you were waiting for me here

    File base/system/sys_info.h
    Line 327, Patchset 9 (Latest): // Returns the SDK API level that the device is initially launched with.
    Nico Weber . resolved

    nit: "that the device initially launched with" or "was initially launched with"

    File media/base/android/media_drm_bridge.cc
    Line 384, Patchset 7: base::android::android_info::SDK_VERSION_OREO;
    Nico Weber . resolved

    Hm, the only user of this function checks for oreo, which per https://support.google.com/chrome/thread/352616098/sunsetting-chrome-support-for-android-8-0-oreo-and-android-9-0-pie?hl=en&sjid=4708975472713495052-NA we no longer support for chrome. Do we still support it for webview?

    Vikram Pasupathy

    https://chromium-review.googlesource.com/c/chromium/src/+/7137302/comment/41cc2766_985d3757/

    This comment should answer that first part of this question.

    To see users and safety, we introduced this UMA, https://chromium-review.googlesource.com/c/chromium/src/+/7146728 and we still see users who have a first level pre Oreo.

    Vikram Pasupathy

    Added b:459977924 for more information and prior discussion with Android owners.
    If that's fine, I can resolve this comment.

    Nico Weber

    Definitely fine to resolve!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Vikram Pasupathy
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
      Gerrit-Change-Number: 7616391
      Gerrit-PatchSet: 9
      Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
      Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
      Gerrit-Attention: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Comment-Date: Wed, 11 Mar 2026 15:24:30 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Vikram Pasupathy (Gerrit)

      unread,
      Mar 11, 2026, 1:06:44 PMMar 11
      to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org

      Vikram Pasupathy voted and added 1 comment

      Votes added by Vikram Pasupathy

      Commit-Queue+2

      1 comment

      File base/system/sys_info.h
      Line 327, Patchset 9: // Returns the SDK API level that the device is initially launched with.
      Nico Weber . resolved

      nit: "that the device initially launched with" or "was initially launched with"

      Vikram Pasupathy

      Done, thanks.

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
      Gerrit-Change-Number: 7616391
      Gerrit-PatchSet: 10
      Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
      Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
      Gerrit-Comment-Date: Wed, 11 Mar 2026 17:06:33 +0000
      satisfied_requirement
      open
      diffy

      Vikram Pasupathy (Gerrit)

      unread,
      Mar 11, 2026, 2:50:16 PMMar 11
      to Nico Weber, Andrew Grieve, Chromium LUCI CQ, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org

      Vikram Pasupathy voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
      Gerrit-Change-Number: 7616391
      Gerrit-PatchSet: 10
      Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
      Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
      Gerrit-Comment-Date: Wed, 11 Mar 2026 18:50:06 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Mar 11, 2026, 3:40:39 PMMar 11
      to Vikram Pasupathy, Nico Weber, Andrew Grieve, chromium...@chromium.org, eme-r...@chromium.org, feature-me...@chromium.org

      Chromium LUCI CQ submitted the change with unreviewed changes

      Unreviewed changes

      9 is the latest approved patch-set.
      The change was submitted with unreviewed changes in the following files:

      ```
      The name of the file: base/system/sys_info.h
      Insertions: 1, Deletions: 1.

      @@ -324,7 +324,7 @@
      // devices with similar hardware components.
      static std::string GetAndroidHardwareClass();

      - // Returns the SDK API level that the device is initially launched with.
      + // Returns the SDK API level that the device initially launched with.
      static std::string GetAndroidFirstApiLevel();
      #endif // BUILDFLAG(IS_ANDROID)

      ```

      Change information

      Commit message:
      Move FirstLevel check to SysInfo

      By putting the first level check to the SysInfo, we avoid a JNI jump.

      This matches the work done in MediaCodecUtil to GetAndroidHardware to
      detect MediaTek devices, in
      https://chromium.googlesource.com/chromium/src/+/6c1b4b93191cd5d4598ceab394a62e5d765.

      Verified by logging the FirstApiLevel with and without my change on a
      Pixel 5. Both reported the same ApiLevel of 30.
      Bug: 391360180, b:459977924
      Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
      Reviewed-by: Nico Weber <tha...@chromium.org>
      Reviewed-by: Andrew Grieve <agr...@chromium.org>
      Reviewed-by: Xiaohan Wang <xhw...@chromium.org>
      Commit-Queue: Vikram Pasupathy <vpasu...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1597924}
      Files:
      • M base/system/sys_info.h
      • M base/system/sys_info_android.cc
      • M media/base/android/java/src/org/chromium/media/MediaDrmBridge.java
      • M media/base/android/media_drm_bridge.cc
      Change size: S
      Delta: 4 files changed, 12 insertions(+), 34 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Nico Weber, +1 by Andrew Grieve, +1 by Xiaohan Wang
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I83e41a6b4cb086ccd60b2f38092e90acf7eef2d3
      Gerrit-Change-Number: 7616391
      Gerrit-PatchSet: 11
      Gerrit-Owner: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Andrew Grieve <agr...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Nico Weber <tha...@chromium.org>
      Gerrit-Reviewer: Vikram Pasupathy <vpasu...@chromium.org>
      Gerrit-Reviewer: Xiaohan Wang <xhw...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages