summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/app/AbstractGalleryActivity.java
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-02-22 08:00:31 +0800
committerChih-Chung Chang <chihchung@google.com>2012-02-23 09:15:21 +0800
commit7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06 (patch)
tree6a7db2c296f7e0ba8e2edd976a81cb956c89e158 /src/com/android/gallery3d/app/AbstractGalleryActivity.java
parentcfa105d3934c4dfa14f02b693bfa97c8d17d56a9 (diff)
downloadandroid_packages_apps_Gallery2-7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06.tar.gz
android_packages_apps_Gallery2-7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06.tar.bz2
android_packages_apps_Gallery2-7b83fb8e3a8978b33a6b9bfc56d85fe2c1a9cf06.zip
Remove unused code.
Change-Id: I167596ab023671651df298ddb2b80b7c782f4223
Diffstat (limited to 'src/com/android/gallery3d/app/AbstractGalleryActivity.java')
-rw-r--r--src/com/android/gallery3d/app/AbstractGalleryActivity.java18
1 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 ac9774af1..f3e60cee9 100644
--- a/src/com/android/gallery3d/app/AbstractGalleryActivity.java
+++ b/src/com/android/gallery3d/app/AbstractGalleryActivity.java
@@ -44,7 +44,6 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity
private static final String TAG = "AbstractGalleryActivity";
private GLRootView mGLRootView;
private StateManager mStateManager;
- private PositionRepository mPositionRepository = new PositionRepository();
private AlertDialog mAlertDialog = null;
private BroadcastReceiver mMountReceiver = new BroadcastReceiver() {
@@ -84,10 +83,6 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity
return this;
}
- public ImageCacheService getImageCacheService() {
- return ((GalleryApp) getApplication()).getImageCacheService();
- }
-
public DataManager getDataManager() {
return ((GalleryApp) getApplication()).getDataManager();
}
@@ -96,10 +91,6 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity
return ((GalleryApp) getApplication()).getThreadPool();
}
- public GalleryApp getGalleryApplication() {
- return (GalleryApp) getApplication();
- }
-
public synchronized StateManager getStateManager() {
if (mStateManager == null) {
mStateManager = new StateManager(this);
@@ -111,21 +102,12 @@ public class AbstractGalleryActivity extends Activity implements GalleryActivity
return mGLRootView;
}
- public PositionRepository getPositionRepository() {
- return mPositionRepository;
- }
-
@Override
public void setContentView(int resId) {
super.setContentView(resId);
mGLRootView = (GLRootView) findViewById(R.id.gl_root_view);
}
- public int getActionBarHeight() {
- ActionBar actionBar = getActionBar();
- return actionBar != null ? actionBar.getHeight() : 0;
- }
-
protected void onStorageReady() {
if (mAlertDialog != null) {
mAlertDialog.dismiss();