diff options
author | John Reck <jreck@google.com> | 2011-08-10 15:53:07 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-08-11 10:29:45 -0700 |
commit | 2d963a2899afbe000d1ab498f94de87f25e33184 (patch) | |
tree | 12c78e12a35dd5de8b0673768f25e8fb688d6dfd /src/com/android/browser/BrowserSnapshotPage.java | |
parent | e3da7d615be4710da92a79e6ed70dc1982deda4c (diff) | |
download | packages_apps_browser-2d963a2899afbe000d1ab498f94de87f25e33184.zip packages_apps_browser-2d963a2899afbe000d1ab498f94de87f25e33184.tar.gz packages_apps_browser-2d963a2899afbe000d1ab498f94de87f25e33184.tar.bz2 |
Support horizontal swipe in combo activity
Bug: 5145315
Change-Id: I1e9b4a6bae325244c7a3fb6159deadc3fcf170e6
Diffstat (limited to 'src/com/android/browser/BrowserSnapshotPage.java')
-rw-r--r-- | src/com/android/browser/BrowserSnapshotPage.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/com/android/browser/BrowserSnapshotPage.java b/src/com/android/browser/BrowserSnapshotPage.java index 0953879..72aa1b9 100644 --- a/src/com/android/browser/BrowserSnapshotPage.java +++ b/src/com/android/browser/BrowserSnapshotPage.java @@ -43,7 +43,6 @@ import android.widget.ImageView; import android.widget.ResourceCursorAdapter; import android.widget.TextView; -import com.android.browser.CombinedBookmarkHistoryView.CombinedBookmarksCallbacks; import com.android.browser.provider.SnapshotProvider.Snapshots; import java.text.DateFormat; @@ -76,12 +75,10 @@ public class BrowserSnapshotPage extends Fragment implements SnapshotAdapter mAdapter; CombinedBookmarksCallbacks mCallback; - public static BrowserSnapshotPage newInstance(CombinedBookmarksCallbacks cb, - Bundle extras) { - BrowserSnapshotPage instance = new BrowserSnapshotPage(); - instance.mCallback = cb; - instance.setArguments(extras); - return instance; + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + mCallback = (CombinedBookmarksCallbacks) getActivity(); } @Override |