commit | ffb145cea250808c2a72108c915ae04bd15d3833 | [log] [tgz] |
---|---|---|
author | Adam Powell <adamp@google.com> | Tue May 01 18:25:01 2012 -0700 |
committer | Adam Powell <adamp@google.com> | Tue May 01 18:34:30 2012 -0700 |
tree | 6afe134e873eb0b60a3d696867c50981df613b82 | |
parent | 8749a298c0a94df8fc511bdd08fef4a59d0fadf7 [diff] |
Follow framework API change in TaskStackBuilder Change-Id: I8d83c2a680b2004fded46630166fc1f9b09a5038
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 c96995c..e7aee90 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 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 bf338be..cfb3b42 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 @@ .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"))