bd769a15abfcb23b16daaed10c09029bbb978eef |
|
28-Jan-2015 |
Jose Lima <joselima@google.com> |
Fix crash caused by disabling the Options panel on TVs Address more cases where calls to getPanelState may cause a crash when the options panel is disabled on a platform. Bug: 19178531 Bug: 18780696 Change-Id: Ib72bb8483e636181788ed3919c4cb9e99a94b7b1
/frameworks/base/core/java/android/app/Activity.java
|
7a22fc62d364bba4c1604a7e88fbd321eb541f4e |
|
24-Jan-2015 |
Jose Lima <joselima@google.com> |
Allow disabling the Options Pannel feature for TVs - Added a config entry in velues-television to disable the options panel feature for TVs. - Fixed parts of the code in PhoneWindow that assumed this feature is supposed to always be available, which was causing exceptions when it was turned off. Bug: 18780696 Change-Id: I923bd4b5019d634e5352a6e893005133edb475f6
/frameworks/base/core/java/android/app/Activity.java
|
90312d808f4a5181b5cb99c78e64b7e5d1465895 |
|
16-Jan-2015 |
Ricardo Cervera <rcervera@google.com> |
am 22878790: am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev * commit '2287879039556ad3c8fce58974e2396b4a2dab45': docs: Added info on noHistory and onActivityResult(). Bug: 13807256
|
2287879039556ad3c8fce58974e2396b4a2dab45 |
|
16-Jan-2015 |
Ricardo Cervera <rcervera@google.com> |
am 93f94c2c: resolved conflicts for merge of e8f6bd48 to lmp-dev * commit '93f94c2ca5bf23533fc5a9bd70a4795584d20618': docs: Added info on noHistory and onActivityResult(). Bug: 13807256
|
93f94c2ca5bf23533fc5a9bd70a4795584d20618 |
|
16-Jan-2015 |
Ricardo Cervera <rcervera@google.com> |
resolved conflicts for merge of e8f6bd48 to lmp-dev Change-Id: Idc370182914d5060a721d34c26cd72598f2c6dff
|
e8f6bd484627e16fa2fd9509b0f06056ee44be94 |
|
16-Jan-2015 |
Ricardo Cervera <rcervera@google.com> |
am 98f07d90: am 92f6a747: docs: Added info on noHistory and onActivityResult(). Bug: 13807256 * commit '98f07d901492335f51258655fbfa032fa3f2d58e': docs: Added info on noHistory and onActivityResult(). Bug: 13807256
|
a83c5806ded083f51549ba4bf70e0c1f6a17fc61 |
|
21-Nov-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Merge "SwipeDismissLayout makes activity opaque only after entry animation ends." into lmp-sprout-dev automerge: 96c5d37 * commit '96c5d37fb5139465cdd3d882b5deba830497557a': SwipeDismissLayout makes activity opaque only after entry animation ends.
|
6eafa902cbc15fa35f8f0dfb5e559673fa67f637 |
|
14-Nov-2014 |
Filip Gruszczynski <gruszczy@google.com> |
SwipeDismissLayout makes activity opaque only after entry animation ends. Bug: 18340863 Change-Id: Ic60fa2463618f86b1ae23fc4a0c06cd348f28334
/frameworks/base/core/java/android/app/Activity.java
|
85d558cd486d195aabfc4b43cff8f338126f60a5 |
|
04-Nov-2014 |
Dianne Hackborn <hackbod@google.com> |
Add Activity API to get referrer information. This expands the use of EXTRA_REFERRER to be relevant anywhere, allowing apps to supply referrer information if they want. However, if they don't explicitly supply it, then the platform now keeps track of package names that go with Intents when delivering them to apps, which it can be returned as the default value. The new method Activity.getReferrer() is used to retrieve this referrer information. It knows about EXTRA_REFERRER, it can return the default package name tracked internally, and it also can return a new EXTRA_REFERRER_NAME if that exists. The latter is needed because we can't use EXTRA_REFERRER in some cases since it is a Uri, and things like #Intent; URI extras can only generate primitive type extras. We really need to support this syntax for referrers, so we need to have this additional extra field as an option. When a referrer is to a native app, we are adopting the android-app scheme. Since we are doing this, Intent's URI creation and parsing now supports this scheme, and we improve its syntax to be able to build intents with custom actions and stuff, instead of being all hung up on custom schemes. While doing this, fixed a problem when parsing both intent: and new android-app: schemes with a selector portion, where we were not respecting any scheme that was specified. Change-Id: I06e55221e21a8156c1d6ac755a254fea386917a2
/frameworks/base/core/java/android/app/Activity.java
|
92f6a747085b4b5ed692de4bdb0050c096eae393 |
|
04-Apr-2014 |
Ricardo Cervera <rcervera@google.com> |
docs: Added info on noHistory and onActivityResult(). Bug: 13807256 Change-Id: Iae4901a311e76401396f89c552e5b27a49c65c83
/frameworks/base/core/java/android/app/Activity.java
|
9797880808320e3a7bae1f59bc7e0c5a13189e5f |
|
14-Oct-2014 |
Jeff Sharkey <jsharkey@android.com> |
Start cross profile intents as caller. The system should always be using new startActivityAsCaller() when starting activities on behalf of someone else, to ensure that security checks are enforced as the original caller. Bug: 17983737 Change-Id: Ic40816a797cfdb13c0adb48b86ed4ed7d6aae8eb
/frameworks/base/core/java/android/app/Activity.java
|
fdf5b35ab46639759d6389a4e2a4d5799cb6814b |
|
09-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Implement issue #17906468: Allow search request to fall back to global search Change-Id: I04834b2a9f1ec4a68c6a3fed14da2f8dd93b3be7
/frameworks/base/core/java/android/app/Activity.java
|
64ccb7086741d520c041273610519a5c2f65b440 |
|
01-Oct-2014 |
Craig Mautner <cmautner@google.com> |
Don't clear visible-behind activity if it is top Previously if an activity requested to keep running behind translucent activities (Activity.requestVisibleBehind()) and then converted itself to opaque (Activity.convertFromTranslucent()), we would clear the visible-behind activity. This change tests to see if the top activity is the visible-behind activity and does not clear it in that case. This change also clears the visible-behind activity whenever it comes back to the front. That forces the activity to call requestVisibleBehind() each time it is resumed. Fixes bug 17648436. Change-Id: Id0fc4d7e2a2b907675305d98bad1b08cb610919e
/frameworks/base/core/java/android/app/Activity.java
|
8f8f5f579fa6448a2ed370c5bd48af35a30f4944 |
|
19-Sep-2014 |
George Mount <mount@google.com> |
Merge "Fix exception when fragment container has no View." into lmp-dev
|
0b26e4d58ab1a60340dd7ab35ca6e3bddff9f760 |
|
18-Sep-2014 |
George Mount <mount@google.com> |
Fix exception when fragment container has no View. Bug 17535259 Change-Id: I29c9ef53dd693cbb4043ebfb4750753870c9e99a
/frameworks/base/core/java/android/app/Activity.java
|
648f69b95ce7fc95f551f6e08a2408d6e57dbab9 |
|
18-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Remove activity icon bitmaps from system process. When a TaskDescription is sent up to the system process, the Bitmap contained in the mIcon member is immediately flushed to disk and the name of the file replaces it in the TaskDescription. Thereby saving mucho RAM for better uses. Fixes bug 17527308. Change-Id: Ifac63ea5d12ed091d1eb03e178b8b847a827f940
/frameworks/base/core/java/android/app/Activity.java
|
9826f636ad4fe3714d60972acd918e09eb44d971 |
|
11-Sep-2014 |
George Mount <mount@google.com> |
Have Activity Transitions activited by a new window attribute. Bug 17006497 Window content transitions were being enabled by default in the Material Theme so that Activity Transitions could be enabled by default. Unfortunately, this gave the effect that many applications did not want -- the default transition between window content is a fade out/in. Here, a new attribute is added: windowActivityTransitions that is enabled by default in the Material theme and windowContentTransitions is disabled by default in all themes. Change-Id: Iab453d608f00a48ff7ab7f09ce84b52cf5f20294
/frameworks/base/core/java/android/app/Activity.java
|
88dcd1a5f7d0109e460f8938096063d1a18224c3 |
|
05-Sep-2014 |
George Mount <mount@google.com> |
Merge "API Review: Change SharedElementListener to SharedElementCallback." into lmp-dev
|
6558056e8fccc32f9e1dc59e46d09f8d916b7538 |
|
29-Aug-2014 |
George Mount <mount@google.com> |
API Review: Change SharedElementListener to SharedElementCallback. Bug 15863001 Bug 17289526 Changed SharedElementListener to SharedElementCallback Renamed methods to use "on" prefix. Adjusted javadoc to reflect usage in Fragments. Change-Id: I7cc517c269a8e417cb5c3a0948bdd3b654d42472
/frameworks/base/core/java/android/app/Activity.java
|
7a629c2d04bb3c8fbdca6fdf3e0911f451d1880e |
|
04-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Update API per council request A few protected => public changes and picking up another change in ViewAnimationUtils that got missed. Fixes bug 17389511. Change-Id: I75027535eade6427c2d9067369426297c168e77e
/frameworks/base/core/java/android/app/Activity.java
|
9e18397112df0ebe49b9e4325d7040498b2afcfa |
|
03-Sep-2014 |
George Mount <mount@google.com> |
"Back" with translucent window now sets ActivityOptions. Also made convertToTranslucent set the canvas opacity. Bug 16215650 Change-Id: Id4325eaed34cda1269d874f239aeb5f6f82c959f
/frameworks/base/core/java/android/app/Activity.java
|
d7c0395d26694c594c3e64b16ab647c971aeb422 |
|
30-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Hide the interaction part of VoiceInteractionService. Also the ability to start voice activities is turned off, though for testing purposes it can be turned back on with a system property. Change-Id: I867704d32c53beeb851ceea9b45c28bf5c01ef61
/frameworks/base/core/java/android/app/Activity.java
|
fcf7083eab5b859e660e2d4a191687d03dc7de06 |
|
28-Aug-2014 |
Jose Lima <joselima@google.com> |
Renamed Activity.onVisibleBehindCancelled() to Activity.onVisibleBehindCanceled() API review request. Bug: 17288987 Change-Id: If63f847ce630a57e4aa1e5291befe2863cb7e0c7
/frameworks/base/core/java/android/app/Activity.java
|
4902a89103ede745a933186d524fb739791eba2a |
|
27-Aug-2014 |
Adam Powell <adamp@google.com> |
Merge "Adjust toolbar/action bar title handling" into lmp-dev
|
af2d85973ed768e390bc2f40f255ea39cc6f6fe5 |
|
27-Aug-2014 |
Adam Powell <adamp@google.com> |
Adjust toolbar/action bar title handling Treat activity title changes as window title changes when propagating to action bars. This gives it lower priority if a "hard" title has been set. Fix some lifecycle handling around this that previously resulted in multiple calls. Automatically detect the starting display options for a ToolbarWidgetWrapper if we're not grabbing them from styles. This prevents setTitle and friends from going totally out to lunch if constructed around a Toolbar with no starting title. Bug 17138048 Change-Id: I9f58a3d222546745c8aa873e996b8f0d52a0ad21
/frameworks/base/core/java/android/app/Activity.java
|
1b012d302b56b4adf950035136d1d191a1936d5a |
|
20-Aug-2014 |
Jeff Hao <jeffhao@google.com> |
Add sample profiling option to am. Also bundles all profiling options into a class. Bug: 17040932 Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
/frameworks/base/core/java/android/app/Activity.java
|
89ad456ea49cb62615ebdcac83a2515743bbe5fa |
|
25-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #16311398: Limit number of documents a process can open In application processes, monitor for when we start getting close to the Dalvik heap limit, and ask the activity manager to try to prune old activity instances in that case. Add an explicit API for apps to ask that they have their own activity instances cleaned up, if they want. Fix some bugs in launching activities that were not correctly applying the "multi task" behavior in the appropriate situations of document-centric recents. Clean up the activity manager's process removal code to all share a common path. Add a new "Spam" option to ActivityTests, which continually creates new tasks, checking that the activity manager will now prune old tasks rather than letting the app run out of RAM. And while I was was doing this, I found problems with the path for bringing an empty task to the foreground -- it could make a new task instead of re-starting the root activity in the existing task. This is fixed, and some code in the recents UI for working around the bug is removed. And as long as I am doing that, we now have nice hooks in to the activity manager for AppTask to give some APIs for better managing the task, so add those along with more tests for these APIs in ActivityTests. We should look at also having the activity manager try to prune old tasks when it sees app processes being killed, to better balance memory use across multiple processes when some processes may host many documents. That however is for another CL... Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9
/frameworks/base/core/java/android/app/Activity.java
|
250bf41b8ee61c7b5707fefad1456634c7e73bbb |
|
22-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Work on issue #17011123: Hit Back/Recents button when in Recents..." into lmp-dev
|
a557fdcfb855f3183c687d988a56f4f9ed3b0767 |
|
22-Aug-2014 |
Adam Powell <adamp@google.com> |
Directly propagate Activity titles to action bars Window decor action bars already inherit window title changes if no explicit action bar title has been set but from an Activity's perspective setting the activity title is a stronger signal. This is especially relevant when the activity's action bar has been provided by the application in the form of a Toolbar. Bug 17138048 Change-Id: Ibf042cab6bbda3dc29590c09d1a0910b6ba78870
/frameworks/base/core/java/android/app/Activity.java
|
6f4d61ff2e3143bea37bbc1a7a2a0ab415b2c88a |
|
22-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #17011123: Hit Back/Recents button when in Recents... ...without interacting with any of the Recents items should not bring Home back to top Up navigation needs to be smarter about multi-document and in the case of being at the root of a document know to re-construct a task for the app. Change-Id: Ief874e46e9a9897379dda1010bcce4c5b03d82f1
/frameworks/base/core/java/android/app/Activity.java
|
8f4a21e46609527a38fbd423a8da8a45f57d84d1 |
|
19-Aug-2014 |
Adam Powell <adamp@google.com> |
Merge "Fix a bug propagating navigation button events from ToolbarActionBar" into lmp-dev
|
14e1afe0d86de826ae1831d64ca00da03da86b4b |
|
19-Aug-2014 |
Adam Powell <adamp@google.com> |
Fix a bug propagating navigation button events from ToolbarActionBar Add a simple internal wrapper for dealing with window callback events. This should also make working with things like action modes from ToolbarActionBar significantly easier in later changes. Bug 16980711 Change-Id: I2c3d7525489a21847f4af9b80f6ebf9b34b4dd58
/frameworks/base/core/java/android/app/Activity.java
|
028ceeb472801bcfa5844fc89ed0da8463098824 |
|
18-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #14617210: Apps can gain access to any ContentProvider... ...with grantUriPermissions (no user interaction required) Add a new path in to the activity manager to start an activity as if it was directy started by the original calling activity. This is specifically for the resolver activity and chooser activity to be able to safely launch its data after serving as an intermediary. Access to the new method is highly restricted -- it can only be called by an activity that is declared in the framework apk itself, and the execute-as-the-caller behavior will only happen if the code is running under the system uid. (This means we could still have these run in the client's process in some cases and still work correctly.) Note there is some commented out code here half-done about trying to propagate security exceptions back to the original calling activity. This would be really nice, especially now with the chooser activity running in a system process so any errors made by the app (bad permission grants, bad intents, etc) no longer actually appear in the app so are essentially invisible. I'd really like to figure out a way to propagate these exceptions back to the app, but this is hard since the app's process may no longer even be running at this point. Also tweak activity manager dump output to split the recents dump out from activities, since recents can now be super large. Change-Id: I50410c4783faf9302c69290589a068a846e0973a
/frameworks/base/core/java/android/app/Activity.java
|
14914858a0c0d796c1ebf9bf40eba138b8e6d4da |
|
14-Aug-2014 |
Jose Lima <joselima@google.com> |
Make TranslucentConversionListener a SystemApi Change-Id: I59a93e1e040fdbaa9ef108b31e08e4553ba82ae1
/frameworks/base/core/java/android/app/Activity.java
|
4b6c6697da5a20c08b2f9f2ca40c94008477e914 |
|
13-Aug-2014 |
Jose Lima <joselima@google.com> |
Renamed "media playing" APIs to "visible behind" - Request from API Review: rename the media playing APIs to a more generic name, reflecting the background visibility feature these methods actually control. - Made the new isActivityVisibleBehind(). - Changed convertFromTranslucent() and convertToTranslucent() to be SystemApi. Bug: 16959028 Change-Id: I526eac22f44273b3254dd6201f89194d13e597e2
/frameworks/base/core/java/android/app/Activity.java
|
9a090e6dedcb1469c9293d868c7ca6409fc7774f |
|
29-Jul-2014 |
Jason Monk <jmonk@google.com> |
Merge "Fix incorrect Activity#startLockTask doc" into lmp-dev
|
8863b57e89e51ae9427682ebd561a3a17a311089 |
|
29-Jul-2014 |
Jason Monk <jmonk@google.com> |
Fix incorrect Activity#startLockTask doc It referenced a swipe down gesture that doesn't exist. This should be more safe, and cover other devices as well. Bug: 16626273 Change-Id: I907b25a00d903f9f36ca335d3a75c1f8f931d50e
/frameworks/base/core/java/android/app/Activity.java
|
8746a478abcfb3b0d73b156232051af1e8d21ce2 |
|
25-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Create end of animation callback for Activity Activities cannot draw while their entering animations are active. This change introduces a callback, onEnterAnimationComplete() so that activities can know when their draws will be effective. Fixes bug 13658460. Change-Id: Ic48540cd4c7e37538f10cb2dc0852aa3f55d11e1
/frameworks/base/core/java/android/app/Activity.java
|
5438e4e173c756a24061da38bfe9142765c56f9d |
|
25-Jul-2014 |
Michael Wright <michaelwr@google.com> |
Add missing documentation for createVirtualDisplay Fix incorrect access modifier in Activity documentation. Change-Id: Id41da6ccbdfa8b53c89360c899f3a43aec899982
/frameworks/base/core/java/android/app/Activity.java
|
550116576cce028d3c435f7c3ae9f6e3b92b5cf2 |
|
10-Jul-2014 |
RoboErik <epastern@google.com> |
Add API to set a default session in Activity We may have multiple remote sessions at once so an app needs a way to specify a default session to route media and volume commands to when its activity is in the foreground. This adds an api that works in parallel with the default stream api on Activity. bug:15727927 Change-Id: I5b67cb3e20647f9437d90aa65be63efe8c7865cf
/frameworks/base/core/java/android/app/Activity.java
|
83231457d351a05b6afc944eca7de833b413a123 |
|
04-Jul-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Adds hidden startActivityForResultAsUser APIs Bug: 16056552 Change-Id: Ib50f95782748a9dfdb2ee64225971128ac78e1c8
/frameworks/base/core/java/android/app/Activity.java
|
b0a11172eabed683cca50f19e566ceb11aa79c86 |
|
08-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Add Media Playing API"
|
ee2e45acbff28986c2ced636b7550d0afbb0eeb7 |
|
27-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Add Media Playing API These methods permit an activity to play or continue playing media behind a translucent activity above it. Particularly the home activity in Android TV. Methods exist to notify the upper activity when playing starts or stops and for notifying the playing activity when to stop playing and release its resources. Methods are called when either activity's state changes or new activities are launched. Fixes bug 14469711. Change-Id: I7ba10c5a4683504931cffa228488f5281e5bbf86
/frameworks/base/core/java/android/app/Activity.java
|
ff243289d346530a99921fd19ca35df7cea51042 |
|
08-Jul-2014 |
George Mount <mount@google.com> |
Prevent exit transition when a new task was started. Bug 15543793 Change-Id: Id9705009e16da82fe2068f16e167c9cd07696889
/frameworks/base/core/java/android/app/Activity.java
|
d61dc20de10452dcc6905dcf0654f30c64762a1d |
|
07-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Add Activity.isTopOfTask() method Used by scene transition to determine if an activity has launched the next activity into its own task or into another task. Fixes bug 15771895. Change-Id: I6d350350dcf27509296d55d7b75be90a01694ac9
/frameworks/base/core/java/android/app/Activity.java
|
eb8abf7207aa118065999514f9248affbdd94de1 |
|
03-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Introduce onNewActivityOptions for return activity When an activity that is already translucent returns to the previous activity using a scene transition the receiving activity did not receive its ActivityOptions for its side of the animation. The new method onNewActivityOptions() delivers those options. Fixes bug 14869070. Change-Id: I09b136b3213aae5d3521894e17a7500ac793f3d2
/frameworks/base/core/java/android/app/Activity.java
|
2eb983be20c84560b078aac5e18b2e5183df7fd9 |
|
27-Jun-2014 |
George Mount <mount@google.com> |
Merge "Activity Transitions: change default behavior."
|
abb63cb6223e4ab40a82d773d3d84bd0b3a57325 |
|
23-Jun-2014 |
George Mount <mount@google.com> |
Activity Transitions: change default behavior. Bug 15746767 The default for activity transitions with the material theme should be to enable them when makeSceneTransitionAnimation is used, but disable them when no ActivityOptions is used. Change-Id: I4c777a72e4401b367e30b9ba971f7280646d5017
/frameworks/base/core/java/android/app/Activity.java
|
5770f18e82ee73968f1f3da132bd1121e3ef8520 |
|
25-Jun-2014 |
George Mount <mount@google.com> |
Merge "Activity Transitions: don't require transitionName."
|
1fecfb2ddcdf4335ff543bdd549b8e4d36139da8 |
|
18-Jun-2014 |
George Mount <mount@google.com> |
Activity Transitions: don't require transitionName. Bug 15585623 Bug 15607591 Exit transitions now run because exit transitions are executed with startActivity. Change-Id: Ie55793a9514c64d96e2cf1abdd2d39c4d2606a23
/frameworks/base/core/java/android/app/Activity.java
|
371a809179c843d7ae661a10bc9b4b8cfcaff566 |
|
20-Jun-2014 |
Adam Powell <adamp@google.com> |
Inflate fragments from layout into child FragmentManagers Previously, if an app inflated a layout in a Fragment's onCreateView that itself had fragments included, those fragments would be added to the Activity-level FragmentManager and would not share the same lifecycle with the fragment it was inflated for. This led to some nasty management headaches. If an app targets L or above, add the fragment to the child FragmentManager of the current fragment when inflated using the LayoutInflater passed to the parent fragment. Bug 12763389 Change-Id: Iad4ed7d5df602aea9579bf1503e206fa894630c1
/frameworks/base/core/java/android/app/Activity.java
|
62515beee67307d8859beec521b7baedfa54b2b5 |
|
21-May-2014 |
Jason Monk <jmonk@google.com> |
Add lock-to-app mode Added a dialog that shows when app has not been authorized by DevicePolicyManager.isLockTaskAuthorized. This allows any app to trigger lock-to-app mode. This same dialog is used when startLockTaskOnCurrent is triggered by the recents long-press. Can exit the mode by long-pressing recents again. Keyguard is disabled when lock-to-app is active. This CL also prevents apps from finishing when they are the root task in a lock task TaskRecord. Change-Id: Ib54d858e570cccf6bfd986958868e15f49bcef75
/frameworks/base/core/java/android/app/Activity.java
|
3cc716c445688228311bead8641c467e91effab9 |
|
13-Jun-2014 |
George Mount <mount@google.com> |
Don't make translucent window opaque during activity transition. Bug 15535332 Returning transitions will continue to not work until Bug 14869070 is fixed. Change-Id: If0128b58eb852b037924ae6dea8e975fedbe5be7
/frameworks/base/core/java/android/app/Activity.java
|
43e52ed32e2d55ef4aee18c4b4bc13b7fdef9cc4 |
|
17-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Fix persistent tasks and expand scope - Fixed missing tag closure on the xml for storing Intent categories. - Shortened timeout for flushing tasks to persistent storage from one minute to ten seconds. - Made persistency the default except for those tasks on the home stack and those tasks that exclude themselves from the recent task list. - Fixed deletion of tasks after restoring. Tasks now survive a second reboot, not just the first reboot. - Fixed sort order so most recent tasks will be restored at front. Fixes bug 15672002. Change-Id: I16d87d58c6fd2e879cfd0c0b18b2694432a79b71
/frameworks/base/core/java/android/app/Activity.java
|
e089d06151481c16881f8dd941d7c0a17fa461c9 |
|
11-Jun-2014 |
George Mount <mount@google.com> |
Merge "Allow enter activity transitions to be delayed until data is ready."
|
8c2614ce4328640642d8e8be437859e0508a39b4 |
|
10-Jun-2014 |
George Mount <mount@google.com> |
Allow enter activity transitions to be delayed until data is ready. Bug 15539194 Change-Id: I8de9806b0bcdf8129eb3b5a555a2433f0c7be634
/frameworks/base/core/java/android/app/Activity.java
|
5517ea78eb3c6fb3e9dfe3d9457533188d1f0294 |
|
10-Jun-2014 |
Jose Lima <joselima@google.com> |
Make convertToTranslucent a public method in Activity - Changed the access level for convertToTranslucent in Activity to public. - Still keeping convertToTranslucent as a hidden method. Bug: 15492979 Change-Id: I7d013541e8ed7708ce208cd4cf5d1c1d20d50e50
/frameworks/base/core/java/android/app/Activity.java
|
07a74548ae5c1e064508cb1c79ac34de1142b240 |
|
31-May-2014 |
Adam Powell <adamp@google.com> |
Further implementation for ToolbarActionBar Integrate activity options menu and inline Toolbars. Fix a series of small associated bugs. Activities now (privately) offer several menu-related events directly to the associated ActionBar. In the future this should help us untangle some of the menu-based pasta in PhoneWindow. Bug 15344598 Change-Id: I76211ad17d2bcbb58cf1d88914e855416d084ded
/frameworks/base/core/java/android/app/Activity.java
|
377801463ef75d7c14f3ef6a346d8ddccb2a4045 |
|
01-Jun-2014 |
Adam Powell <adamp@google.com> |
Change parameter name for Activity#setActionBar Feedback from API review Bug 14998253 Change-Id: Id3b87a8071d43de49847e93fd6229d48364bf55e
/frameworks/base/core/java/android/app/Activity.java
|
20d94749043d0851f1da10c7749fd7eb13a35081 |
|
30-May-2014 |
Dianne Hackborn <hackbod@google.com> |
More work on voice interaction visuals. There is now a special theme for voice interaction activities to use, so they can be a panel that is better intergrated with the rest of the voice interaction experience. This is still not completely working, I have some hacks in the demo app to get it right; I'll fix that in a future change. Also improve VoiceInteractor to be retained across activity instances, for things like rotation. And bump up the number of concurrent broadcasts that are allowed on non-svelte devices, since they can handle more and this makes the boot experience better when dispatching BOOT_COMPLETED. Change-Id: Ie86b5fd09b928da20d645ec2200577dee3e6889d
/frameworks/base/core/java/android/app/Activity.java
|
a8bd9294387a415f02e9cdeb80c8215bb601dd06 |
|
21-May-2014 |
George Mount <mount@google.com> |
Use activity transitions when launched from fragments. Bug 15118249 Change-Id: I4e6a5dc6c930828a54a855d7b580a1bbc591ece5
/frameworks/base/core/java/android/app/Activity.java
|
fb052926b84d69fdc4bebcb0373e33388c7bcbb7 |
|
21-May-2014 |
Dianne Hackborn <hackbod@google.com> |
Revert "Hide voice interaction APIs." This reverts commit a677a9b9367bcf8c81c36dc59b53554cb347b438.
/frameworks/base/core/java/android/app/Activity.java
|
4ee35806090a5e01600c87ff12ecd041ad4586f8 |
|
21-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Change method name per API council request"
|
8cab50afda0d8485436f72a93d668697f549d3b3 |
|
15-May-2014 |
George Mount <mount@google.com> |
Fix for quick "back" in Activity Transitions. Bug 14990153 Stops two potential animators working against the background drawable. Forces the entering views to become visible onResume. Change-Id: I2da66b54a16c6c69533eebbeff6db7f5a7794a89
/frameworks/base/core/java/android/app/Activity.java
|
800d72b0e05049e4a8f90ea96ec165fc975264ce |
|
19-May-2014 |
George Mount <mount@google.com> |
Add to activity transition API as requested by consumers. Change-Id: Iae01d7560770bab0ff9a1728d6552b98b17108ce
/frameworks/base/core/java/android/app/Activity.java
|
73f843de4b65772c624ca8ebb8c976a279e37ce9 |
|
19-May-2014 |
Craig Mautner <cmautner@google.com> |
Change method name per API council request Activity.finishWithTransition() => finishAfterTransition(). Fixes bug 14997477. Change-Id: I517f70b3bd6df9962f4bb2acf282e4b9fa91acde
/frameworks/base/core/java/android/app/Activity.java
|
71dc28b11eedd0e7c99fe11b832f1301f262ce33 |
|
17-May-2014 |
Winson Chung <winsonc@google.com> |
Merge "Refactoring RecentsActivityValues into TaskDescription, and ensuring they are resolved when set. (Bug 14995928, 14832629)"
|
a449dc033b79775b8945d9cc5a035a6deb145065 |
|
16-May-2014 |
Winson Chung <winsonc@google.com> |
Refactoring RecentsActivityValues into TaskDescription, and ensuring they are resolved when set. (Bug 14995928, 14832629) Change-Id: I582221468e63a96a5dfd132a31b09e72099b170f
/frameworks/base/core/java/android/app/Activity.java
|
dcff99598f16737e75278e8ea9dbfe92579ea234 |
|
16-May-2014 |
Dianne Hackborn <hackbod@google.com> |
Hide voice interaction APIs. Change-Id: I961b6399a6edca239caaba9bbd1dd5e03bc612bd
/frameworks/base/core/java/android/app/Activity.java
|
62ab9b78b77b7dd851c47115f4d8d7611d657585 |
|
02-May-2014 |
George Mount <mount@google.com> |
Support Activity Transitions when activity stopped. Bug 14459812 Bug 14454812 Bug 14450295 A new transport was supported for Activity Transitions in which convertToTranslucent can now take a Bundle to transport to the calling Activity. This also allows waking Activities to regain the communication between the exiting Activity and the calling Activity. Change-Id: I29aee14b7e56d9b8b9fb656f382b2c4172b02e14
/frameworks/base/core/java/android/app/Activity.java
|
233ceeebab7efe6ad4783371003c4cf29b896436 |
|
10-May-2014 |
Craig Mautner <cmautner@google.com> |
Pass ActivityOptions back from finishing activity. Adding an ActivityOptions parameter to convertToTranslucent provides a mechanism for delivering these options to the activity that launched the one that is returning. Fixes bug 13032208. Fixes bug 14469460. Fixes bug 14597427. Change-Id: I4115dd3c69de9d175f6df0498a6e964fca5eca29
/frameworks/base/core/java/android/app/Activity.java
|
77dd7ce506e67c28ab6ddd7f7821c8153036da71 |
|
10-May-2014 |
Winson Chung <winsonc@google.com> |
Merge "Fixing crash in Activity.onApplyTheme()."
|
4d1a434cbd1dbf03f568ecfc10b2f89affc00192 |
|
10-May-2014 |
Winson Chung <winsonc@google.com> |
Fixing crash in Activity.onApplyTheme().
/frameworks/base/core/java/android/app/Activity.java
|
b7a6e198fec1e5c1afa2715b37728db2328c9032 |
|
10-May-2014 |
Winson Chung <winsonc@google.com> |
Merge changes I5d21645b,I8928e357 * changes: Fixing NPE in accessing theme attribute. Better transition between excluded-from-recent applications to recents.
|
aca960204ef4e5300e95679e054802969fa7d141 |
|
10-May-2014 |
Winson Chung <winsonc@google.com> |
Fixing NPE in accessing theme attribute. Change-Id: I5d21645b5530f13e1709021bd818de6bdb1d6544
/frameworks/base/core/java/android/app/Activity.java
|
d9ddf2e9d04f8a53d7445a96aa3e192fa86f08d6 |
|
09-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Introduce persistent forms of Activity lifecycle calls."
|
a002604af0c9b1204556610537b85685d7055996 |
|
23-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Introduce persistent forms of Activity lifecycle calls. When an Activity is created with R.attr.persistable true different forms of activity lifecycle methods including PersistableBundle will be used. Fixes bug 13736007. Change-Id: I7e92917b300b76964257cfcc26c24e76aa19bd16
/frameworks/base/core/java/android/app/Activity.java
|
6e058419503910e0d5f67f9b51b84ad636ffa01f |
|
09-May-2014 |
Winson Chung <winsonc@google.com> |
Merge "Removing the old tasks on launching recents task if they trigger a new task."
|
5393dff555641f5666573952498e27c90fd3edca |
|
08-May-2014 |
Winson Chung <winsonc@google.com> |
Removing the old tasks on launching recents task if they trigger a new task. - Only kill processes when removing tasks that are not started as documents - Tweaking thumbnail animation
/frameworks/base/core/java/android/app/Activity.java
|
607562a7660a9b0eec2a8eb52388bdc7604747d2 |
|
08-May-2014 |
Jason Monk <jmonk@google.com> |
Merge "Fix Docs breakage"
|
41a2e337447a7d6f3e9d66af35e90429e3088be6 |
|
08-May-2014 |
Jason Monk <jmonk@google.com> |
Fix Docs breakage This depends on another API which evidently has not been merged yet, this change should be reverted once the API is available to be linked. Change-Id: I59cb76e158fc0fac68ebd1c0de48b55e52274805
/frameworks/base/core/java/android/app/Activity.java
|
01d1d907530e23f5e86edabada9c354420277df0 |
|
07-May-2014 |
Jason Monk <jmonk@google.com> |
Merge "Make Lock Task API public."
|
a57e5e006bb7c60d0eb77d4ecf43d658b80f9d1f |
|
07-May-2014 |
Jason Monk <jmonk@google.com> |
Make Lock Task API public. Change-Id: Ieaf944dc69e206e091d8257e0f92013b082ceaac
/frameworks/base/core/java/android/app/Activity.java
|
5f97930fc5dd44fcf1864acd53401c00b4de3a24 |
|
06-May-2014 |
Adam Powell <adamp@google.com> |
am c41fa708: am a0516e7a: Merge "onWindowDismissed API cleanup" into klp-modular-dev * commit 'c41fa708271e204a7983aba291389ea1554227b2': onWindowDismissed API cleanup
|
c41fa708271e204a7983aba291389ea1554227b2 |
|
06-May-2014 |
Adam Powell <adamp@google.com> |
am a0516e7a: Merge "onWindowDismissed API cleanup" into klp-modular-dev * commit 'a0516e7ad12a647cc40fb5651e8d14cd39571c7a': onWindowDismissed API cleanup
|
117b695222135cc684e891d4126116b97a64bc9e |
|
06-May-2014 |
Adam Powell <adamp@google.com> |
onWindowDismissed API cleanup Move the window swipe to dismiss plumbing off of Window.Callback into its own internal interface implemented by Activity and Dialog. Make it internal API instead of public. Apps should control this via the window feature setting. Change-Id: I64cd237fa7eab08719b2c34e31dac7d34f02563a
/frameworks/base/core/java/android/app/Activity.java
|
03a9baedc9b933bb6a550c0cb84649b1b45b872c |
|
02-May-2014 |
Winson Chung <winsonc@google.com> |
Refactoring activity method to update recents values. Change-Id: Ic525be207714d34abe0c2d26091c3e46abcd9bad
/frameworks/base/core/java/android/app/Activity.java
|
18f0d357f9693fe787a3e3777d8fdf01357a6e3f |
|
26-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Rework some of the voice interaction APIs. On the app side, requests are now composed by subclassing from various types of Request objects. On the service side, starting a voice interaction session involves starting another service that will then manage the session. This leads the service design much more to what we want, where the long-running main service is very tiny and all the heavy-weight transient session work is elsewhere in another process. Change-Id: I46c074c6fe27b6c1cf2583c6d216aed1de2f1143
/frameworks/base/core/java/android/app/Activity.java
|
91097de49b0f683b00e26a75dbc0ac6082344137 |
|
05-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Initial implementation of new voice interaction API. This gives a basic working implementation of a persist running service that can start a voice interaction when it wants, with the target activity(s) able to go through the protocol to interact with it. It may even work when the screen is off by putting the activity manager in the correct state to act like the screen is on. Includes a sample app that is a voice interation service and also has an activity it can launch. Now that I have this initial implementation, I think I want to rework some aspects of the API. Change-Id: I7646d0af8fb4ac768c63a18fe3de43f8091f60e9
/frameworks/base/core/java/android/app/Activity.java
|
3b3f464445d1d369c8e87f526deba606ca62f76c |
|
22-Apr-2014 |
Winson Chung <winsonc@google.com> |
Piping through ability for an Activity to remove its own task. (Bug 13735914) Change-Id: Iefcd4fbe68748195de8ee37ee2b6edef55276603
/frameworks/base/core/java/android/app/Activity.java
|
31a217290cf376d0573fc36e21c8940987485019 |
|
25-Mar-2014 |
George Mount <mount@google.com> |
Split Activity Transitions out of PhoneWindow. Bug 13622834 Made it possible to use shared elements without making Views invisible. Change-Id: I1e85c6bc19e634a9af225ad7f0309b4f003ea462
/frameworks/base/core/java/android/app/Activity.java
|
cb4b7d999e7bcba608726188421772e313e67163 |
|
25-Feb-2014 |
George Mount <mount@google.com> |
Implement "Back" for Activity Transitions. Change-Id: Iceaf888f57f2c7598f9291687ac9ad76d55bd82c
/frameworks/base/core/java/android/app/Activity.java
|
e43340c80dc66c45edc793ecd0343774aa34d108 |
|
18-Mar-2014 |
Adam Powell <adamp@google.com> |
android.widget.Toolbar Add the new Toolbar widget for use in app layouts. ActionBar can now be used as a point of control for either a traditional window decor action bar or for a Toolbar that appears inline in an Activity's layout. ToolbarActionBar is currently WIP. Change-Id: I0da093e5645840f4fd032aa34efa0ae5f1825ff2
/frameworks/base/core/java/android/app/Activity.java
|
529a43f7194958178055313254cc43a4f73f58b9 |
|
04-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Fix build due to bad javadoc link. Change-Id: I83ca32611fb72b79be271dc3a5bd848934e9174f
/frameworks/base/core/java/android/app/Activity.java
|
688b5105d665a56e6f2f040f3ca89ca3006801df |
|
28-Mar-2014 |
Craig Mautner <cmautner@google.com> |
Implement setActivityLabelAndIcon(). Replaces Activity.setRecentsLabel and Activity.setRecentsIcon. Simple top-down traversal to find the highest activity with a specified label and icon. Adds the Intent of that activity to RecentTaskInfo as well so that Recents can get the launcher icon if UX desires it. Fixes bug 13675322. Change-Id: I62d7d8f4df4dc81012f451e0cdea8a2943aedeec
/frameworks/base/core/java/android/app/Activity.java
|
2fbd7541804f816171849413b095fcfc70e06c1e |
|
21-Mar-2014 |
Craig Mautner <cmautner@google.com> |
Add Activity methods for icons and labels. New Activity methods setRecentsLabel(CharSequence) and setRecentsIcon(Bitmap) have been added. The topmost activity with either of these set will be returned in RecentTaskInfo members activityLabel and activityIcon. Fixes bug 13562992. Change-Id: Ic15d1d27b733b892a2a940063b105ac48f1ffee5
/frameworks/base/core/java/android/app/Activity.java
|
aea74a5977ca9f1054926eb24f247562c3a4a6ba |
|
08-Mar-2014 |
Craig Mautner <cmautner@google.com> |
Add Lock Task Mode. When in lock task mode only the specified task may run. All attempts to switch to another task are ignored until the task finishes or a call to stopLockTaskMode() is made. Change-Id: I6cfe92fe1bcf22cd47b5398c08e23c52a4092dda
/frameworks/base/core/java/android/app/Activity.java
|
fc558d56c2040220853d9912d765cfc535463689 |
|
10-Mar-2014 |
John Spurlock <jspurlock@google.com> |
Fix compiler warning in Activity.java. Otherwise appears in frameworks/base build output. Change-Id: Id4ee4f01ba8026b2629f4c3b30c7152d9bdcfc64
/frameworks/base/core/java/android/app/Activity.java
|
568628dc2cb92b3ec3a87cae9de3203fbdc5968c |
|
05-Mar-2014 |
Will Haldean Brown <haldean@google.com> |
Manually merge commit '2faf28cf' into master Original commit message: Add swipe-to-dismiss support to PhoneWindow. This adds a new window feature -- FEATURE_SWIPE_TO_DISMISS -- and a theme attribute to activate that feature. When the feature is activated, a SwipeDismissLayout is inflated as the DecorView layout. SwipeDismissLayout intercepts touch events and steals ones that are large swipes to the right if its children don't. PhoneWindow registers handlers that listen for these swipe events, translate the window when necessary, and finish the activity at the end of the gesture. Conflicts: core/java/android/view/Window.java core/res/res/values/attrs.xml Change-Id: I943290b436864ca4a1bd401b88d696e08c921cdd
|
11c51608ee1c368dd38b134603e85943629c6f44 |
|
04-Mar-2014 |
Will Haldean Brown <haldean@google.com> |
am bd79652a: Merge "Add swipe-to-dismiss support to PhoneWindow." into klp-modular-dev * commit 'bd79652a9afeee1e81f0f51d11e5869091f58af9': Add swipe-to-dismiss support to PhoneWindow.
|
ca6234e084a71e0c968cff404620298bcd971fcc |
|
12-Feb-2014 |
Will Haldean Brown <haldean@google.com> |
Add swipe-to-dismiss support to PhoneWindow. This adds a new window feature -- FEATURE_SWIPE_TO_DISMISS -- and a theme attribute to activate that feature. When the feature is activated, a SwipeDismissLayout is inflated as the DecorView layout. SwipeDismissLayout intercepts touch events and steals ones that are large swipes to the right if its children don't. PhoneWindow registers handlers that listen for these swipe events, translate the window when necessary, and finish the activity at the end of the gesture. Change-Id: I512e758f3c3ffd3b353dba3b911c0e80a88d6f5f
/frameworks/base/core/java/android/app/Activity.java
|
e180337ee99b9155fe441ea55451f4d2167b5d9a |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Change Activity Scene Transitions to be more automatic redo. This reverts commit 206e30cd93afe3eb72ec94178324417db5424ed2 along with removing the additional startActivity* methods and replaces them with ActivityOptions makeSceneTransitionAnimation methods. Change-Id: I52bec31ae3c4cea6d549810ae5a7acd8aea176d8
/frameworks/base/core/java/android/app/Activity.java
|
206e30cd93afe3eb72ec94178324417db5424ed2 |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Revert "Change Activity Scene Transitions to be more automatic." This reverts commit f10587faadb9080a7bf9991cbe04bac5525da482. Change-Id: I2785a3d2d6b667cad6d61dcbbc1c624161735fa4
/frameworks/base/core/java/android/app/Activity.java
|
121e25dcf0d4da5c1c97fad2bd27dbd361db4153 |
|
26-Feb-2014 |
George Mount <mount@google.com> |
Merge "Change Activity Scene Transitions to be more automatic."
|
f10587faadb9080a7bf9991cbe04bac5525da482 |
|
06-Feb-2014 |
George Mount <mount@google.com> |
Change Activity Scene Transitions to be more automatic. Shared element transitions are enabled by default when the Window has a TransitionManager. Shared element location and size are captured and transferred to the target Activity. ActionBar is treated as a shared element. Change-Id: I0f22ea4e5cbe80254e848444e3f235cb742684f4
/frameworks/base/core/java/android/app/Activity.java
|
8a985d24ce9a38f40ed88fecbdcd0e75e3a68f44 |
|
25-Feb-2014 |
John Spurlock <jspurlock@google.com> |
Tabs -> spaces in frameworks/base. Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
/frameworks/base/core/java/android/app/Activity.java
|
449e46600f75a21975ceb1c991f768f833ed7fbf |
|
21-Feb-2014 |
Elliott Hughes <enh@google.com> |
am 0047d3e0: am e253b514: am 29d60b95: am 8d41e653: Merge "Miscellaneous small documentation fixes." * commit '0047d3e025b43fd2dc05734f7ea6229291445046': Miscellaneous small documentation fixes.
|
0a778eda690a66173733a63622886e888d405c45 |
|
13-Dec-2013 |
George Mount <mount@google.com> |
Cross-Activity Scene transition API. First pass at API for cross-Activity Scene transitions. Remaining work: Transition back Automatically capture hero element info Transfer of surface texture to synchronize between Activities Possibly use scene names to indicate preferred transition Change-Id: I59d07de1fae694a46b92b1c82525daa301ec1377
/frameworks/base/core/java/android/app/Activity.java
|
9525f2a72e2786f1b53927878dd8234859ea5c39 |
|
02-Jan-2014 |
Mark Doliner <markdoliner@google.com> |
Miscellaneous small documentation fixes. Most of these I noticed on my own. The change to docs/html/tools/testing/testing_ui.jd is mentioned in a bug report: https://code.google.com/p/android/issues/detail?id=56324 Signed-off-by: Mark Doliner <markdoliner@google.com>
/frameworks/base/core/java/android/app/Activity.java
|
cfbe9be5b3b701d95fb24fa0f7c8d9be43eec776 |
|
06-Nov-2013 |
Adam Powell <adamp@google.com> |
Add support for cross-activity scenes and transitions * Add theme attributes for specifying a top-level TransitionManager for an activity window. * Add window feature for automatic content transitions. This automatically assigns/creates a Scene for setContentView calls. * Add named transitions. This allows apps to define APIs for handshake-agreements about which exit/entrance transitions to play. * Add new transition type for ActivityOptions. This lets the system use ActivityOptions to communicate transition specifics and arguments to the called activity. * Have ActivityManager pass appropriate ActivityOptions through to the called Activity. Have the called activity call back into the caller to let it know which transition of a possible requested set was chosen. Still to do: * Define and pass arguments for transitions. This will require defining a Parcelable version of TransitionValues and deciding how much leeway apps should have for these things. * Determine how to appropriately filter the ActivityOptions bundle so that only appropriate data reaches the target. * Determine if generalizing the auto-Scenes functionality to ViewGroups is appropriate. Change-Id: I10684b926129ab2fbc1adec9ef31767237acae79
/frameworks/base/core/java/android/app/Activity.java
|
2525d9c8437c34440e4df0583f333a06a5c4fc10 |
|
15-Nov-2013 |
Alan Viverette <alanv@google.com> |
Deprecate Activity.setTitleColor() BUG: 11712103 Change-Id: Id34ffb59d3f848c591a98880c6cdd9058e5a38dc
/frameworks/base/core/java/android/app/Activity.java
|
943345f92a4465b16a3592c21f50f7f3d6f488b9 |
|
01-Nov-2013 |
Michael Wright <michaelwr@google.com> |
am d35e94a3: am 6be8dde6: am 4846a93b: Merge "Only call dump when a ViewRoot actually exists" into klp-dev * commit 'd35e94a3cbd27f08430c593930c989a36f17a833': Only call dump when a ViewRoot actually exists
|
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
|
b1eb620219de034b28a0130b07ca05140c4ff830 |
|
18-Oct-2013 |
Jeff Brown <jeffbrown@google.com> |
am 83bf4404: am 3e3296e5: am 82f31701: Merge "Log view root, input and looper state in bug reports." into klp-dev * commit '83bf440440309a394f792e3d8a6acb98197d9d7c': Log view root, input and looper state in bug reports.
|
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
|
0fae349f19e2f4738c12f4849054c72a007770b0 |
|
10-Oct-2013 |
Dianne Hackborn <hackbod@google.com> |
am 353ec474: am 8029493f: am f012b777: Merge "Fix some doc issues." into klp-dev * commit '353ec47422cbd1bb40f19e7ec9ec6b4f300ee3ab': Fix some doc issues.
|
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
|
ebcb9ecf2b534c1a27b72c66bad05903e9e9b233 |
|
13-Sep-2013 |
Chet Haase <chet@google.com> |
am 9501a452: am e850c973: Merge "Hide translucent activity conversion API" into klp-dev * commit '9501a452af30dd15559804193c8183bbaa42a669': Hide translucent activity conversion API
|
d9273d6f289d9b55da3fd0db2f659fdfb48106a8 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add typedefs and nullness annotations. This changeset adds in typedef annotations (custom annotations marked with @IntDef) for various int parameters and return values in the API. It also adds nullness annotations for cases where the documentation explicitly mentioned null policy, or where it was blindingly obvious from the context. Also fixed some typos in the documentation. Change-Id: Ica27c01368895818e26237544edd8483007155bb
/frameworks/base/core/java/android/app/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
|