History log of /frameworks/base/core/java/android/app/TaskStackBuilder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d9273d6f289d9b55da3fd0db2f659fdfb48106a8 31-May-2013 Tor Norbye <tnorbye@google.com> Add typedefs and nullness annotations.

This changeset adds in typedef annotations (custom annotations
marked with @IntDef) for various int parameters and return values
in the API. It also adds nullness annotations for cases where the
documentation explicitly mentioned null policy, or where it was
blindingly obvious from the context. Also fixed some typos in the
documentation.

Change-Id: Ica27c01368895818e26237544edd8483007155bb
/frameworks/base/core/java/android/app/TaskStackBuilder.java
d56b4d1db34bd6928f599e7e9a7321c2a81cb995 01-Oct-2012 Adam Powell <adamp@google.com> Construct a task stack for picking a wifi network from notification

Bug 7001327

Change-Id: I5a79e6933cd33386cd0aa4df626f15902deedd67
/frameworks/base/core/java/android/app/TaskStackBuilder.java
7951c459aefeb012638477b762e19b792ecbe009 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: Ifc2328e30a52c2baebc1322c9b161104dcf21618
ea7e91514ee1968d15713e82a5cca745e2c46a05 25-Sep-2012 Amith Yamasani <yamasani@google.com> AppInfo from Notifications for secondary users

Required wiring up startActivitiesAsUser()

Bug: 7224950

Also fix a bug in navigateUp in secondary user

Change-Id: I114ae2de0457362d62e899fdb94b12239a3eb778
/frameworks/base/core/java/android/app/TaskStackBuilder.java
9ceac5a02f08bc350d6047660ed75019313f4703 24-Sep-2012 Adam Powell <adamp@google.com> TaskStackBuilder and intents without an explicit target

When Activity#getParentActivityIntent() returns an Intent without an
explicit target, resolve it in order to determine a correct parent
stack.

Bug 7223318

Change-Id: I3e88129f1e538cc3d932d6b4f735a5bec54bb4ad
/frameworks/base/core/java/android/app/TaskStackBuilder.java
75e0af8982cd29cfe8a01c18d1e82d7abcfd1711 17-Sep-2012 Adam Powell <adamp@google.com> TaskStackBuilder correctness fixes

* Don't mutate original intents when adding default flags.

* Add the relevant flags to the array returned by getIntents() such
that it can be used directly in a call to startActivities or
similar.

* Deep copy the component intents when building an intent array for
getIntents()

* Clean up some internal code duplication

Change-Id: I71d3b7f30d4f7d8f1cce778d406ea0e513d382c5
/frameworks/base/core/java/android/app/TaskStackBuilder.java
6b6c90523ed8779aa962ff4f5ef8c368a96269e2 17-Sep-2012 Adam Powell <adamp@google.com> TaskStackBuilder - use the correct package for looking up parents

Fix bug 7179104

Change-Id: Ia5d2d285cf22e97c452e0c385ef38c8bce330491
/frameworks/base/core/java/android/app/TaskStackBuilder.java
5a4010c054a4449156df885ad0f46f8db3263d87 17-Sep-2012 Adam Powell <adamp@google.com> Create main activity intents as needed for TaskStackBuilder/Up nav

If a generated parent intent targets an Activity that itself has no
parent specified, generate the intent using Intent.makeMainActivity
to gather the correct flags for the root intent of a task.

Bug 6457058

Change-Id: I8d4a3823eda752306da18c2c38fa7e57f0a33bf3
/frameworks/base/core/java/android/app/TaskStackBuilder.java
b00b8b0d535bc0f54b792565d94f854ff64c8683 17-May-2012 Adam Powell <adamp@google.com> Be more tolerant in TaskStackBuilder

Let callers try to get a parent stack for an activity class with no
parent declared.

Bug 6503702

Change-Id: Iec1bc7a8d9e5b65b756a8ebd0e53d63506796aa3
/frameworks/base/core/java/android/app/TaskStackBuilder.java
5c43ec9328ba98fa88acc452b140f2d682a3042c 09-May-2012 Adam Powell <adamp@google.com> Fix bug in TaskStackBuilder#addParentStack

Don't assume the initial component has a valid parent specified.

Bug 6464209

Change-Id: I22aa4c0e667ea85dc46ad7320f4a9f52117af520
/frameworks/base/core/java/android/app/TaskStackBuilder.java
f78a8444a9b21b0d1daca8667d580dd0ec04a310 02-May-2012 Adam Powell <adamp@google.com> API modifications for TaskStackBuilder

Change-Id: Ic9e11caa4541962d32b2c197f4f7b19ee67a0eda
/frameworks/base/core/java/android/app/TaskStackBuilder.java
3c464bdefe37f75153e8a8c978c3457ae4d1f37e 23-Apr-2012 Adam Powell <adamp@google.com> Add TaskStackBuilder#addParentStack(ComponentName)

Let TaskStackBuilder discover a parent activity stack by ComponentName
in addition to explicit Activity classes.

Change-Id: I18b8378548ed1d6ef033800e6a3e11ab965d07e5
/frameworks/base/core/java/android/app/TaskStackBuilder.java
8ab700cbbab60f7a01a86cbf16496e1f34236dd6 06-Apr-2012 Adam Powell <adamp@google.com> Fix a bug in TaskStackBuilder where task stack PendingIntents would
not clear tasks properly.

Change-Id: I5a7918fa5e400c160409a45d3e00b32f6f4809aa
/frameworks/base/core/java/android/app/TaskStackBuilder.java
dd8fab2629131b09367df747afd9a61e42dd1992 23-Mar-2012 Adam Powell <adamp@google.com> TaskStackBuilder and Activity navigation features for framework

Promote navigation helpers from the support library to the core
platform.

The support library's meta-data element has been replaced with a
first-class parentActivityName attribute. This attribute is valid
on both activity and activity-alias elements. An activity-alias
will inherit the target activity's parentActivityName if one is
not explicitly specified.

Automatic Up navigation for Activities

Add the public method onNavigateUp() to Activity. The default
implementation will use the metadata supplied in the manifest about an
activity's hierarchical parent (parentActivityName) to do the right
thing.

If any activities in the parent chain require special Intent
arguments, the Activity subclass should override onNavigateUp() to
properly implement Up navigation for the app, supplying such arguments
as needed.

If automatic Up navigation within the same task can't find an activity
matching the supplied intent in the current task stack, it will act as
an in-app "home" and return to the root activity (presumably the app's
front page) in that task. (From this state, pressing "back" with
default behavior will return to the launcher.)

Change-Id: If163e27e59587f7af36975a09c986cb117ec3bc6
/frameworks/base/core/java/android/app/TaskStackBuilder.java