5f48dc7409669c78ad923b370c885e1d01919cfb |
|
01-Nov-2013 |
Michael Wright <michaelwr@google.com> |
Only call dump when a ViewRoot actually exists Bug: 11446494 Change-Id: I47e35d7b4d49d6893ba0c9f8ad05b31f91be85d2
/frameworks/base/core/java/android/app/Activity.java
|
5182c780a8b42acd46a06d693ab63a0dd78c6d70 |
|
16-Oct-2013 |
Jeff Brown <jeffbrown@google.com> |
Log view root, input and looper state in bug reports. Bug: 10948648 Change-Id: I956cce2a0fb516c02f9bbbc021f6238bcb226891
/frameworks/base/core/java/android/app/Activity.java
|
ebc15ef80ff1b4354be99a45d348537f094d6b59 |
|
10-Oct-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix some doc issues. Bug: 11079621 Bug: 10461610 Bug: 10461369 Bug: 10461417 Change-Id: I7fd966f3cda0660ba20fa15d7164dcac95efadd3
/frameworks/base/core/java/android/app/Activity.java
|
abd3d778e591fab03177936e216dce52642eb211 |
|
11-Sep-2013 |
Chet Haase <chet@google.com> |
Hide translucent activity conversion API This API and functionality is not yet completely baked. It's worth thinking more about this mechanism before exposing it as public API. Issue #10461415 KLP API Review: Activity convert to translucent Change-Id: I94d986b62443b3bfa7a9a19807ecebe36bf57e07
/frameworks/base/core/java/android/app/Activity.java
|
1487466dc2ce14cccf0ff2bd2f824238aaa0044e |
|
19-Jul-2013 |
Adam Powell <adamp@google.com> |
Add View#cancelPendingInputEvents API This API allows an application to cancel deferred high-level input events already in flight. It forms one tool of several to help apps debounce input events and prevent things like multiple startActivity calls, FragmentTransactions, etc. from executing when only one was desired since it's otherwise not desirable for things like click events to fire synchronously. Change-Id: I60b12cd5350898065f0019d616e24d779eb8cff9
/frameworks/base/core/java/android/app/Activity.java
|
bc57cd1b248bf23e443581f9fe44167c94699ce8 |
|
20-Aug-2013 |
Craig Mautner <cmautner@google.com> |
Notify ViewRootImpl when it's safe to modify Canvas. When Activity.convert{To|From}Translucent() is called the ViewRootImpl is now notified when it is safe to convert the Canvas from translucent to opaque and back to translucent. This will make it possible to save resources when compositing opaque layers. Fixes bug 10349536. Change-Id: I7282aee1d54601fb00611d20be204bf164d873f6
/frameworks/base/core/java/android/app/Activity.java
|
3e82ba1a67b0c756ab6a289985f4cfc53725b311 |
|
16-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Make ArrayMap public! :) Also do some tweaking of the various container classes to synchronize them with the support lib and make it easier to copy code between the two. And update activity/fragment to use ArrayMap. Change-Id: I3cfe82392a17119dfc72c3d9961f64e1914f42be
/frameworks/base/core/java/android/app/Activity.java
|
5eda9b330120f75964cd78b29f6101cc273c2a7e |
|
02-Jul-2013 |
Craig Mautner <cmautner@google.com> |
Add convertToTranslucent to API. Rename convertToOpaque to convertFromTranslucent. Add the counterpart to Activity.convertFromTranslucent() for returning from opaque to a translucent Activity. The caller should wait until TranslucentConversionListener.onTranslucentConversionComplete() is called before actually changing the background to translucent. Change-Id: Id04b026bcc4dd8bad9a33a7af126e1bb28fb9c03
/frameworks/base/core/java/android/app/Activity.java
|
2286cdc0cab77e61b75e6fe9a45b91f6e57cd46d |
|
02-Jul-2013 |
Dianne Hackborn <hackbod@google.com> |
Misc memory stuff. - New Activity.reportFullyDrawn() method that applicatins can call when they know they are fully drawn, allowing us to have better app launch time info. This data is also included in usage stats. - Added total and free memory data "dumpsys meminfo". - Tuned the moderate memory levels to be more aggressive about considering the device getting low on RAM, and thus starting to prune RAM from processes. - Fixed issues in processstats when reading old data as well as resetting and other various fixes. Change-Id: I20efe7451afb4edfa1aeec448328ba601c24d869
/frameworks/base/core/java/android/app/Activity.java
|
4addfc5f3998e3d7fc0a2ed9a9051c034da2ea3d |
|
25-Jun-2013 |
Craig Mautner <cmautner@google.com> |
Add API to convert translucent Activity to opaque. Fixes bug 9298778. Change-Id: If6198f42bdea8aa727a2abc672eb0062aaf63ca3
/frameworks/base/core/java/android/app/Activity.java
|
04fe6ebb9f919f196ec06a19bebc09b8e943f95b |
|
31-May-2013 |
Adam Powell <adamp@google.com> |
Fix a bug resolving the correct icon/logo in action bars Remove some abstraction-breaking magic in ActionBarView and replace it with proper resolution of the icon/logo when creating a window. The old implementation relied on the ActionBarView's context being an Activity. Bug 9171554 Change-Id: Idbbb1942622195dcb55e8119f2d64287b07bb509
/frameworks/base/core/java/android/app/Activity.java
|
4e0eb22fdf56b8f3fd1bff09c4064b35b80751c1 |
|
19-Apr-2013 |
Ying Wang <wangying@google.com> |
Fix doc build. Change-Id: Ibf0d998721a2851c31529d5b44bf86b1b3df5791
/frameworks/base/core/java/android/app/Activity.java
|
7b924671792787d0dd367dd0d0fede56e2d2b940 |
|
12-Apr-2013 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7643046: Activity.getCallingPackage() bogusly returns null... ...after having to recreate the task stack Change-Id: Ia354240f3650ddb578f2116a2aa4584e9ffe8508
/frameworks/base/core/java/android/app/Activity.java
|
a14acd20b8d563319ea1a5974dca0e9a29f0aaef |
|
03-Apr-2013 |
Jeff Sharkey <jsharkey@android.com> |
Warn when exposing file:// Uris beyond a process. Check for file:// Uris inside Intents, ClipData, Notifications and RemoteViews when StrictMode option is enabled. Also introduces Intent.prepareToLeaveProcess() to uniformly handle Intents about to leave an app process. Bug: 8529070 Change-Id: I8efb43877cbc5f21eb029fc6492b3ee1415059ef
/frameworks/base/core/java/android/app/Activity.java
|
f265ea9d8307282ff1da3915978625a94fc2859e |
|
01-Feb-2013 |
Dianne Hackborn <hackbod@google.com> |
App ops: vibration, neighboring cells, dialing, etc. Improve handling of vibration op, so that apps are better blamed (there is now a hidden vibrator API that supplies the app to blame, and the system now uses this when vibrating on behalf of an app). Add operation for retrieving neighboring cell information. Add a new op for calling a phone number. This required plumbing information about the launching package name through the activity manager, which required changing the internal startActivity class, which required hitting a ton of code that uses those internal APIs. Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
/frameworks/base/core/java/android/app/Activity.java
|
f9c5e0fe837a3090820da502ecaabc5accc00ace |
|
23-Jan-2013 |
Dianne Hackborn <hackbod@google.com> |
Add new API to propagate contextual data to the assist action When launching an assist, we have a new API allowing the current foreground activity/application to provide additional arbitrary contextual information that is stuffed in the assist intent before it is launched. Change-Id: I0b2a6f5a266dc42cc0175327fa76774f814af3b4
/frameworks/base/core/java/android/app/Activity.java
|
b484f8e1a4f07e35a194ee43676da8eb4e9d50ef |
|
09-Jan-2013 |
Scott Main <smain@google.com> |
am 782b0f71: am 4459827f: am 25505f95: am cdf5106a: docs: a few doc bugs * commit '782b0f7141972e0535f1e905d650073f4e7f55dd': docs: a few doc bugs
|
782b0f7141972e0535f1e905d650073f4e7f55dd |
|
09-Jan-2013 |
Scott Main <smain@google.com> |
am 4459827f: am 25505f95: am cdf5106a: docs: a few doc bugs * commit '4459827f7db379031e658b2153aac1f7c882adc6': docs: a few doc bugs
|
cdf5106aafb77d17584d5401b207cbcc7a20f5f3 |
|
09-Jan-2013 |
Scott Main <smain@google.com> |
docs: a few doc bugs Change-Id: I20d2ff2f3abfe674ca20f713c7213ee031c9bb1d
/frameworks/base/core/java/android/app/Activity.java
|
b7de79d02743cc3b5372be27be818d3227a34e2b |
|
04-Jan-2013 |
Adam Powell <adamp@android.com> |
am 41bb82be: Merge "Fix NullpointException problem in onMenuItemSelected" * commit '41bb82becea5dd1f995dbca5bf5a719f559102de': Fix NullpointException problem in onMenuItemSelected
|
686a805ef99b0fe53574c7110331cd91650f9999 |
|
14-Dec-2012 |
zobject <zbjection@gmail.com> |
Fix NullpointException problem in onMenuItemSelected If both title and condensed title is null, item.getTitleCondensed() could be return null value in onMenuItemSelected. therefore need to check whether retun value is null or not. Change-Id: Ib08f52b949a794aa7bd6cc25414041e820f62969
/frameworks/base/core/java/android/app/Activity.java
|
1de623939090993d03a7c398d09e2d13950d682b |
|
12-Dec-2012 |
Christopher Tate <ctate@google.com> |
am 534de491: Merge "Make immersive mode public & imply update locking" into jb-mr1-aah-dev * commit '534de491e6522465a7ad12d7cba9b2f80deab364': Make immersive mode public & imply update locking
|
73c2aee40a0e0ab2e8bd2bbbc560aa31c38eaac2 |
|
16-Mar-2012 |
Christopher Tate <ctate@google.com> |
Make immersive mode public & imply update locking Activity.setImmersive(boolean) / android:immersive="bool" are now public. In addition, if the foreground activity is immersive then an update lock will be held on its behalf. This lets applications such as movie players suppress the display of intrusive notifications, OTA-availability dialogs, and the like while they are displaying content that ought not to be rudely interrupted. The update lock aspect of this mode is *advisory*, not binding -- the update mechanism is not actually constrained; it simply uses this information in deciding whether/when to prompt the user. It's more a guideline than a rule. Bug 7681380 Change-Id: I3c412a84cbf3933e3bf0168f2c71c54a86e4b7e5
/frameworks/base/core/java/android/app/Activity.java
|
332944f8a0a001c1754ce3298edbb4246e53c8fb |
|
10-Dec-2012 |
zobject <zbjection@gmail.com> |
Fix EventLog string class problem in onOptionMenuSelected EventLog function can handle string,integer class and long class. (in android_util_EventLog.cpp) If menu title string are used bold tag(like <b>test</b>), it'll be android.text.SpannedString. In onOptionMenuSelected, it is using item.getTitleCondensed() function for writing event log. therefore any android activity using tag menu string(like <b></b>) can be crashed by IllegalArgumentException. I found this crash on GMS Application. change locale chinese -> launch Google+ -> hangout -> menu key -> Invite(expressed chinese) click -> Google+ crash Change-Id: I0437be81699925e29bf4510eb615ef2424432763
/frameworks/base/core/java/android/app/Activity.java
|
6d9dcbccec126d9b87ab6587e686e28b87e5a04d |
|
03-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7273573: Need API to find out if activity is destroyed Also update 17.txt with all of the recent API additions. Change-Id: I21fc669267935261a741c19e22b0bf35c3a76b81
/frameworks/base/core/java/android/app/Activity.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/Activity.java
|
62bea2f1710be0d1a42c07109fd4307ded660d3b |
|
05-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Nested fragments. Change-Id: I79acc19b391352c16b06afee2ca543223c38e364
/frameworks/base/core/java/android/app/Activity.java
|
4120375d46091df8527bb701882e056fbb0e6b06 |
|
31-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Remove Binder.getOrigCallingUid(). Replaced all remaining places that used it with explicit user specification. While doing this, I ran into stuff that was creating PendingIntent objects (that now need to specify the explicit user they are for), which are also posting notifications... but have no way to specify the user for the notification. So the notification manager in the system process now also gets a formal concept of a user associated with the notification, which is passed in to all the necessary aidl calls. I also removed the old deprecated aidl interface for posting/cancelling notifications, since we now always need a user supplied. There is more work that needs to be done here, though. For example I think we need to be able to specify USER_ALL for a notification that should be shown to all users (such as low storage or low battery). Along with that, the PendingIntent creation needs to be tweaked to be able to handle USER_CURRENT by evaluating the user at the point the pending intent is sent. That's for another change, however. Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c
/frameworks/base/core/java/android/app/Activity.java
|
f1c26e2fd03e9765fde519e238fc23d4e3d06df2 |
|
23-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7016987: Unable to attach a picture in gmail/emaill composer action. Change-Id: I0c9336bb072b4622a5eab6d3ec104c4cc38e367a
/frameworks/base/core/java/android/app/Activity.java
|
98365d7663cbd82979a5700faf0050220b01084d |
|
20-Aug-2012 |
Jeff Brown <jeffbrown@google.com> |
Refactor for multi-display support. Split WindowManagerImpl into two parts, the WindowManager interface implementation remains where it is but the global communications with the window manager are now handled by the WindowManagerGlobal class. This change greatly simplifies the challenge of having separate WindowManager instances for each Context. Removed WindowManagerImpl.getDefault(). This represents the bulk of this change. Most of the usages of this method were either to perform global functions (now handled by WindowManagerGlobal) or to obtain the default display (now handled by DisplayManager). Explicitly associate each new window with a display and make the Display object available to the View hierarchy. Add stubs for some new display manager API features. Start to split apart the concepts of display id and layer stack. since they operate at different layers of abstraction. While it's true that each logical display uniquely corresponds to a surface flinger layer stack, it is not necessarily the case that they must use the same ids. Added Display.getLayerStack() and started using it in places where it was relatively easy to do. Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
/frameworks/base/core/java/android/app/Activity.java
|
4702a856973a553deb82f71b1d3b6c3db5dbf4ba |
|
18-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
More view hierarchy, fragment debugging. Add a View.toString() method. Rename all of the View private flags to have a PFLAG prefix to avoid going insane trying to figure out which constant goes with which flag. Activity.dump() now includes a summary of the activity's view hierarchy, using the View.toString() method. All exceptions thrown by FragmentManager now perform a dump of the owning activity state, where appropriate. Change-Id: I6482e397e10cb5a0612ab02ce6ed5131823437a6
/frameworks/base/core/java/android/app/Activity.java
|
0fc5b2bea09a6d320884c5b12577caf426f547c1 |
|
19-Jul-2012 |
Adam Powell <adamp@google.com> |
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
/frameworks/base/core/java/android/app/Activity.java
|
9275197d35a99c3f187d18d0eda6ead3b8a32603 |
|
19-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Add aapt support for generating proguard rules for onClick methods. Also fix Activity menu inflater when using the dark on light theme wrapper to still be able to find onClick listeners. Change-Id: Ie206db26d1df96041bc477804e476b02ad99dc9d
/frameworks/base/core/java/android/app/Activity.java
|
5320eb8938098c9824093f7f842a0a97bbc190a4 |
|
18-May-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix activity resolver, issues #6519130 and #6507239 6519130: Starting ResolverActivity with no arguments crashes system_server 6507239: ResolverActivity may bypass signature permissions Change-Id: I64534f781bc6b7eb45e85dbe3a55d351ee28e85c
/frameworks/base/core/java/android/app/Activity.java
|
3d193d92f601569bb99fe011bb6e104a492a0a71 |
|
16-May-2012 |
Adam Powell <adamp@google.com> |
Handle returning a result from automatic up navigation from another task. When navigating up from a different task, if the current activity has a result set only finish the current activity instead of trying finishAffinity. Log this so that developers know why this behavior is happening. Bug 6465336 Change-Id: Ic7cec6f0c0d5861296091e2aea9344309f5fc600
/frameworks/base/core/java/android/app/Activity.java
|
ef31e7cab57c82083c41adf2d2a056ab159a4f51 |
|
08-May-2012 |
Adam Powell <adamp@google.com> |
Fix for toggling menu item visibility outside of create/prepare menu Allow applications to transition from 0=>1+ visible menu items outside of onCreatePanelMenu/onPreparePanel. Previously, having 0 visible items at this point would require an invalidation of the options menu. Bug 6452605 Change-Id: I6cbfc46d0e5ec42b8d78ee516e9b57fdeaf1a890
/frameworks/base/core/java/android/app/Activity.java
|
07304f5299c6bccf84bd993239fbb3b87a0d46e6 |
|
08-May-2012 |
Adam Powell <adamp@google.com> |
Fix a bug in Activity Up navigation dispatching Propagate the return value from onNavigateUp as the result of onMenuItemSelected. This fixes a bug where the action bar Up nav button clicks would not be propagated to support lib FragmentActivity or other activity subclasses that rely on processing otherwise unhandled onMenuItemSelected events. Change-Id: Id879dd1756ed06b8a7b720ebf0eae2a8ddc66ca8
/frameworks/base/core/java/android/app/Activity.java
|
d0c66f6a8f15bb95648b4306d2583575d0bb9935 |
|
06-May-2012 |
Pin Ting <pinting@google.com> |
Merge "Fix javadoc." into jb-dev
|
f0195951519a5d7ce26ff2d88228af13642fc292 |
|
03-May-2012 |
Adam Powell <adamp@google.com> |
Clarify documentation about when Activity#onCreateNavigateUpTaskStack will be called. Bug 6427237 Change-Id: I5c41e4a694b39c03fd642586472838e2f9a0281d
/frameworks/base/core/java/android/app/Activity.java
|
35c064b2e895328022f7ac02587ec9bb69895c74 |
|
02-May-2012 |
Adam Powell <adamp@google.com> |
Fix documentation of Activity#navigateUpTo() to describe its actual behavior. Change-Id: I804fcef5df6f5885b47b7a1c7703ed301bea09b0
/frameworks/base/core/java/android/app/Activity.java
|
f78a8444a9b21b0d1daca8667d580dd0ec04a310 |
|
02-May-2012 |
Adam Powell <adamp@google.com> |
API modifications for TaskStackBuilder Change-Id: Ic9e11caa4541962d32b2c197f4f7b19ee67a0eda
/frameworks/base/core/java/android/app/Activity.java
|
897b1dd61063dbd41eeffa228eef9dc8e4f6b687 |
|
27-Apr-2012 |
Adam Powell <adamp@google.com> |
Use finishAffinity for automatic up navigation Change-Id: I2ac1971e82c499e8bafe13fcc113c5594c34864b
/frameworks/base/core/java/android/app/Activity.java
|
ecc5a9cca000b62d2a649b795460fd791a206a89 |
|
27-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new Activity.finishAffinity() method. It's cool! Change-Id: I9fdcd9535b7f1ca2b311d3a1b23e5d058977b095
/frameworks/base/core/java/android/app/Activity.java
|
14a9310efd936149c82ecfcc37c7c8308968f67c |
|
25-Apr-2012 |
Pin Ting <pinting@google.com> |
Fix javadoc. Change-Id: Ibbfee452cae76a379dcd360412de962e90f29da5
/frameworks/base/core/java/android/app/Activity.java
|
8f05a120c9ac8fc899317af2a947db9a49622c67 |
|
19-Apr-2012 |
Quddus Chong <quddusc@google.com> |
am 0691f70a: am 13bb0791: Merge "docs: Added missing comma in code snippet. Bug: 6322757" into ics-mr1 * commit '0691f70ad8833e9a2b042d7a56b07ad0ee561f87': docs: Added missing comma in code snippet. Bug: 6322757
|
0691f70ad8833e9a2b042d7a56b07ad0ee561f87 |
|
19-Apr-2012 |
Quddus Chong <quddusc@google.com> |
am 13bb0791: Merge "docs: Added missing comma in code snippet. Bug: 6322757" into ics-mr1 * commit '13bb0791a1cec6a678db3bd7ab23060b3bb911ae': docs: Added missing comma in code snippet. Bug: 6322757
|
3fa98cb02c8f748b82869cd784db82094e950e4b |
|
13-Apr-2012 |
Quddus Chong <quddusc@google.com> |
docs: Added missing comma in code snippet. Bug: 6322757 Change-Id: I32cbd89493287cbb5d76b59647a8ddbd59209132
/frameworks/base/core/java/android/app/Activity.java
|
aa0a453a7ae0ee1f588298bf78a8fac16b5aae38 |
|
12-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
DO NOT MERGE: Make component names visible in javadoc. Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
/frameworks/base/core/java/android/app/Activity.java
|
b990893ffc591bc7de9d5fd54dbe1707388717a8 |
|
12-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Make component names visible in javadoc."
|
5554b7082220d37496e30f39a0d9146afc177ab4 |
|
12-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Make component names visible in javadoc. Change-Id: I3770ea6616b8425c387bcd27d668e3114b14335d
/frameworks/base/core/java/android/app/Activity.java
|
162bc0ea0d7862b92f18d0ce47310a85304205f7 |
|
09-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Some small tweaks to improve memory management. We now allow processes that currently have stopping activities to be managed as if they were done stopping, so that memory trimming can be done before the process goes to the background. Hopefully this will reduce cases where the processes goes to the background and immediately gets killed, but wouldn't have had to be killed if it had a chance to trim its memory. Also change window memory trimming to always do the aggressive trimming when memory is critical, even if not on a low-end device. And tweak web view trimming to not trim for foreground UI events. Change-Id: I241b3152b52d09757bd14a202477cf69c9b78786
/frameworks/base/core/java/android/app/Activity.java
|
04d5811500874d44010df2b4ce37a0b21095168f |
|
09-Apr-2012 |
Adam Powell <adamp@google.com> |
Tweaks to Activity up navigation Be more explicit in docs about getParentActivityIntent and guard against calls when a parent has not been declared in the manifest. Move automatic up navigation to happen after dispatch of the menu selection event of id android.R.id.home to fragments. (Last.) Fixes bug 6305357 Change-Id: I944e5c40774121f9a28250d8d98da6aa646f9357
/frameworks/base/core/java/android/app/Activity.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/Activity.java
|
8078d8c8a282ca81344febe7256f63b1e805e3aa |
|
20-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new thumbnail animation. Use it for recent tasks switching. Not perfect yet by far, but something. Also fix issue #6186758: Twitter crashes after tapping on a tweet on JRM75D Change-Id: I49bf6c94aafde875ac652dedaf96d6c08cc9e7d2
/frameworks/base/core/java/android/app/Activity.java
|
9ce685b934b36cc57631e10f7c1e3609e91e3f9c |
|
16-Mar-2012 |
Christopher Tate <ctate@google.com> |
Make immersive mode public & imply update locking Activity.setImmersive(boolean) / android:immersive="bool" are now public. In addition, if the foreground activity is immersive then an update lock will be held on its behalf. This lets applications such as movie players suppress the display of intrusive notifications, OTA-availability dialogs, and the like while they are displaying content that ought not to be rudely interrupted. The update lock aspect of this mode is *advisory*, not binding -- the update mechanism is not actually constrained; it simply uses this information in deciding whether/when to prompt the user. It's more a guideline than a rule. Bug 6154438 Change-Id: Ibd3491fc437077f3fa0d9708ed91955121e8c877
/frameworks/base/core/java/android/app/Activity.java
|
7a2195cdd33f27c79eda343defc1f7ccf59cc8ac |
|
20-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Start using the new activity options argument. New class lets you make an options bundle defining a custom animation, as an alternative to Activity.overridePendingTransition(). Change-Id: I8e209bf52398a98ab9f1bcafa1ec0a580dae57c0
/frameworks/base/core/java/android/app/Activity.java
|
a4972e951bf2bdb7afdafee95b3ab0c15b8bacae |
|
14-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new "options" argument to all startActivity APIs. This will be used to allow new features to be requested... such as, say, a special kind of animation. Right now there are no options defined. Change-Id: I4eb6f27275cdd4bf186f6da316ab93a2372ad4b7
/frameworks/base/core/java/android/app/Activity.java
|
4faaed97ab331b322afeef8055d740dc7673e1b2 |
|
13-Mar-2012 |
Siva Velusamy <vsiva@google.com> |
Merge "ActivityManager: add option to allow OpenGL trace."
|
92a8b22e7410e74e1cba1b856333116652af8a5c |
|
10-Mar-2012 |
Siva Velusamy <vsiva@google.com> |
ActivityManager: add option to allow OpenGL trace. This patch adds an option to enable tracing of OpenGL functions. OpenGL tracing can be enabled by passing "--opengl-trace" option to am start. This option requires either a device in debug mode, or that the application itself has debug permission set. Change-Id: I77788bfe97c9108943b1f947ce81afe8293d78a0
/frameworks/base/core/java/android/app/Activity.java
|
f76a50ce8fdc6aea22cabc77b2977a1a15a79630 |
|
09-Mar-2012 |
Ken Wakasa <kwakasa@google.com> |
Fix obvious typos under frameworks/base/core Change-Id: Ia5fc3db1bb51824e7523885553be926bcc42d736
/frameworks/base/core/java/android/app/Activity.java
|
21c241e061de29a538008ca42df9c878184bcfb8 |
|
08-Mar-2012 |
Dianne Hackborn <hackbod@google.com> |
Add new Intent API for associating a ClipData with an Intent. Allows applications to propagate multiple URI grants through an Intent. Later on, we should probably redefine the share actions to be based on this ClipData with the old extras-based approach only there for compatibility. Even if we don't do that, though, this allows you to do a multi-select share that grants multiple URI permissions by stuffing the URIs in a ClipData. Also add some documentation in various places telling people how they can grant URI permissions. Change-Id: Id4ba8e72c11caf7e1f1f438cb7af058d1586a37c
/frameworks/base/core/java/android/app/Activity.java
|
cac15eb21cab68e5b76fe06f9aff273978c92054 |
|
04-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
Merge "docs: add developer guide cross-references, Project ACRE"
|
b54e7a3d9f60ac605f404f9eb3c5e92ca51bbd23 |
|
04-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: add developer guide cross-references, Project ACRE Change-Id: I5df1c4e13af67ff4c4a5b22f3cb1247bf0103b09
/frameworks/base/core/java/android/app/Activity.java
|
9ecebbfbf768fd63e9a6c9a09c86d81c7737ee2d |
|
29-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Add mechanism for Parcel to not allow FDs to be written to it. This is to help implement issue #5224703. Change-Id: I026a5890495537d15b57fe61227a640aac806d46
/frameworks/base/core/java/android/app/Activity.java
|
8ef6970cf5b779a5a69502cb07fd94d9190bccfd |
|
02-Sep-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: adding warning to managedQuery() JavaDoc about cursor.close() Change-Id: I31ba29f1781f7d83342582e25cf6aad0c72aa103
/frameworks/base/core/java/android/app/Activity.java
|
a5445d3bbd7985ffeeeabc3813bec3d1e0463cea |
|
01-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5039287: Listen dies on back key on ICS but not on Gingerbread Change-Id: I77c63a8c372ff7a8459a1e8cf6fd1b37f320e3ce
/frameworks/base/core/java/android/app/Activity.java
|
6c285977a0dc9605348bd9530282c7d006cbf8bd |
|
30-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issues 5158104 and 4981556 (fragment problems) 5158104: com.android.contacts: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201) The ViewPager can just commit without worrying about a state loss, since it can correctly reconstruct its state later. 4981556: Fragment.mImmediateActivity doesn't get restored on orientation change I am giving up on this thing; I just don't see how it can actually be correct. So now instead of getting an exception about a dup add/remove at point of the add/remove call, this will happen later when processing the transaction. Also add an API for controlling the visibility of menus, which ViewPager can use to have the correct menus shows. And add a method to get the name of a back stack entry. Change-Id: Idcba14cfa2a172545a7a2a2c466cb49ceb789619
/frameworks/base/core/java/android/app/Activity.java
|
62f20ecf492d2b29881bba307c79ff55e68760e6 |
|
16-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Add new am option to profile the launching of an activity. Change-Id: Ie71a8043eafe41f53a0b3dbb5170276d87acbc9b
/frameworks/base/core/java/android/app/Activity.java
|
271c2fe0eb36fbf872535bedf3ee8156e3087847 |
|
10-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
New extended Intent protcols for installing/uninstalling apps. Change-Id: I13be1cc58c91f51d521a1f0f734d2b2db7b2980b
/frameworks/base/core/java/android/app/Activity.java
|
269248d112e35fe8e9f0d5d11c96dcb2ac1118b0 |
|
02-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5098288 - Rethink the suite of new themes Cut down the list of new themes for ICS. Holo apps now have Theme.Holo, Theme.Holo.Light, and Theme.Holo.Light.DarkActionBar to choose from. Add manifest attribute android:uiOptions to express splitActionBarWhenNarrow. Other options may move into this later as well. (DialogWhenLarge?) This attribute is valid on both activity and application tags; application settings will serve as the default for activities that do not explicitly set uiOptions. uiOptions are not currently reflected in the startup window for new activities. Change-Id: Iffdc2ce4cc69f79c9bd4e541b7923286e6936c1e
/frameworks/base/core/java/android/app/Activity.java
|
c68c913d357e2955d4bd7ca52829071e531c7825 |
|
29-Jul-2011 |
Dianne Hackborn <hackbod@google.com> |
Various work on out of memory managment. - Improve how we handle processes that have shown UI, to take care of more cases where we want to push them into the background LRU list. - New trim memory level for when an application that has done UI is no longer visible to the user. - Add APIs to get new trim memory callback. - Add a host of new bind flags to tweak how the system will adjust the OOM level of the target process. Change-Id: I23ba354112f411a9f8773a67426b4dff85fa2439
/frameworks/base/core/java/android/app/Activity.java
|
45c0b1954d7dfa6e2590ed76b915a98ae971414c |
|
29-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5079507 - ICS (phone) : ActionBar tabs don't correctly resize if activity handles orientation change Make sure that bar content height and sizing/layout parameters are properly updated after a configuration change. Change-Id: I886df5cd9a655ba1bd34fab2b48e8b5be67fcc32
/frameworks/base/core/java/android/app/Activity.java
|
88ab69780f58e4b32d497266b2ad646a4d74827b |
|
28-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5087752 - Maintain correct contrast against action bars in inverse-bar themes Add the actionBarWidgetTheme theme attribute. This lets a theme specify a wrapper theme that can be used to create views that will end up in the action bar so that the rest of the code can ignore differences in contrast. (e.g. the inverse action bar themes.) Apps can use ActionBar#getThemedContext() to obtain a Context with a proper theme for views that will end up in the action bar. MenuInflaters generated by Activities will automatically use this to properly theme inflated action views. Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
/frameworks/base/core/java/android/app/Activity.java
|
d04ad541def2bca8fc2d810514ee15ab97893d35 |
|
26-Jul-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5063010: Loaders don't seem to be properly... ...retained with compatibility library Yikes, and also in the main platform...! :( Change-Id: I76ee3a9a5ba4a220c2f54d0af9cf49e3a736e7bd
/frameworks/base/core/java/android/app/Activity.java
|
27e4266a4d63f1b20c632a665e65350bb1eac681 |
|
11-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "resolved conflicts for merge of ed1a9c77 to master"
|
7b1c0f679e2fbc697a00253733c2200cd4817adf |
|
11-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of ed1a9c77 to master Change-Id: I0ecf8ca6deaee165eea3cc9012f8ae139f52ea0c
|
afc4b283fdaedec9bf32492a019b43cc33edc9b6 |
|
11-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix some problems with moving in and out of detached state. Loaders were not being re-initialized correctly when coming back (this would also impact the back stack). The ListView also wasn't working correctly, and there were also problems with simply re-using a Fragment instance after it had been removed. Change-Id: I534b091ae09c0ef7ffffe9d68049e6840e8926b3
/frameworks/base/core/java/android/app/Activity.java
|
7e442837702a6e026c73a01fedb62c222b63cfc9 |
|
11-Jun-2011 |
Jeff Brown <jeffbrown@google.com> |
Optimize StrictMode activity instance count check. This change attempts to avoid a periodic and costly 110ms explicit GC and instance count operation when StrictMode activity leak checking is enabled. Change-Id: Ia90289ac3352c01c797ab3cc25456e3db68f220a
/frameworks/base/core/java/android/app/Activity.java
|
29bf3307277973ad4d148340c20aa7b32038c8af |
|
04-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
am e826feb6: am dddd6b15: am 185e3e24: Fix when managed cursors are required. * commit 'e826feb66c2a3690716136c24926606eafe827dc': Fix when managed cursors are required.
|
185e3e243ee1da136bcace854026b8abaf0c4c86 |
|
04-Jun-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix when managed cursors are required. Only do this when we are actually restarting, not when we are just resuming after a pause. Change-Id: I32fd263917b03776efca8e096d0343107721398d
/frameworks/base/core/java/android/app/Activity.java
|
f8ac6b7394cfd37f01471bb35475ff2930eee140 |
|
24-May-2011 |
Adam Powell <adamp@google.com> |
Action bar tab layout Sync with UX on action bar tab layout behavior. Make action bar tabs behave better with configuration changes. LinearLayout now supports largest child measurement in unspecified mode. Change-Id: Id520641715a61c07e64124a0c5a70912996c98a0
/frameworks/base/core/java/android/app/Activity.java
|
ac8dea12c17aa047e03a358110aeb60401d36aa2 |
|
21-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Integrate from master: Rework display size access. Applications now get the display size from the window manager. No behavior should be changed yet, this is just prep for some real changes. Change-Id: I47bf8b55ecd4476c25ed6482494a7bcc5fae45d2
/frameworks/base/core/java/android/app/Activity.java
|
f9dd34f4d3203fd50363b3b0247c5d0db6fe2c8f |
|
20-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE: Integrate from main - Deprecate a bunch of APIs. And clean up some documentation. Change-Id: I8f06e2fc3bb6c552581b64657e82ba690d524232
/frameworks/base/core/java/android/app/Activity.java
|
ba4990c77cbc643809f1d0e74fabe5a1d1d1c3dc |
|
14-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am 71da3207: am 7d87c37b: am 6121f06e: Merge "Fix a bug where an action bar could be created when it should not be." into honeycomb-mr2 * commit '71da32074ce729fe170de2d6c348b110fb6625cc': Fix a bug where an action bar could be created when it should not be.
|
a593d9852f3807305763c3f1fe1ac5c59f1fef92 |
|
13-May-2011 |
Adam Powell <adamp@google.com> |
Fix a bug where an action bar could be created when it should not be. Change-Id: I9ca1038accdb6d0a539750ed8ab068a41612f6ae
/frameworks/base/core/java/android/app/Activity.java
|
9b4bee0f14bbd137b0797127aff2df46a6321ec5 |
|
28-Apr-2011 |
Adam Powell <adamp@google.com> |
Introducing the split action bar. Apply (or extend) the theme Theme.Holo.SplitActionBarWhenNarrow or Theme.Holo.Light.SplitActionBarWhenNarrow to enable splitting the action bar across both the top and bottom of the screen. This places the action menu along the bottom, leaving more room at the top for titles, navigation, and custom views and more room at the bottom for menu items. TODO: Refine layout of the action menu when placed at the bottom of the screen. Make action modes split as well. Change-Id: I92c91f99c533f26aecf6b828ed041386c4f16922
/frameworks/base/core/java/android/app/Activity.java
|
44bc17c6b517aef35a390c81b5aa79c4f284f744 |
|
21-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
Rework display size access. Applications now get the display size from the window manager. No behavior should be changed yet, this is just prep for some real changes. Change-Id: I2958a6660895c1cba2b670509600014e55ee9273
/frameworks/base/core/java/android/app/Activity.java
|
9567a66a5e6f49dd8495fb5f6e2efb9f32e84b35 |
|
20-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
Deprecate a bunch of APIs. And clean up some documentation. Change-Id: I7882183b3daf883b7ac6098d19f88dc7cfbcdf61
/frameworks/base/core/java/android/app/Activity.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
|
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/core/java/android/app/Activity.java
|
e3a7f628c6d9fef42be24999b3137ebe5c6f3525 |
|
04-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix Fragment.onInflate() to actually work correctly. Like, um, it needs to be given the Activity since this is called before the activity is attached. And it was called after the entire fragment and its *view* was created when being restored from saved state. And the documentation was whacked. Also fix the IME selector to dismiss when you tap outside of it. Change-Id: Icbcafe7558965a570bdef9cda3441b1f0f7a317c
/frameworks/base/core/java/android/app/Activity.java
|
606ecf3e9f27c8f69a398ea4d83d842df50d094f |
|
02-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #3495749: Crash on choosing to open the downloaded images"
|
ce418e661ab52a08a2a2c3b2f10a4dd9adf33305 |
|
01-Mar-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3495749: Crash on choosing to open the downloaded images This is due to the window doing a relayout after its activity is stopped, at which point it may need to interact with the adapter to load data. The fix here is to tell ViewRoot about an activity being stopped and, if in this state, hold off on doing any new measurements and layouts of the hierarchy until it is no longer stopped. In this case the relayout was happening due to the cursor being deactivated, with causes the adapter to invalidate its data. Because this is now in a dialog window, this allows the window to actually be resized smaller (unlike when in a full screen activity), and boom. Change-Id: I26442b4679819b4a4e6bc56289afd3445526750b
/frameworks/base/core/java/android/app/Activity.java
|
763cbb134f40fa1e555c0a945a2a651f69193505 |
|
01-Mar-2011 |
Adam Powell <adamp@google.com> |
Fix a bug where the lazy-initialized ActionBar object was being too lazy. Change-Id: I80dc06deffd1df8cc8ae96fd878d66a101a17086
/frameworks/base/core/java/android/app/Activity.java
|
33bbfd2232ea9eaae9a9d87a05a95a430f09bd83 |
|
25-Feb-2011 |
Jeff Brown <jeffbrown@google.com> |
Add support for mouse hover and scroll wheel. Dispatch ACTION_HOVER_MOVE and ACTION_SCROLL through the View hierarchy as onGenericTouchEvent. Pointer events dispatched this way are delivered to the view under the pointer. Non-pointer events continue to be delivered to the focused view. Added scroll wheel support to AbsListView, ScrollView, HorizontalScrollView and WebView. Shift+VSCROLL is translated to HSCROLL as appropriate. Added logging of new pointer events in PointerLocationView. Fixed a problem in EventHub when a USB device is removed that resulted in a long stream of ENODEV errors being logged until INotify noticed the device was gone. Note that the new events are not supported by wallpapers at this time because the wallpaper engine only delivers touch events. Make all mouse buttons behave identically. (Effectively we only support one button.) Change-Id: I9ab445ffb63c813fcb07db6693987b02475f3756
/frameworks/base/core/java/android/app/Activity.java
|
5c40f3fcc966ecde3347cd7ddbe965440318c35a |
|
15-Feb-2011 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Fix typo. Change-Id: I32bbe182d51d5fe0289c8939fbadb57336ddd98a
/frameworks/base/core/java/android/app/Activity.java
|
a1ea2c8457e860ba0637d95dfc2076e77d8f2fe3 |
|
09-Feb-2011 |
Adam Powell <adamp@google.com> |
Merge "Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called before first layout"
|
50efbed668a9410cdec51f7c8604fa44ed267fed |
|
09-Feb-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3345948 - ActionBar.show()/hide() shouldn't animate if called before first layout Enable/disable the action bar show/hide animation as part of the activity/dialog lifecycle. This allows apps to set action bar visibility state as the activity first becomes visible or returns to visibility without the associated animation. Change-Id: I85ff9268d2cb2c8fcd3364dd275597fe90529224
/frameworks/base/core/java/android/app/Activity.java
|
121370d25c7c7113fb7913ab90f45c667b26af57 |
|
09-Feb-2011 |
Scott Main <smain@google.com> |
am 3c565377: am b508d6e2: Merge "docs: fix links to revised fundamentals documents" into honeycomb * commit '3c5653773d6b48f27aa52d746a7a6f8728d5ba36': docs: fix links to revised fundamentals documents
|
7aee61f5a96e94e158bf5ad3d8e192c4d4f7eff6 |
|
08-Feb-2011 |
Scott Main <smain@google.com> |
docs: fix links to revised fundamentals documents Change-Id: Ie2a660cce1d00f924c9fde5c6a00776307e5e1c7
/frameworks/base/core/java/android/app/Activity.java
|
b2abd8c424a68eb6a5e3615a99f66c0bd46e6063 |
|
30-Jan-2011 |
The Android Open Source Project <initial-contribution@android.com> |
Mass merge from gingerbread - do not merge Change-Id: I45dc3596bf4211d8f91c64f2d1d00588878df629
|
f2a8b3c450f0570c1ad0ee6e0fae3cfb85bfb4de |
|
28-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 8691b724: am 10e4148b: Merge "Fix issue #3291173: Problem report for NewsRoom - RSS News Reader" into honeycomb * commit '8691b7243d40d5ef0ab94b8d5f204635d36bf1c4': Fix issue #3291173: Problem report for NewsRoom - RSS News Reader
|
8691b7243d40d5ef0ab94b8d5f204635d36bf1c4 |
|
28-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 10e4148b: Merge "Fix issue #3291173: Problem report for NewsRoom - RSS News Reader" into honeycomb * commit '10e4148b62c9bfed945c1bcea9dd5eea2a17b0d0': Fix issue #3291173: Problem report for NewsRoom - RSS News Reader
|
420829ef78c5d86e470fc445279c7c10be6b5dbe |
|
28-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3291173: Problem report for NewsRoom - RSS News Reader The framework had started using the LayoutInflator's factory for itself, which breaks apps that want to use it. Add a hack for the framework to insert its own private factory. Also fix a deadlock in the system process. Change-Id: Iaf80186a5d7e4029faf89e968e184abdaabe514a
/frameworks/base/core/java/android/app/Activity.java
|
7ef536ad2e817e4cf81127f2dbf1f13b386beff4 |
|
27-Jan-2011 |
Jeff Hamilton <jham@android.com> |
resolved conflicts for merge of 52d3203e to honeycomb-merge Change-Id: Icb56943bc4cd6a93e4e2ff13fd2be6e5b7ca161b
|
e3e6a157dff68d17d274fc2196b0675bd3d0258f |
|
22-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 8a0f1756: am 5503d803: Merge "Fix issue #3377999: Activities need to be stopped when sleeping" into honeycomb * commit '8a0f17560080077b972c97bf9d5b68961f148fe3': Fix issue #3377999: Activities need to be stopped when sleeping
|
8a0f17560080077b972c97bf9d5b68961f148fe3 |
|
22-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 5503d803: Merge "Fix issue #3377999: Activities need to be stopped when sleeping" into honeycomb * commit '5503d803ecee63d417128d3849717b59b971fc08': Fix issue #3377999: Activities need to be stopped when sleeping
|
4eba96bb314d8ff773ea33d6cb3179f25751ecce |
|
21-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3377999: Activities need to be stopped when sleeping This is a band-aid over the existing kludgy stopping mechanism where the semantics of stop are different in the activity manager than in the clients. This change is intended to be as unobtrusive as possible, only impacting the sleep case. I have a different change that completely reworks how we stop activities to simply this all a lot by unifying the semantics between the server and client. However, it is too late in HC for such an extensive change. Later I'll revert this one and put in the better solution. Change-Id: Id77f2db1ec83469cdd888acb8fbc4679daa7766e
/frameworks/base/core/java/android/app/Activity.java
|
9e9d886b272181cfc101ef6d49019dabf550a882 |
|
21-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 7204528e: am 9358bd39: Merge "Fixes for StrictMode instance count checking." into honeycomb * commit '7204528e71145e34bedd6cfb13110eb872d8a968': Fixes for StrictMode instance count checking.
|
7204528e71145e34bedd6cfb13110eb872d8a968 |
|
21-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 9358bd39: Merge "Fixes for StrictMode instance count checking." into honeycomb * commit '9358bd39dc8829ef8413294da70d44cd928ca878': Fixes for StrictMode instance count checking.
|
5f8b5c191cae77f536ee64f0b625e4a7f8596787 |
|
21-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
Fixes for StrictMode instance count checking. Misc stuff found after looking at the first day of data, Jesse's review, and comments from Dianne about tracking Activity counts better. Change-Id: Ifee1ef8f59f41061d4aac8c02765627dbf3cd8e4
/frameworks/base/core/java/android/app/Activity.java
|
e23cae2335c217191ec35e5c9f3ec296f877145a |
|
20-Jan-2011 |
Romain Guy <romainguy@google.com> |
am 1eaac21e: am 68c56a51: Merge "Documentation fix." into honeycomb * commit '1eaac21e6f4056fd582a7e58fb9a553f37f7820a': Documentation fix.
|
1eaac21e6f4056fd582a7e58fb9a553f37f7820a |
|
20-Jan-2011 |
Romain Guy <romainguy@google.com> |
am 68c56a51: Merge "Documentation fix." into honeycomb * commit '68c56a51b32b5f5322c4f0f7dbba918712ad6473': Documentation fix.
|
482b34a6f8aebe620cf815cdc689726ef5cf437e |
|
20-Jan-2011 |
Romain Guy <romainguy@google.com> |
Documentation fix. Activity's documentation wasn't clear on what would happen when calling setContentView(View). Change-Id: I37be6565ba897694460c80a39562346293faa8ea
/frameworks/base/core/java/android/app/Activity.java
|
28d5206519b1c14553a745cc1f4f5df98fa3176a |
|
20-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am bd80a12c: resolved conflicts for merge of 9240f16d to honeycomb-plus-aosp * commit 'bd80a12cba480a0dbb2e9073f35c758d8b396b94': StrictMode: class instance limits (track object "leaks")
|
bd80a12cba480a0dbb2e9073f35c758d8b396b94 |
|
20-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of 9240f16d to honeycomb-plus-aosp Change-Id: I6e595bb11a5a692ccd730b9d1d2aa367063a61f5
|
bfbe5771106a07f9c8e8685e402b1003db40526f |
|
19-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
StrictMode: class instance limits (track object "leaks") Change-Id: I2db5a19060c2013078feb88a91caf655469b2f98
/frameworks/base/core/java/android/app/Activity.java
|
7fc5d4b8e7145413411da3320495388f09fab536 |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 2ec5a716: am 36c84403: Merge "Fix issue #3362484: Can\'t dismiss activity picker by tapping outside dialog" into honeycomb * commit '2ec5a7160b3d32887b2428edef7a751ee3700809': Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
|
aef99bbc696974af436c0987492cbd7a57c693d1 |
|
19-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 7adf8481: am b4f655d5: Merge "StrictMode class instance limit interface." into honeycomb * commit '7adf848183b39ac4d0b8b67435ace94909ca3076': StrictMode class instance limit interface.
|
2ec5a7160b3d32887b2428edef7a751ee3700809 |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
am 36c84403: Merge "Fix issue #3362484: Can\'t dismiss activity picker by tapping outside dialog" into honeycomb * commit '36c84403ec07439d11ed284ac5f9a9db807fbf92': Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog
|
36c84403ec07439d11ed284ac5f9a9db807fbf92 |
|
19-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog" into honeycomb
|
cfaf8878de83b6bb7a24aee3c240259f428e6e4a |
|
18-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3362484: Can't dismiss activity picker by tapping outside dialog Change-Id: Idc2fe5a86c61e8f94fe9d902a0087a05f6f7918e
/frameworks/base/core/java/android/app/Activity.java
|
7adf848183b39ac4d0b8b67435ace94909ca3076 |
|
18-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am b4f655d5: Merge "StrictMode class instance limit interface." into honeycomb * commit 'b4f655d5912869078cb7be29d108ebfea06019fc': StrictMode class instance limit interface.
|
758035757f11a085a12b54daa9467f1d6bb251ef |
|
13-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
StrictMode class instance limit interface. Change-Id: Ic5eea539586e5d4965d83364bf9f623d1d89f2b1
/frameworks/base/core/java/android/app/Activity.java
|
cb1404e45639d20439d7700b06d57ca1a1aad1fa |
|
16-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Add joystick support to framework. Change-Id: I95374436708752e1a9cff3f85c5b9bc3e0987961
/frameworks/base/core/java/android/app/Activity.java
|
93ec68e6a9ef0c6031db506dbd035a7ade6350ad |
|
14-Jan-2011 |
Jeff Hamilton <jham@android.com> |
resolved conflicts for merge of 06bb3aef to honeycomb-plus-aosp Change-Id: Ia7071ca07d917bd79e7697f4b0c0640ebb5f6a6f
|
52d3203ef69d4babbc4dd030a15c08c0b8d1d226 |
|
08-Jan-2011 |
Jeff Hamilton <jham@android.com> |
Add dispatching overrides for foreground apps. Apps can register to override the default dispatching but only when they're in the foreground. Change-Id: I8e9a9254d3f79f097fb3c8c677d806043574ba4d
/frameworks/base/core/java/android/app/Activity.java
|
247fe74c934cb3fba85aae7e051a8044f460fb11 |
|
09-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Implement issue # 3255887 could CursorLoader offer... ...to throttle contentobserver-based requeries Why yes, I guess it could. This also reworks AsyncTaskLoader to not generate multiple concurrent tasks if it is getting change notifications before the last background task is complete. And removes some of the old APIs that had been deprecated but need to be gone for final release. And fixes a few little problems with applying the wrong theme in system code. Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
/frameworks/base/core/java/android/app/Activity.java
|
64da12ab1f472e01325b6c6d094153ac110eaf7b |
|
05-Jan-2011 |
Jeff Brown <jeffbrown@google.com> |
Add dispatch key shortcut window callback. Enables Activities and Dialogs to implement key shortcut behavior. Useful for global key shortcuts that are not bound to the focused view or to a menu. Change-Id: If377d20b227ee1c5cac84c47c9630b2d77f67e2c
/frameworks/base/core/java/android/app/Activity.java
|
4f3867e3ce92101224ad79b8f2ff446bb4f99108 |
|
15-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Time to remove some old APIs! Change-Id: I73ca23b0d5c7971a00dfa05357f9b630d9b6ebc8
/frameworks/base/core/java/android/app/Activity.java
|
30d7189067524000c738c188c4ff91f84f474d25 |
|
11-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3274841: Orientation change problem with a paused activity Plus a bunch of debug output improvements. And some new Intent helpers for dealing with restarting an app. Change-Id: I50ec56bca6a86c562156b13fe8a6fdf68038a12e
/frameworks/base/core/java/android/app/Activity.java
|
9d0718042f7c0a50d825c621f82ce9a92071f07a |
|
08-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issues #3257701 and #3267312 3257701 Preference headers have duplicated "title" and "summary" if title is not loaded from a resource 3267312 Fragment.onConfigurationChanged doesn't get called Change-Id: I76e346ba88aa632ebb9aa413a2ce2645ebf357cd
/frameworks/base/core/java/android/app/Activity.java
|
0aae2d4e0075fd699cf40b26dca0eb2c3b3e37d2 |
|
08-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Rework activity lifecycle so onSaveInstanceState() is after onPause(). The goal is to fix a bunch of fragment-related bugs caused by various things trying to do fragment transactions after onPause()... which currently throws an exception, since this is after the activity's state has been saved so the new fragment state can be lost. The basic change is relatively simple -- we now consider processes hosting paused or stopping activities to be unkillable, and the client code now does the onSaveInstanceState() as part of stopping the activity. For compatibility, if an app's targetSdkVersion is < HONEYCOMB, the client side will still call onSaveInstanceState() prior to onPause() and just hold on to that state until it needs to report it in once being stopped. Also included here is a change to generate thumbnails by taking screenshots. The code for generating thumbnails by re-rendering the view hierarchy is thus removed. Change-Id: Iac1191646bd3cadbfe65779297795f22edf7e74a
/frameworks/base/core/java/android/app/Activity.java
|
049dd3d4a4869e0c65d370e2538fcfb55bacef52 |
|
02-Dec-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3248786 - silly monkeys. Change-Id: I41306cae06a7b4fd3852e0760ae668c8d6eacc5d
/frameworks/base/core/java/android/app/Activity.java
|
30c9bd89556137157b2f686637ece961454ccabe |
|
02-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #3189564: New API to create an activity. Change-Id: I7aef83324d653130eb3b2a148ba089d7347e6ba6
/frameworks/base/core/java/android/app/Activity.java
|
8515ee846bd76aee86ec5ddfcc4dd1e626dd999c |
|
30-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix bug 3240444 - add OnMenuVisibilityListener for action bar. Fix bug 3180015 - leaking window handles on configuration change for action bar dropdown menus Rename ActionBar.NavigationCallback to something more consistent with the rest of the API. Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
/frameworks/base/core/java/android/app/Activity.java
|
621e17de87f18003aba2dedb719a2941020a7902 |
|
23-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #3221502: New APIs to support new back stack / task navigation What this adds: - A new Intent activity flag to completely replace an existing task. - A new Intent activity flag to bring the current home task up behind a new task being started/brought to the foreground. - New versions of startActivity() that take an array of Intents to be started, allowing applications to start a task in a specific state. - A public moveTaskToFront() method on ActivityManager, with a new flag that allows the caller to have the task moved to the front with the current home task immediately behind it. Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8
/frameworks/base/core/java/android/app/Activity.java
|
3a57fb9e9c4f205ca6bd4f036b3080f92588d16d |
|
16-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3191573: PreferenceFragment.onActivityResult cannot launch a new fragment on the same call. There were some problems with the API design where you could do things in such a way that a back stack entry that was not at the top would get popped. Ouch. Hopefully this change prevents that from being able to happen. Change-Id: I8cbc952e12ddd231ff6c84b6e9bbf5125f449f04
/frameworks/base/core/java/android/app/Activity.java
|
debf3bed9ea913ac55c80e1f9f7f33217054a943 |
|
16-Nov-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2948913 - provide lifecycle notifications for action modes Change-Id: I432e29a7bddb18bc32dfbe21a8ecd7d83158e3a0
/frameworks/base/core/java/android/app/Activity.java
|
e71df8fa166eb2de7fcdecc14d958d3e3b796531 |
|
28-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am 96abb48d: am aa93bcd6: Fix issue #3138926: App\'s preferences can be lost after onPause()
|
aa93bcd62482719c146a411008e1eac94135b6a4 |
|
27-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3138926: App's preferences can be lost after onPause() Change-Id: Icea3d37fab5e47c89c5cbc0adff7bbec898fa93e
/frameworks/base/core/java/android/app/Activity.java
|
fb3cffeb35368da22f99b85d45039c4e6e471c06 |
|
26-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3130426: Finsky crash in switching from window carousel Need to note that we no longer have saved state before delivering results or new intents to an activity. Also do some work on loaders to prevent apps from making fragment changes as a result of receiving loader data. This makes apps consistent crash in a case that they would previously sometimes crash (if they got the loader data after onPause). Change-Id: I46e9e46d0aa05d9d7d6a275a2a488a18a20a5747
/frameworks/base/core/java/android/app/Activity.java
|
d7dccd26115851c49c91db204f88db7a7973b2f6 |
|
09-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
am 55f1b0b8: am 9d6824cd: Merge "Make Activity.removeDialog() less strict." into gingerbread Merge commit '55f1b0b82f0d9f6d43b9b2e246d9de0c810e7a7f' * commit '55f1b0b82f0d9f6d43b9b2e246d9de0c810e7a7f': Make Activity.removeDialog() less strict.
|
a1b0d6966e45e847aa47cc35eac8ea4e624d6a99 |
|
08-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of efa4f7f8 to master Change-Id: I00dff76594326a6f6e69515a9cba673602ed269d
|
d2ce8bbb84607b1f456b9af00d8d7b84a4610a79 |
|
07-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Make Activity.removeDialog() less strict. It was extremely annoying not being able to do this. Change-Id: I9a13b4fdd984a5e9d8f9ac49c7ede218c4481c2b
/frameworks/base/core/java/android/app/Activity.java
|
3c4c2b7e6f0674068d13b42d4dcf0fd009df0c49 |
|
06-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #3001368: API REVIEW: android.app.Activity Bye bye, lots of junk. Change-Id: Idd72fc525851277362b2a1ff3bb0f7865fe655fd
/frameworks/base/core/java/android/app/Activity.java
|
625ac271f80777668f832a344486a6fcdc06d0ae |
|
18-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Work on fragments in layouts. - Change semantics if IDs associated with these fragments, to work correctly when placed in a container. If the container has an ID or you have supplied a tag, the fragment's ID is optional. - To do this, there is a new LayoutInflater API that allows code creating views to access the parent container that view will be in. - Fix issues with state management around these fragments. Now correctly retains state when switching to a layout that doesn't include the fragment. Also: - Add new simple list layouts for items that want to show an activated state. - Add new Activity.dump() that can be invoked with adb shell dumpsys; the default implementation dumps fragment state. Change-Id: I192f35e3ea8c53fbd26cf909095f2a994abfc1b6
/frameworks/base/core/java/android/app/Activity.java
|
48a781a0a5f83da7c81cf0e7230151a751740a09 |
|
21-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
am 4b187e80: am 8e1b84e7: Merge "Some battery improvements:" into gingerbread Merge commit '4b187e804fdfdbc825e17646e82e0218e316a339' * commit '4b187e804fdfdbc825e17646e82e0218e316a339': Some battery improvements:
|
ce2ef766cad1bb186ea522f76c4ac6a8bb3dfa87 |
|
20-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Some battery improvements: - New API for iterating over history that will allow a better implementation in the future. - Now do writes asynchronously. Also improve the documentation for Activity.onRetainNonInstanceState(). Change-Id: Idf67f2796a8868eb62f288bcbb2bad29876c8554
/frameworks/base/core/java/android/app/Activity.java
|
a21e3da55940e239addd80bf379091a1d85d006f |
|
13-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2967969: Crash rotating screen on "delete account" dialog - Have PreferenceActivity save and restore its header state. - Keep track of the current header selection. - When headers are updated, try to retain the current header selection. Also fix issue #2995541: Cannot add new contact. We were not allowing fragment transactions in some cases. Change-Id: I4aa4c703ed5f4ecf9f425cd7eeea4740c6360ce9
/frameworks/base/core/java/android/app/Activity.java
|
3e449ce00ed2d3b271e50bc7a52798f630973bf1 |
|
12-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Some fragment stuff: Fix issue #2975886: Make getTargetFragment() survive rotation events with retained fragments. We now fix up the fragment pointer when restoring state. Fix issue #2919928: In PreferenceFragment, addPreferencesFromResources() is not effective when called after onActivityCreated(). Note to self: do not use a what code of 0. Maybe that should be documented (I'll do it in gingerbread). Hopefully implement #2992753: DialogFragment.dismiss will NPE if called too soon (before attached to activity). We now keep track of the FragmentManager separately from the activity, and set that as soon as the fragment is part of a transaction. Investigate issue #2988876: NPE when device orientation is changed. The NPE is because of the app trying to do a fragment transaction in onPause(). This is fundamentally not viable, since (a) the activity will be gone before we ever have a chance to process the message to commit the transaction, and (b) even if we did try to commit the transaction earlier, this would be done after onSaveInstanceState() and thus not work in cases where the activity gets killed in the background. So instead, we'll just throw an immediate exception if you try to do this. Change-Id: Iea62b50eb79f066af2471fce86836d073398f4f7
/frameworks/base/core/java/android/app/Activity.java
|
a14c8e0c67223fdc9a0746b370ae594a92530e78 |
|
04-Sep-2010 |
Romain Guy <romainguy@google.com> |
Bring back instances counts to dumpsys meminfo. Change-Id: Idd846e137e8e87cb93551ba13751df60a8046eed
/frameworks/base/core/java/android/app/Activity.java
|
8f5edc93b622bbdc33db24d348480fd7d55afb41 |
|
02-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
am 840f0fec: am d3efa392: Clean up some permissions. Merge commit '840f0fecd87357cadf4b2a0ae96d30b457f89729' * commit '840f0fecd87357cadf4b2a0ae96d30b457f89729': Clean up some permissions.
|
d3efa3924407da6d38aa5931ac29aa088d9eb986 |
|
02-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Clean up some permissions. Note that WRITE_OWNER_DATA and READ_OWNER_DATA don't actually appear to be associated with anything or used by anyone, so they are just deleted. Also deprecate the activity API to go in the foreground. I didn't realize that was released in the SDK. It needs to go away. Change-Id: I96f53702c2c79e4999b6b2c498abb770bd27e03a
/frameworks/base/core/java/android/app/Activity.java
|
d02bdaab495641ab50e2123fdfd99a819cc40540 |
|
26-Aug-2010 |
Daniel Sandler <dsandler@android.com> |
Remove experimental immersive mode support. DO NOT MERGE Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
/frameworks/base/core/java/android/app/Activity.java
|
7f7ce40f90cf00dc046fb9520d77d29e96b474d6 |
|
28-Aug-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of 28130bae to master Change-Id: I13df8dc12092c3d2536e12216df9130d5914380a
|
41bfa37cb2ca244432061bddb1c8bf802545ae6e |
|
27-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 409b7120 to master Change-Id: I1741e205b5ff5ae62a38ab3b096bcc3d96883538
|
333b8cba996c8ebb8ca55ebfc5cc536bdd64af94 |
|
26-Aug-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
SharedPreferences$Editor.startCommit() Adds a fire-and-forget save method (startCommit) to the SharedPreferences.Editor, which is the way most people use it anyway. This commit adds the implementation. The previous commit added the interface and docs: previous change: Idf9934b445da1fb72b79f0192218b47c0a7f5a34 git commit: edf32d01316bd3432c023f17747461b08ae36375 In addition, this change: -- adds a generic "runPendingWorkFinishers" mechanism to ActivityThread to wait on async operations that are still in flight and use it for this. -- ties runPendingWorkFinishers into Activity.onPause, BroadcastReceiver, and Service. -- makes sSharedPreferences keyed on name, not File, to avoid unnnecessary allocations -- documents and guarantees what thread OnSharedPreferenceChangeListener callbacks run on -- makes a few things in frameworks/base use startCommit(), notably Preference.java (which was ignoring the return value anyway) Change-Id: I1c8db60ad45643226fe6d246d3e513eeb7bd0ebd
/frameworks/base/core/java/android/app/Activity.java
|
6ed50de6d1e5e27d11304cce226fefeee3105bd7 |
|
25-Aug-2010 |
Jason parks <jparks@google.com> |
Deprecated the managed cursor API's on Activity. Loaders are the new world order. Change-Id: I0c7d403e9e6c0fcdf6fea886d8c284341e2f6c88
/frameworks/base/core/java/android/app/Activity.java
|
02486b1327e3007c62d253dd89ba9db1852b87f8 |
|
26-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Hide heavy-weight API. And give it a better name, for when it is later un-hidden. Change-Id: Iae0d3054d44f873b9f953bc41d175a47802a185e
/frameworks/base/core/java/android/app/Activity.java
|
cf44040d93396e285fd064b1d452da249fea27f0 |
|
25-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of d3cd2596 to master Change-Id: I61a37a3be8b8115b225da272903ca917c33ae4a6
|
e794e9f9b7599c1ad6b8760e601c81b19ecc80c6 |
|
24-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Verify that onPause() calls its superclass. Change-Id: Ibf48992b4445bfc726ade307aad26f3e9577c5fb
/frameworks/base/core/java/android/app/Activity.java
|
291905e34a7f0ae03c68fb2c1b8c34b92d447fbf |
|
18-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Maybe fix #2925641: calling onCreateOptionsMenu before attached activity Also add some APIs to PreferenceActivity. Change-Id: I85894a3eb9cd3e5adb78b82e85454c0d74773178
/frameworks/base/core/java/android/app/Activity.java
|
def1537e9e8d0dd190cde5310ddae8b921088c9b |
|
15-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
More fragment work: - Introduce FragmentManager as a public API, deprecating the fragment APIs on Activity. (They will be removed soon.) - Add APIs to write a fragment reference to a bundle and later retrieve it. - Add Fragment API to set another fragment as its target, for delivering results. - Change when onInflate() is called and formalize its meaning in relation to the fragment arguments that were previously introduced. - Change onDestroyView() to always be called, regardless of when onCreateView() returns. It now also is called slightly differently, after the view hierarchy's state is saved. - Fix some issues with DialogFragment's lifecycle with its associated Dialog and state save/restore. - Preference can now have a Bundle associated with it to provide arguments to a fragment. The data for this Bundle call be supplied via <extra> tags under a PreferenceScreen. - PreferenceActivity's header XML tags are now <preference-headers> and <header>, and you can supply <extra> tags under a <header> to set arguments for the header's fragment. Change-Id: I22c212c9fa862d50840201ca16e51f9de5ef0031
/frameworks/base/core/java/android/app/Activity.java
|
b7a2e4772220c4b41df1260cedaf8912f4b07547 |
|
13-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Fragment and PreferenceFragment and FragmentManager, oh my! - Introduce FragmentManager public API, for all Fragment management needs. Will in the future allow the removal of the (growing number of) fragment APIs on Activity. - Fragment now has a concept of arguments. This can be supplied immediately after creation, and are retained across instances. - PreferenceActivity now has an API to have it update its headers (note not tested). Headers now have arguments. Keys for controlling when PreferenceActivity shows at launch have been added to the SDK. - Fixes to back stack handling and state saving/restoring. Change-Id: Ib9d07ae2beb296c4eb3a4d9e1b3b59544675e819
/frameworks/base/core/java/android/app/Activity.java
|
2cceaaae3480254bc72708ce01ca3870e2dbe863 |
|
12-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix back popping the back stack too much. Change-Id: I18a3d0f3546e51411771d49a68a97108e00b1cea
/frameworks/base/core/java/android/app/Activity.java
|
42c0fe86521af507f597af6159f63879cb5be73e |
|
11-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2908851 - ActionBar does not get initialized if set/addContentView is never called. Fix bugs around lazy initialization of ActionBar in Activities. Change-Id: I39a4216a7f6b0051adc4a669b8f921f94148e1db
/frameworks/base/core/java/android/app/Activity.java
|
9b4c804b9856d732e461bc7505d40aa4ea1f7bf7 |
|
11-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix bug 2908823 Change-Id: Ia20d47ff4e2a09cc0e1ac47cd02a5f152f57073c
/frameworks/base/core/java/android/app/Activity.java
|
6dd73b45a4b21eba4d1035346cc7870bb01ab621 |
|
06-Aug-2010 |
Adam Powell <adamp@google.com> |
Fix some lifecycle issues with populating the action bar's menu Change-Id: I5f63df3260392b09fbb7120986702d01dac5906c
/frameworks/base/core/java/android/app/Activity.java
|
5e0d59547c4042037e23a42ba4e2521721e9c7d3 |
|
05-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix some Loader bugs. - Weren't re-attaching to the current loader manager after retaining instance state. - Ensure loaders are being destroyed. - Fix a bug if you call restartLoader() inside of onLoadFinished(). Change-Id: I89df53db49d8e09047bf55216ebeb0f133c059e7
/frameworks/base/core/java/android/app/Activity.java
|
a7dd5eab33d1a87135ae5bd40a02f2e3c564f5de |
|
04-Aug-2010 |
Vasu Nori <vnori@google.com> |
requery() return value should be checked if not checked and if the cursor continues to be used, it will result in bug:2529736 Change-Id: I920f665643561374c2211acded6cc31fa8931909
/frameworks/base/core/java/android/app/Activity.java
|
529b60a3b16ac3dff24f2403d760ab8ebc9670ff |
|
04-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add android:hardwareAccelerated to Activity. Hardware acceleration can now be enabled/disabled locally on each activity declared in the manifest. It can also be enabled/disabled directly on a window through the WindowManager.LayoutParams. Change-Id: I91dd0b26c4e7eb8cd7288e523ed6b7bda6d0990b
/frameworks/base/core/java/android/app/Activity.java
|
b3cf10ffa8ff9cac0da8b23a0d84076b3f501400 |
|
03-Aug-2010 |
Dianne Hackborn <hackbod@google.com> |
Add facility to switch to new fragments from preferences. Change-Id: I009315b59cf81b4962e9c5a4490f0f82743ed64a
/frameworks/base/core/java/android/app/Activity.java
|
5d27977f9da482627ceb19317a2cd70467aff046 |
|
28-Jul-2010 |
Adam Powell <adamp@google.com> |
Action modes without action bar Change-Id: I0367ab35e598a17980bd373b30828175f6283acc
/frameworks/base/core/java/android/app/Activity.java
|
005cb6de0727c0b03b92d32f153d8b81caeab8f0 |
|
27-Jul-2010 |
Jean-Baptiste Queru <jbq@google.com> |
Fix build Change-Id: Iac31df396eaadd711088c149e4f7b616ff599a29
/frameworks/base/core/java/android/app/Activity.java
|
6e34636749217654f43221885afb7a29bb5ca96a |
|
23-Jul-2010 |
Adam Powell <adamp@google.com> |
Moved context modes into view, renamed to action modes ContextualMode renamed to ActionMode. Adds a reference to the action bar and reduces confusion around things named "Context". Change-Id: Ia5098b1d0799a0ece0810c34e6696eda039fb005
/frameworks/base/core/java/android/app/Activity.java
|
7cd83428f196c0474d12687c718d3f16bf620a49 |
|
23-Jul-2010 |
Ben Komalo <benkomalo@google.com> |
Ensure that creating a Loader/LoaderManager after the Activity has started will kick off startLoading() as expected. Change-Id: I8ec76d39665aab0dc72fb083b6b3751a45b51fce
/frameworks/base/core/java/android/app/Activity.java
|
dd913a50cd72d6dd23c4ea437f0ebe2be05ca2e8 |
|
22-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Add new DialogFragment class. For all your Dialog needs. Change-Id: I36c602ca253488d34a55c8f0be610b9752c33264
/frameworks/base/core/java/android/app/Activity.java
|
ac695c608ba620e2362f57126d7be453cf5b7e1b |
|
21-Jul-2010 |
Adam Powell <adamp@google.com> |
Refactored contextual modes out of action bar. Change-Id: I1fc1c9383e5ee90f135b92a5afa8eadbf1c13d20
/frameworks/base/core/java/android/app/Activity.java
|
4911b783aa9f4af5ac919db861751d350471f5ef |
|
15-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix bug where loader listener would be registered twice. Also change LoaderManager to an interface. Change-Id: Ife6d123e56cc6f63b6fe902afac35b2673761e60
/frameworks/base/core/java/android/app/Activity.java
|
839458d8d4dbf44cd1778a23471cf8f948a2012c |
|
15-Jul-2010 |
Jim Miller <jaggies@google.com> |
resolved conflicts for merge of e03952c0 to master Change-Id: I414d934101d452a2c2500e539f0b0aff1e1b3ff0
|
9e14e9f33a66b864b98c6ff9517988bafbca3301 |
|
14-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix fragment index expunging. Change-Id: If37e58dfa998575530305584d3aa756bb5a61d7b
/frameworks/base/core/java/android/app/Activity.java
|
0b2a6d0773211449fbde9d2706388714beeffebb |
|
14-Jul-2010 |
Jim Miller <jaggies@google.com> |
Fix 2797185: Re-enable thumbnail generation in framework This re-enables thumbnail generation code in the framework with a few improvements. In addition to enabling the system to capture thumbnails, it removes padding from the borders to account for space overlapped by system widgets (status bar, etc.). Thus, the contents of the bitmap are only those pixels unique to the activity. It also maximizes resolution of the bitmap by capturing the image in the application's current orientation. In landscape mode, it captures a bitmap with dimensions w x h. In portrait, it captures a bitmap with dimensions h x w. Where w and h are thumbnail_width and thumbnail_height as defined in dimens.xml. Though enabled, the change is not currently used in this branch. The work is being checked in here to avoid complicated downstream merges. Change-Id: Ifc8a4e0075d7d0697d8159589be3816ace31d70c
/frameworks/base/core/java/android/app/Activity.java
|
2707d6026240bcca6f0e35e2e1138958882e90ce |
|
10-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement instance passing in LoaderManager. Activity now propagates loaders across instances when retaining state. Adjusted APIs to make it better for apps to deal with this. Change-Id: I8a6448cff1132e66207f9223eb29ccfc0decf2ca
/frameworks/base/core/java/android/app/Activity.java
|
c801768e4d29667a2608695449ebc2833ba0f200 |
|
06-Jul-2010 |
Dianne Hackborn <hackbod@google.com> |
Integrate Loader support in to Activity/Fragment. Introduces a new LoaderManager class that takes care of most of what LoaderManagingFragment does. Every Fragment and Activity can have one instance of this class. In the future, the instance will be retained across config changes. Also various other cleanups and improvement. Change-Id: I3dfb406dca46bda7f5acb3c722efcbfb8d0aa9ba
/frameworks/base/core/java/android/app/Activity.java
|
661c908e4e26c99adc2cab7558a02129eaee059d |
|
02-Jul-2010 |
Adam Powell <adamp@google.com> |
ActionBar tab mode using fragments; needs styles. Change-Id: I8f931dae447e7b64de827d3c17766e5f8ad794e2
/frameworks/base/core/java/android/app/Activity.java
|
3c80a4a044865bdf1289c7896baffa1c082d835c |
|
30-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement default key handling for native code. The native code now maintains a list of all keys that may use default handling. If the app finishes one of these keys without handling it, the key will be passed back off to Java for default treatment. Change-Id: I6a842a0d728eeafa4de7142fae573f8c11099e18
/frameworks/base/core/java/android/app/Activity.java
|
89e0645b4157961e8c465eb9c819f965fdb453d8 |
|
24-Jun-2010 |
Adam Powell <adamp@google.com> |
Added context modes to ActionBar API. Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
/frameworks/base/core/java/android/app/Activity.java
|
445646c52128a763b56ed7bb3bd009e2f33e3e4f |
|
26-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Improvements to ListFragment. Now deals correctly with a content view containing just a list, and adds a lot more built-in functionality: ability to show custom text for an empty list, and indeterminant progress while populating the list. In addition, reworks transaction committing to be more aggressive about committing the transactions as the containing activity moves between its states (rather than waiting for the activity's handler to process the transaction message whenever that may finally happen). And fixed a bug with saving/restoring state of transaction replace operations. Change-Id: I9617a0c4f248b50a61b319910323639b6de24f73
/frameworks/base/core/java/android/app/Activity.java
|
4ecdad302f6f775468b0c4d71afde7397c5b3c2a |
|
23-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
am c82b4e80: am 69a4817e: Immersive activity API. Merge commit 'c82b4e80b8211851963929b33592bbc50358525b' * commit 'c82b4e80b8211851963929b33592bbc50358525b': Immersive activity API.
|
69a4817e3e1e368e758ff8c238deb5ee26963c04 |
|
23-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
Immersive activity API. An Activity can declare itself to be "immersive" either by setting android:immersive="true" in AndroidManifest or by calling setImmersive(true). Immersive activities "should" not be interrupted, for example by Notifications with an associated fullScreenIntent. (In the future we may even prevent any non-system application from successfully calling startActivity() if the foreground activity is immersive.) Notifications with FLAG_HIGH_PRIORITY set will be shown to the user in some less-obtrusive way if the frontmost activity is immersive. Change-Id: I8d0c25cc4e22371c27cbf2bb6372d2c95d57b2d7
/frameworks/base/core/java/android/app/Activity.java
|
96675b1df3969f2d313b68f60ed9fa36805db8ce |
|
11-Jun-2010 |
Adam Powell <adamp@google.com> |
Merging ActionBar menu with options menu. Options menu items may now specify if they would like to appear in the action bar. Menu items defined in xml may set the showAsAction attribute to one of "never"(default), "ifRoom", or "always". Action buttons are populated as follows: * All showAsAction="always" items become action buttons, even if it would crowd the navigation area of the action bar. * If there is space remaining, showAsAction="ifRoom" items are added until no more will fit comfortably. Action button click events are now handled by the onOptionsItemSelected method used by the standard options menu. The construction of options menus now happens earlier in order to provide data to the action bar. Activities with an action bar can now expect to have onCreateOptionsMenu called when activity start-up is complete. Activity#invalidateOptionsMenu can be used to force a refresh of menu items where the previous API would use ActionBar#updateActionMenu. Change-Id: If52ddf1cf9f6926206bcdeadf42072ea2c24fab9
/frameworks/base/core/java/android/app/Activity.java
|
5ddd127d5a38d80c0d8087d1770f41f61f84f048 |
|
12-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Implement ListFragment and Fragment context menus. Also fix the docs build. Change-Id: I96f24cc03e6debd897171e503957284b140a9f27
/frameworks/base/core/java/android/app/Activity.java
|
b31e84bc4513e46bac4be8f8d0513f78e360fb11 |
|
09-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Add Fragment option menu APIs. Also fix up how transactions are handled so that a series of transactions can correctly be created and committed. Change-Id: I948ba47d49e9b2246a1958bd9eac9dd36dc5a855
/frameworks/base/core/java/android/app/Activity.java
|
c39a5dcbe151e2a55bf8d6c40b56ec875c8715d5 |
|
04-Jun-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2733766: Crash in Gallery onDestroy: java.lang.RuntimeException Change-Id: I1c67a6603c23d15fef9a6912c86ffdf77aaa8654
/frameworks/base/core/java/android/app/Activity.java
|
5ae74d6e89a30e79ea85c487b32223ef55314985 |
|
20-May-2010 |
Dianne Hackborn <hackbod@google.com> |
More fragment work. Clean up FragmentTransaction API, add more animation control, add new Fragment APIs for hiding and showing. Change-Id: Iffe31351024a7a63d164270b8a955a499076600e
/frameworks/base/core/java/android/app/Activity.java
|
6e8304e57ec533e257a2496183125f257be1ff60 |
|
14-May-2010 |
Dianne Hackborn <hackbod@google.com> |
More fragment stuff: - New startActivityForResult() API. - Fragments now should have the correct lifecycle while hanging around in the back stack (not being destroyed and re-created). - Rework of state save/restore to make it simpler and better. In theory now any fragment (including layout and others in the hierarchy) can now be retained across config changes, though this hasn't been tested. Change-Id: I2a7fe560e14e567f5675a2f172a23fca67b3e97f
/frameworks/base/core/java/android/app/Activity.java
|
7cd51efcbd2d083bf577696591ef1769034f7e2f |
|
13-May-2010 |
Jeff Hamilton <jham@android.com> |
Remove the deprecated cursor methods. Change-Id: Ie3571fea9f36996c31c327240b11086f8cc487f0
/frameworks/base/core/java/android/app/Activity.java
|
b4bc78b16a05554c57508b488e21dd8eca4e13e6 |
|
13-May-2010 |
Dianne Hackborn <hackbod@google.com> |
Further work on fragments: - Implement all of the state saving and restoring machinery. This caused some flux in the API. - Add ability to have fragments that are retained across activity instances. - Fix some bugs. Change-Id: Ib6b5b0752d7f8d667cfdcd3e76d127cc9b6d901b
/frameworks/base/core/java/android/app/Activity.java
|
33b974393b6fadcefc896ec4a0f9b66724f61e9f |
|
20-Apr-2010 |
Adam Powell <adamp@google.com> |
ActionBar added to framework, integrated with Activity and styles. Added onClick attribute support to menus in MenuInflater. Change-Id: I739771b4f249d87a0d8b15969f3d526b099067a1
/frameworks/base/core/java/android/app/Activity.java
|
3d32f6e5228e5dfbfe88b24f6df64406628a3e0c |
|
01-Apr-2010 |
Jeff Hamilton <jham@android.com> |
Add Activity.isChangingConfiguration(). This allows activities to know if they're being torn down due to a configuration change. Bug: 2557550 Change-Id: Ibd9bf5a06c92dbe3789049b84133cf4754381873
/frameworks/base/core/java/android/app/Activity.java
|
f121be737c59390d97e21a92be8e166001534c7d |
|
06-May-2010 |
Dianne Hackborn <hackbod@google.com> |
Improvements to fragment API: - Remove names associated with fragments (we'll use ids). They may come back for other uses. - Add method to replace a fragment, to help in doing back stacks. - Add names to back stack states, to allow for jumping back to known states. - Add ability to set animations associated with fragments being added or removed. Change-Id: Ic2799f06947b1511fb1df5965ca32568b860b3c3
/frameworks/base/core/java/android/app/Activity.java
|
ba51c3d02d08709e933de6f6c76dee3fd2f4bfa1 |
|
06-May-2010 |
Dianne Hackborn <hackbod@google.com> |
New fragment stuff: back stack, and layout integration. You can now have fragment transactions pushed on to a local back stack, which will automatically be popped when the user pressed back in the activity. Fragments can also now be inserted into layouts. Change-Id: Id1c9ae3fbc54f696cd8bb5ca5957bec4d3eabf18
/frameworks/base/core/java/android/app/Activity.java
|
2dedce6e84679ead961a485c7fe4b0f77c713b6a |
|
15-Apr-2010 |
Dianne Hackborn <hackbod@google.com> |
Introducing Fragment. Basic implementation of an API for organizing a single activity into separate, discrete pieces. Currently supports adding and removing fragments, and performing basic lifecycle callbacks on them. Change-Id: I6ea8e6bdb04d93f8105c2e983fe9b6532422de34
/frameworks/base/core/java/android/app/Activity.java
|
4986044fd3bce877247e425374b47967775081a8 |
|
18-Mar-2010 |
Amith Yamasani <yamasani@google.com> |
Fix window leak and receiver leak. Bug: 2520143 and Bug: 2517390 In Activity.onDestroy close any open SearchDialog to avoid a window leak. Register/unregister broadcast receiver in onStart/onStop of the dialog.
/frameworks/base/core/java/android/app/Activity.java
|
305de9dbda4e40d60ca99dda307ccd5e3c23e0a0 |
|
11-Mar-2010 |
Mike LeBeau <mlebeau@android.com> |
Fix a variable name reference in Activity docs. Change-Id: Ib0fd1c6b75f73a4470d2cb790884490a3efa8716
/frameworks/base/core/java/android/app/Activity.java
|
82fe564267f276151063b2aa0d26075c3210d75f |
|
24-Feb-2010 |
Carl Shapiro <cshapiro@google.com> |
Comment out the finalize() methods defined on the Activity, ContextImpl, View and ViewRoot classes. This allows instances of subclasses to be collected without the additional latency of finalization.
/frameworks/base/core/java/android/app/Activity.java
|
2f6a01858bea6c669039b0b1e10aa65fc73c7256 |
|
22-Feb-2010 |
Makoto Onuki <omakoto@google.com> |
Fix bug 2183276: Synchronize all mManagedCursors accesses.
/frameworks/base/core/java/android/app/Activity.java
|
d47c6ed4a9f2b5bd31f6c806b74701428efe458b |
|
28-Jan-2010 |
Dianne Hackborn <hackbod@google.com> |
Bite the bullet and add support for multiple device admins.
/frameworks/base/core/java/android/app/Activity.java
|
8ea138cbf12b140d43fd81f4f12fe1a9234f1f25 |
|
27-Jan-2010 |
Dianne Hackborn <hackbod@google.com> |
More work on device admins: - You can now show a dynamic message to the user when asking to have your DeviceAdmin added. - A DeviceAdmin can now provide a warning message that is displayed before a user disables it. - Better ordering (and text) of the policy warnings. - New API to set the maximum failed password attempts before the device wipes itself. - We now store the number of failed unlock attempts in persistent storage. - New managed dialog APIs that will be used by the settings app. Also a little bit of cleanup as I was working on this - removed the long unused MailboxNotAvailableException, fixed a java doc in Messenger.
/frameworks/base/core/java/android/app/Activity.java
|
e9ce3f01d42769f03f10e70c3244500e92d7eee1 |
|
25-Jan-2010 |
Amith Yamasani <yamasani@google.com> |
Move Search dialog out of system process into current activity. SearchManager now manages the SearchDialog, in-process. Nuked SearchDialogWrapper SearchManagerService now just holds the Searchables information. Hitting Search when in the local Search dialog will launch the QSB.
/frameworks/base/core/java/android/app/Activity.java
|
980a938c1c9a6a5791a8240e5a1e6638ab28dc77 |
|
09-Jan-2010 |
Romain Guy <romainguy@android.com> |
Deprecate fill_parent and introduce match_parent. Bug: #2361749.
/frameworks/base/core/java/android/app/Activity.java
|
b782a2f4f0a3072f2677f6f10fb255c77468ae66 |
|
01-Oct-2009 |
Bjorn Bringert <bringert@android.com> |
Remove globalSearch argument from triggerSearch() API council says: "In reviewing the new triggerSearch API, we are concerned that applications could use the option to perform a global search to spam the user with frequent searches. We would like the global search option to be removed for now (not just hidden, but removed from the internal IPC API so that nobody can find this and abuse it). The rest of the API should be fine as long as it is restricted to local searches." Fixes http://b/editIssue?id=2158785 Change-Id: Ie69a9c0ab6373cc4427aab50606885bdede40585
/frameworks/base/core/java/android/app/Activity.java
|
8b571a817cc953ce96750f440645f104c7f55157 |
|
26-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix Activity.overridePendingTransition(). Change-Id: I4ce995bd58efbbedbe4d0d1e9e0d0f4a8e261843
/frameworks/base/core/java/android/app/Activity.java
|
81d84c0cb244290a58bf8e78a3d638750cf7dd3f |
|
25-Sep-2009 |
Bjorn Bringert <bringert@android.com> |
am 6266e40a: Better JavaDoc for Activity.onSearchRequested(). Merge commit '6266e40a754d82afa717ef068898c8418a0bb5c3' into eclair * commit '6266e40a754d82afa717ef068898c8418a0bb5c3': Better JavaDoc for Activity.onSearchRequested().
|
6266e40a754d82afa717ef068898c8418a0bb5c3 |
|
25-Sep-2009 |
Bjorn Bringert <bringert@android.com> |
Better JavaDoc for Activity.onSearchRequested(). Fixes http://b/issue?id=1248721
/frameworks/base/core/java/android/app/Activity.java
|
3b3e145d3c41fd68974e08f799b1fd1f8f060cf0 |
|
25-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
A variety of work on animations. - The lock screen now fades in and out. - Fixed a bug where we would accidentally freeze the screen when switching to an activity with a different orientation than the current (but the screen itself is in the current orientation). This would mess up the animations on the car dock. - New API to force a particular animation for an activity transition (untested). - New wallpaper animations. - Resources now uses the next API version when in a development build, to help applications being developed against such builds. Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
/frameworks/base/core/java/android/app/Activity.java
|
bfe319e06aa56c081d0d94d64a8181291d7f7388 |
|
21-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Turn animations on by default. Add API to skip the animation for a particular start activity, so that a latter better one can be used. Fix Theme.NoDisplay to actually work. Fiddle with various animations: don't do a different animation for task switching, try a scale animation for switching in/out of the wallpaper. Adjust the animation duration so that at normal speed we have something more like the slower animation option (so slow is now the default). Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
/frameworks/base/core/java/android/app/Activity.java
|
ae22c05b91d1e7a458066792eb5cfc0974c1be9e |
|
18-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Try to fix docs build. Change-Id: I331e128fa95c3bc0b8bc4ab2537cc2ea92e310e7
/frameworks/base/core/java/android/app/Activity.java
|
fa82f22f1d8c4c828bdf9b670006be4f4fec772e |
|
18-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2093608: Calendar widget takes a few seconds to launch Avert your eyes! The key change here is that RemoteViews can now call a Context API to start its pending intent, which inside of the activity manager we can use to determine to cancel the timeout delay for external entities to disrupt the home screen. Change-Id: If097cf7478cbed7a3c04a304050bd7fd5703d197
/frameworks/base/core/java/android/app/Activity.java
|
8d37426c754e9822feaa8c6cc0b7c13e8523e217 |
|
15-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Various fixed for back key handling. My last change was far from perfect. Hopefully this gets us a little closer. Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
/frameworks/base/core/java/android/app/Activity.java
|
83fe3f559249451706957b1a5f660b2b8272f114 |
|
13-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Last big work on #1991910: Make swipes work with capacitive keys This takes care of allowing us to cancel the back button. The back button is a bear because it is strewn all over the place -- everywhere you can close something, there is some code looking for the back button that now needs to deal with being canceled. The main things changed are activity (of course), dialog, input method, search dialog. There are some other misc places in the framework (and some I missed here that I will get in a second pass). To facility all of this, the key dispatching APIs now provide a lot more support for dealing with looking for cancelled keys, and incidentally also provide an actual API for catching long key presses. This also helped clean up the code in PhoneWindow where it deals with all of the combinations of key pressed and releases. (And also allows people to override Activity.onKeyLongPress() to provide a different long press action for a standard key like search.) And while I was doing this, I reworked how we detect long presses by having this be part of the key event delivered by the window manager. This should greatly reduce (hopefully outright eliminate) the problems with long presses being mis-detected when an application is being slow. Change-Id: Ia19066b8d588d573df3eee6d96e1c90fdc19f57d
/frameworks/base/core/java/android/app/Activity.java
|
bcbcaa7edd32ba67c6290d79f7e7821c4b5b39ac |
|
10-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Wallpapers, animations, pending intent. Some more tweaks and fixes to wallpapers. Make sure wallpapers are told they are not visible when the screen is off. Add some new animations for transitions across tasks, and fiddle with many of the existing animations. Clean up the relationship between translucent activities and animations. Add new API to start a PendingIntent from an activity. Change-Id: Ie0bf45fe44081bb6982c75361257a55d9cd9d863
/frameworks/base/core/java/android/app/Activity.java
|
3be63c09309b21c01b535271625d4c39045690e5 |
|
21-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Infrastructure for supporting wallpaper previews. Various things that will allow us to show previews of wallpapers. Also some fixes to animations across wallpapers.
/frameworks/base/core/java/android/app/Activity.java
|
93df578638418ef2f05efdf58331d847f41b17b5 |
|
18-Aug-2009 |
Mike LeBeau <mlebeau@android.com> |
am cfa419b7: Correct comments for startSearch in Activity and SearchManager to explain Donut behavior correctly. Merge commit 'cfa419b754332e12f8cd45244c2f3bee9d6a74bb' into eclair * commit 'cfa419b754332e12f8cd45244c2f3bee9d6a74bb': Correct comments for startSearch in Activity and SearchManager to explain
|
d2d6014f715f12f6263f61ba3eeb6f8cba6d0fa6 |
|
17-Aug-2009 |
krosaen <krosaen@android.com> |
NEW API for SearchManager and Activity to 'triggerSearch'. This is pretty much the same thing as startSearch, except it also launches the query. We enforce that this can only be done for the package of the app that is associated with the search mananger (e.g you can't trigger a contacts search from anywhere).
/frameworks/base/core/java/android/app/Activity.java
|
cfa419b754332e12f8cd45244c2f3bee9d6a74bb |
|
17-Aug-2009 |
Mike LeBeau <mlebeau@android.com> |
Correct comments for startSearch in Activity and SearchManager to explain Donut behavior correctly.
/frameworks/base/core/java/android/app/Activity.java
|
37296dc4edae8d1383179e956dff2ecf806ac166 |
|
01-Aug-2009 |
Joe Onorato <joeo@android.com> |
Update docs.
/frameworks/base/core/java/android/app/Activity.java
|
b06ea706530e6d19eb2a1a9a7ae6c5dd77d80af0 |
|
13-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Add reporting of activity movement for search manager. This adds a new API with the activity manager to find out about movement between activities. For my sanity, the old IActivityWatcher is now renamed to IActivityController, and the new activity movement interface is named IActivityWatcher. This changes the search manager itself to use the new API to manage its state. Note that there are still problems when going back to the search dialog after it was hidden -- the suggestions window no longer appears until you explicitly dismiss and re-show it.
/frameworks/base/core/java/android/app/Activity.java
|
6de4aed1c67263269f83f579ec5b06263d173ef3 |
|
08-Jul-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1933428. Call onPrepareDialog() on managed dialogs after their onCreate() is finished.
/frameworks/base/core/java/android/app/Activity.java
|
444c727e0eecf83e9d0b9c4e7af5cbf5fc4135f8 |
|
06-Jul-2009 |
Bjorn Bringert <bringert@android.com> |
Run search UI on its own thread. Details: - Add a new SearchDialogWrapper class that makes sure all access to the SearchDialog is run one a single thread other than the main ServerThread. - Don't save/restore seach dialog state in Activity. This resulted in lots of calls to the SearchManager throughout the life cycle of all activities, for the questionable benefit of restoring the search dialog in a few cases. - Remove search UI state save/restore, and the isVisible() method from SearchManagerService. They are no longer used, and were tricky to implement since they return values from the search UI thread to the service. - Handle configuration changes in searchDialogWrapper instead of calling through from Activity. Fixes http://b/issue?id=1938101 TODO: - Activity.performPause() calls stopSearch(). This call may not happen until the new activity has been started. If the new activity starts a search immediately, this search could be cancelled by the old activity's call top stopSearch().
/frameworks/base/core/java/android/app/Activity.java
|
e35c23514592efe07d54fdbed7e7ec0b717e8bbe |
|
19-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1928566. Prevents runtime restart upon configuration change. Managed dialogs could cause dispatchOnCreate() to be called twice, which would cause an exception.
/frameworks/base/core/java/android/app/Activity.java
|
764d5331d15c19162c938e617777b4bf15a6314d |
|
18-Jun-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1924909. When restoring managed dialogs, do exactly the same thing as when showing a dialog.
/frameworks/base/core/java/android/app/Activity.java
|
1ccac75e1f1b97eccb916a8de04fc1012b30f6e5 |
|
12-Jun-2009 |
Suchi Amalapurapu <asuchitra@google.com> |
Remove circular dependency in PackageManager. api freeStorage uses PendingIntent from android.app Create a new public IntentSender class that can be used by PackageManager instead. This new class uses IIntentSender internally and can only be created by PendingIntent for now. Provide a new getIntentSender api in PendingIntent to create an instance of this class. Move IIntentSender and IIntentReceiver from android.app to android.content Change imports of IIntentSender and IIntentReceiver to reflect the new package name The PackageManager api has been named as freeStorageWithIntent and will be renamed as freeStorage once the older api(which has been deprecated) will be removed shortly.
/frameworks/base/core/java/android/app/Activity.java
|
8d17f3f24bbda9a9cd7ea08c5925508dc2c011be |
|
05-Jun-2009 |
Bjorn Bringert <bringert@android.com> |
Run search dialog in the system process. Fixes http://b/issue?id=1905863 This is needed to address two security issues with global search: http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch) http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents) This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener never gets called) To fix the security issues, GlobalSearch also needs to require a non-app permission to access its content provider and launch intents.
/frameworks/base/core/java/android/app/Activity.java
|
75986cf9bc57ef11ad70f36fb77fbbf5d63af6ec |
|
15-May-2009 |
svetoslavganov <svetoslavganov@google.com> |
Accessibility feature - framework changes (replacing 698, 699, 700, 701 and merging with the latest Donut)
/frameworks/base/core/java/android/app/Activity.java
|
b70f3dff01e7e1e85f77cf0b0b2eaba8200eb82c |
|
08-Apr-2009 |
Christopher Tate <ctate@google.com> |
Preserve an Activity's setIntent() state across relaunches Previously any Intent designated by setIntent() would be lost when the Activity was shut down and restarted due to orientation change. Now the custom intent is preserved across the relaunch. Bug: b/1743425
/frameworks/base/core/java/android/app/Activity.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/Activity.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/Activity.java
|
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b |
|
20-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@132569
/frameworks/base/core/java/android/app/Activity.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/app/Activity.java
|
f1e484acb594a726fb57ad0ae4cfe902c7f35858 |
|
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
/frameworks/base/core/java/android/app/Activity.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
|
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/app/Activity.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/app/Activity.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/app/Activity.java
|