diff options
| author | Adam Powell <adamp@google.com> | 2012-05-01 18:25:01 -0700 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2012-05-01 18:34:30 -0700 |
| commit | ffb145cea250808c2a72108c915ae04bd15d3833 (patch) | |
| tree | 6afe134e873eb0b60a3d696867c50981df613b82 /samples/AppNavigation | |
| parent | 8749a298c0a94df8fc511bdd08fef4a59d0fadf7 (diff) | |
| download | android_development-ffb145cea250808c2a72108c915ae04bd15d3833.tar.gz android_development-ffb145cea250808c2a72108c915ae04bd15d3833.tar.bz2 android_development-ffb145cea250808c2a72108c915ae04bd15d3833.zip | |
Follow framework API change in TaskStackBuilder
Change-Id: I8d83c2a680b2004fded46630166fc1f9b09a5038
Diffstat (limited to 'samples/AppNavigation')
2 files changed, 2 insertions, 2 deletions
diff --git a/samples/AppNavigation/src/com/example/android/appnavigation/app/InterstitialMessageActivity.java b/samples/AppNavigation/src/com/example/android/appnavigation/app/InterstitialMessageActivity.java index c96995ca8..e7aee90c6 100644 --- a/samples/AppNavigation/src/com/example/android/appnavigation/app/InterstitialMessageActivity.java +++ b/samples/AppNavigation/src/com/example/android/appnavigation/app/InterstitialMessageActivity.java @@ -32,7 +32,7 @@ public class InterstitialMessageActivity extends Activity { } public void onViewContent(View v) { - TaskStackBuilder.from(this) + TaskStackBuilder.create(this) .addParentStack(ContentViewActivity.class) .addNextIntent(new Intent(this, ContentViewActivity.class) .putExtra(ContentViewActivity.EXTRA_TEXT, "From Interstitial Notification")) diff --git a/samples/AppNavigation/src/com/example/android/appnavigation/app/NotificationsActivity.java b/samples/AppNavigation/src/com/example/android/appnavigation/app/NotificationsActivity.java index bf338be75..cfb3b427a 100644 --- a/samples/AppNavigation/src/com/example/android/appnavigation/app/NotificationsActivity.java +++ b/samples/AppNavigation/src/com/example/android/appnavigation/app/NotificationsActivity.java @@ -41,7 +41,7 @@ public class NotificationsActivity extends Activity { .setContentTitle("Direct Notification") .setContentText("This will open the content viewer") .setAutoCancel(true) - .setContentIntent(TaskStackBuilder.from(this) + .setContentIntent(TaskStackBuilder.create(this) .addParentStack(ContentViewActivity.class) .addNextIntent(new Intent(this, ContentViewActivity.class) .putExtra(ContentViewActivity.EXTRA_TEXT, "From Notification")) |
