summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/gallery3d/app/AbstractGalleryActivity.java9
-rwxr-xr-xsrc/com/android/gallery3d/app/PhotoPage.java9
2 files changed, 0 insertions, 18 deletions
diff --git a/src/com/android/gallery3d/app/AbstractGalleryActivity.java b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
index 9f43b8de4..1f8fa1e66 100644
--- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java
+++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -156,15 +156,6 @@ public class AbstractGalleryActivity extends Activity implements GalleryContext
return mGLRootView;
}
- public void GLRootResume(boolean isResume) {
- if (isResume) {
- mGLRootView.onResume();
- mGLRootView.lockRenderThread();
- } else {
- mGLRootView.unlockRenderThread();
- }
- }
-
public OrientationManager getOrientationManager() {
return mOrientationManager;
}
diff --git a/src/com/android/gallery3d/app/PhotoPage.java b/src/com/android/gallery3d/app/PhotoPage.java
index 66120f02f..f53231f58 100755
--- a/src/com/android/gallery3d/app/PhotoPage.java
+++ b/src/com/android/gallery3d/app/PhotoPage.java
@@ -1481,15 +1481,6 @@ public abstract class PhotoPage extends ActivityState implements
}
@Override
- public void onConfigurationChanged(Configuration config) {
- super.onConfigurationChanged(config);
- if(mIsActive) return;
- mActivity.GLRootResume(true);
- mModel.resume();
- mActivity.GLRootResume(false);
- }
-
- @Override
protected void onResume() {
super.onResume();