diff options
author | Ray Chen <raychen@google.com> | 2012-05-11 21:50:28 +0800 |
---|---|---|
committer | Ray Chen <raychen@google.com> | 2012-05-11 23:12:25 +0800 |
commit | 9617f47a1b307299d98644f54ea5b20839dae615 (patch) | |
tree | 7ef5271453ceab0d77b8cc5d306ff98c85ae9609 /src/com/android/gallery3d/app/MovieControllerOverlay.java | |
parent | d88db1dbe50b9e147d7d5796e82f0c7bffb03ccb (diff) | |
download | android_packages_apps_Snap-9617f47a1b307299d98644f54ea5b20839dae615.tar.gz android_packages_apps_Snap-9617f47a1b307299d98644f54ea5b20839dae615.tar.bz2 android_packages_apps_Snap-9617f47a1b307299d98644f54ea5b20839dae615.zip |
Fix 6470803 De-jank for video playback in fullscreen
b: 6470803
Change-Id: I91fd8430c34e84eac45c33070f0f571627e96820
Diffstat (limited to 'src/com/android/gallery3d/app/MovieControllerOverlay.java')
-rw-r--r-- | src/com/android/gallery3d/app/MovieControllerOverlay.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/app/MovieControllerOverlay.java b/src/com/android/gallery3d/app/MovieControllerOverlay.java index 92c304935..ae9f085a1 100644 --- a/src/com/android/gallery3d/app/MovieControllerOverlay.java +++ b/src/com/android/gallery3d/app/MovieControllerOverlay.java @@ -20,7 +20,6 @@ import android.content.Context; import android.os.Handler; import android.view.Gravity; import android.view.KeyEvent; -import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.View.OnClickListener; @@ -86,8 +85,6 @@ public class MovieControllerOverlay extends FrameLayout implements LayoutParams matchParent = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT); - LayoutInflater inflater = LayoutInflater.from(context); - background = new View(context); background.setBackgroundColor(context.getResources().getColor(R.color.darker_transparent)); addView(background, matchParent); |