diff options
| author | Yiwei Zhang <zzyiwei@google.com> | 2019-05-09 23:45:47 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-05-09 23:45:47 +0000 |
| commit | b137faed012dbaa766fe26f991aa0f49401a09b5 (patch) | |
| tree | e1f496a687734492efd5315a3b2aef984d2978ac /core/java/android/os/GraphicsEnvironment.java | |
| parent | f235aa57b516cefa6d25e00b50e8e57140cd7bfc (diff) | |
| parent | e54faf5818398828ba6d677bc673ee0fd769a98d (diff) | |
Merge "GpuStats: send a hint of activity launch to GraphicsEnvironment" into qt-dev
Diffstat (limited to 'core/java/android/os/GraphicsEnvironment.java')
| -rw-r--r-- | core/java/android/os/GraphicsEnvironment.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/os/GraphicsEnvironment.java b/core/java/android/os/GraphicsEnvironment.java index 1868d0596acc..5039b31ed9ff 100644 --- a/core/java/android/os/GraphicsEnvironment.java +++ b/core/java/android/os/GraphicsEnvironment.java @@ -108,6 +108,12 @@ public class GraphicsEnvironment { } /** + * Hint for GraphicsEnvironment that an activity is launching on the process. + * Then the app process is allowed to send stats to GpuStats module. + */ + public static native void hintActivityLaunch(); + + /** * Allow to query whether an application will use Game Driver. */ public static boolean shouldUseGameDriver(Context context, Bundle coreSettings, |
