blob: ff6938d18a3081ed6be4913dfbb06ded260fbe7c [file] [log] [blame]
Shintaro Kawamura669d9eb2025-04-18 02:53:381// Copyright 2025 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "content/public/browser/android/child_process_importance.h"
6
7#include "base/android/android_info.h"
8
9namespace content {
10bool IsPerceptibleImportanceSupported() {
11 // This is the same as `SUPPORT_NOT_PERCEPTIBLE_BINDING` in
12 // ChildProcessConnection.java.
13 return base::android::android_info::sdk_int() >=
14 base::android::android_info::SDK_VERSION_Q;
15}
16} // namespace content