Shintaro Kawamura | 669d9eb | 2025-04-18 02:53:38 | [diff] [blame] | 1 | // 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 | |
| 9 | namespace content { |
| 10 | bool 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 |