Loading src/com/android/gallery3d/app/AbstractGalleryActivity.java +9 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,15 @@ 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; } Loading src/com/android/gallery3d/app/PhotoPage.java +9 −0 Original line number Diff line number Diff line Loading @@ -1630,6 +1630,15 @@ 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(); Loading Loading
src/com/android/gallery3d/app/AbstractGalleryActivity.java +9 −0 Original line number Diff line number Diff line Loading @@ -133,6 +133,15 @@ 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; } Loading
src/com/android/gallery3d/app/PhotoPage.java +9 −0 Original line number Diff line number Diff line Loading @@ -1630,6 +1630,15 @@ 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(); Loading