summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/FilmStripView.java
diff options
context:
space:
mode:
authorc_shrini <shrini@codeaurora.org>2013-12-02 14:09:43 +0530
committerc_shrini <shrini@codeaurora.org>2013-12-05 10:30:20 +0530
commit24f020e646ecec580cdb824d8fdbdec7b2cea32a (patch)
treeacdadf03f9ef7dc5de85fcbb20c65e0d4725acc1 /src/com/android/camera/ui/FilmStripView.java
parent1c7734057201ffd1b6d165d9e24793ef3d213043 (diff)
downloadandroid_packages_apps_Snap-24f020e646ecec580cdb824d8fdbdec7b2cea32a.tar.gz
android_packages_apps_Snap-24f020e646ecec580cdb824d8fdbdec7b2cea32a.tar.bz2
android_packages_apps_Snap-24f020e646ecec580cdb824d8fdbdec7b2cea32a.zip
Camera: Revering changes of clear preview frame during activity pause.
In camera application, the preview frame is rendered on the surface texture. When user pause, this surface texture is retained by the activity. Upon user resume, it will be destroyed and recreated so that new preview frames can be rendered on it. During this period, a flickering impact is seen on UI. Change-Id: I5728d5d7f28ec45121f375928bf2c9effd9bd620 CRs-fixed: 583474
Diffstat (limited to 'src/com/android/camera/ui/FilmStripView.java')
-rw-r--r--src/com/android/camera/ui/FilmStripView.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/com/android/camera/ui/FilmStripView.java b/src/com/android/camera/ui/FilmStripView.java
index 9945952ee..b049ddbf0 100644
--- a/src/com/android/camera/ui/FilmStripView.java
+++ b/src/com/android/camera/ui/FilmStripView.java
@@ -409,7 +409,6 @@ public class FilmStripView extends ViewGroup implements BottomControlsListener {
public void goToFullScreen();
- public void clearSurfaceViews();
}
/**
@@ -2334,19 +2333,6 @@ public class FilmStripView extends ViewGroup implements BottomControlsListener {
scaleTo(1f, GEOMETRY_ADJUST_TIME_MS);
}
- @Override
- public void clearSurfaceViews() {
- for(ViewItem item: mViewItem) {
- if (item == null) {
- continue;
- }
- View v = item.getView();
- if (v != mCameraView) {
- removeView(v);
- }
- }
- }
-
private void cancelFlingAnimation() {
// Cancels flinging for zoomed images
if (isFlingAnimationRunning()) {