diff options
author | 2012-07-18 18:20:29 -0700 | |
---|---|---|
committer | 2012-07-19 11:24:47 -0700 | |
commit | 0fc5b2bea09a6d320884c5b12577caf426f547c1 (patch) | |
tree | b6614d64033a577134faaf1fbdc8db40ef88a5d6 /libs/hwui/GradientCache.cpp | |
parent | d2299ca8a28d1185d1dddd1d4832813484276c14 (diff) |
Fun with Up navigation
For activities with a null taskAffinity, simply finish the current task.
(They probably shouldn't have specified a parentActivityName anyway.)
When launching into app info from ResolverActivity, launch the app info
page in the current task with FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. Back
will return to the resolver, and Up will jump to Settings.
When launching into app info from RecentsPanelView or BaseStatusBar,
since this is a system affordance akin to notifications or widgets,
build the full task stack for the app info activity with
TaskStackBuilder and launch it as a new task.
Change-Id: I73b1941d0f52bd8b30382b5e17edd8ceb058c70d
Diffstat (limited to 'libs/hwui/GradientCache.cpp')
0 files changed, 0 insertions, 0 deletions