summaryrefslogtreecommitdiff
path: root/core/java/android/view/Display.java
diff options
context:
space:
mode:
authorHansong Zhang <hsz@google.com>2019-12-13 22:03:21 +0000
committerHansong Zhang <hsz@google.com>2019-12-13 22:10:01 +0000
commitb62b7b724df8148af2b5d2ca04d1bff3cabb94b7 (patch)
treecf7f4694ea2367987d8a6fe3428c2b75d9de339d /core/java/android/view/Display.java
parentea9457585a043c3cc2822a1db195375496652fb7 (diff)
Revert submission
Based on Forrest run with earlier base build 6069142, the build with this submission failed apct/bluetooth/instrumentation_test Reason for revert: Break tests Bug: 146198238 Change-Id: I65060ca389bf3ae1f107552ca828bfc1e7baa7c1
Diffstat (limited to 'core/java/android/view/Display.java')
-rw-r--r--core/java/android/view/Display.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java
index 65d5190cbb2e..03e68b0058b2 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
*/