Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3936)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/fullscreen/ChromeFullscreenManager.java

Issue 1078273002: Remove unnecesary ApiCompatibilityUtils calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: newt's comments Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/java/src/org/chromium/chrome/browser/fullscreen/ChromeFullscreenManager.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/fullscreen/ChromeFullscreenManager.java b/chrome/android/java/src/org/chromium/chrome/browser/fullscreen/ChromeFullscreenManager.java
index 4e7b2ffa15ae4dec7b5bd42424c2e36feaae6389..73e7ef0072a9b4a23ca9571c75def3eb2599b32e 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/fullscreen/ChromeFullscreenManager.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/fullscreen/ChromeFullscreenManager.java
@@ -23,7 +23,6 @@ import android.view.Window;
import android.widget.FrameLayout;
import org.chromium.base.ActivityState;
-import org.chromium.base.ApiCompatibilityUtils;
import org.chromium.base.ApplicationStatus;
import org.chromium.base.ApplicationStatus.ActivityStateListener;
import org.chromium.base.BaseChromiumApplication;
@@ -492,7 +491,7 @@ public class ChromeFullscreenManager
final int desiredVisibility = shouldShowAndroidControls() ? View.VISIBLE : View.INVISIBLE;
if (mControlContainer.getVisibility() == desiredVisibility) return;
mControlContainer.removeCallbacks(mUpdateVisibilityRunnable);
- ApiCompatibilityUtils.postOnAnimation(mControlContainer, mUpdateVisibilityRunnable);
+ mControlContainer.postOnAnimation(mUpdateVisibilityRunnable);
}
private void updateVisuals() {

Powered by Google App Engine
This is Rietveld 408576698