diff options
Diffstat (limited to 'src/com/android/launcher2/WallpaperChooserDialogFragment.java')
-rw-r--r-- | src/com/android/launcher2/WallpaperChooserDialogFragment.java | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/com/android/launcher2/WallpaperChooserDialogFragment.java b/src/com/android/launcher2/WallpaperChooserDialogFragment.java index 7c4ac2e33..030d33d9f 100644 --- a/src/com/android/launcher2/WallpaperChooserDialogFragment.java +++ b/src/com/android/launcher2/WallpaperChooserDialogFragment.java @@ -112,26 +112,6 @@ public class WallpaperChooserDialogFragment extends DialogFragment implements public Dialog onCreateDialog(Bundle savedInstanceState) { findWallpapers(); - // TODO: The following code is not exercised right now and may be removed - // if the dialog version is not needed. - /* - final View v = getActivity().getLayoutInflater().inflate( - R.layout.wallpaper_chooser, null, false); - - GridView gridView = (GridView) v.findViewById(R.id.gallery); - gridView.setOnItemClickListener(this); - gridView.setAdapter(new ImageAdapter(getActivity())); - - final int viewInset = - getResources().getDimensionPixelSize(R.dimen.alert_dialog_content_inset); - - FrameLayout wallPaperList = (FrameLayout) v.findViewById(R.id.wallpaper_list); - AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); - builder.setNegativeButton(R.string.wallpaper_cancel, null); - builder.setTitle(R.string.wallpaper_dialog_title); - builder.setView(wallPaperList, - viewInset, viewInset, viewInset, viewInset); return builder.create(); - */ return null; } @@ -366,4 +346,4 @@ public class WallpaperChooserDialogFragment extends DialogFragment implements // Ignore } } -}
\ No newline at end of file +} |