diff options
author | Owen Lin <owenlin@google.com> | 2012-08-29 11:53:10 +0800 |
---|---|---|
committer | Owen Lin <owenlin@google.com> | 2012-08-30 15:49:10 +0800 |
commit | 06961efbb7552d345a550708d8e40f0fb9345a9e (patch) | |
tree | 9fcea6debbee6add62d60314b03effcac6548446 /src/com/android/gallery3d/app/AlbumSetPage.java | |
parent | b282374131b3f9b306968440550fca0dbe756ee0 (diff) | |
download | android_packages_apps_Snap-06961efbb7552d345a550708d8e40f0fb9345a9e.tar.gz android_packages_apps_Snap-06961efbb7552d345a550708d8e40f0fb9345a9e.tar.bz2 android_packages_apps_Snap-06961efbb7552d345a550708d8e40f0fb9345a9e.zip |
Remove unused resources and fix some warnings.
Change-Id: I075977150c7da7650e723e29406f24ae2e23ea97
Diffstat (limited to 'src/com/android/gallery3d/app/AlbumSetPage.java')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumSetPage.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java index c7046be7d..c34e83ef8 100644 --- a/src/com/android/gallery3d/app/AlbumSetPage.java +++ b/src/com/android/gallery3d/app/AlbumSetPage.java @@ -20,9 +20,8 @@ import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; -import android.content.Intent; -import android.content.DialogInterface.OnCancelListener; import android.content.DialogInterface.OnClickListener; +import android.content.Intent; import android.graphics.Rect; import android.os.Bundle; import android.os.Handler; @@ -312,7 +311,7 @@ public class AlbumSetPage extends ActivityState implements R.string.empty_album, Toast.LENGTH_LONG).show(); mActivity.getStateManager().finishState(this); } else { - emptyGalleryPrompt((Activity) mActivity); + emptyGalleryPrompt(mActivity); } } else if (mEmptyGalleryPrompt != null) { mEmptyGalleryPrompt = null; |