diff options
| author | Robin Lee <rgl@google.com> | 2019-12-14 03:06:25 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-12-14 03:06:25 +0000 |
| commit | 75ba497bebe1d192930c93debdd31f4b521ad4fc (patch) | |
| tree | 1fad4dfcffdab16e22edd260755fbacfe74c4107 /core/java/android/view/Display.java | |
| parent | a5660a9f466dd2ece47f7cb16c335abe96916c76 (diff) | |
| parent | b62b7b724df8148af2b5d2ca04d1bff3cabb94b7 (diff) | |
Merge "Revert submission"
Diffstat (limited to 'core/java/android/view/Display.java')
| -rw-r--r-- | core/java/android/view/Display.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java index 117b971ad446..ba2509302094 100644 --- a/core/java/android/view/Display.java +++ b/core/java/android/view/Display.java @@ -21,7 +21,6 @@ import static android.Manifest.permission.CONFIGURE_DISPLAY_COLOR_MODE; import android.annotation.IntDef; import android.annotation.Nullable; import android.annotation.RequiresPermission; -import android.annotation.SuppressLint; import android.annotation.TestApi; import android.annotation.UnsupportedAppUsage; import android.app.KeyguardManager; @@ -858,31 +857,6 @@ public final class Display { } /** - * <p> Returns true if the connected display can be switched into a mode with minimal - * post processing. </p> - * - * <p> If the Display sink is connected via HDMI, this method will return true if the - * display supports either Auto Low Latency Mode or Game Content Type. - * - * <p> If the Display sink has an internal connection or uses some other protocol than - * HDMI, this method will return true if the sink can be switched into an - * implementation-defined low latency image processing mode. </p> - * - * <p> The ability to switch to a mode with minimal post processing may be disabled - * by a user setting in the system settings menu. In that case, this method returns - * false. </p> - * - * @see android.view.Window#setPreferMinimalPostProcessing - */ - @SuppressLint("VisiblySynchronized") - public boolean isMinimalPostProcessingSupported() { - synchronized (this) { - updateDisplayInfoLocked(); - return mDisplayInfo.minimalPostProcessingSupported; - } - } - - /** * Request the display applies a color mode. * @hide */ |
