299f960e5e5837da44cd81692388f3cbd5d2c362 |
|
26-Jan-2015 |
Craig Mautner <cmautner@google.com> |
Add reason string for bringing stack to front Additional debug and useful information. Also removed am_resume_activity verbosity and refactored method to eliminate unused parameter. For bug 17721767. Change-Id: Ie1c0652a38a0c6ae6db27a52a9e5da29e252e300
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
de313753d0fd0173d0558518d9a410fdc0127c76 |
|
22-Jan-2015 |
Craig Mautner <cmautner@google.com> |
Even more debug for bug 17721767. This time adding events for stack movement and focus change. Change-Id: Icdff9763ac2daf85c615992fa2c8e418e907908c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
f3ea23ad9bcd44bdbc8380c413989fc887b89cc8 |
|
13-Jan-2015 |
Craig Mautner <cmautner@google.com> |
Complete booting when frontmost activity is idle The boot process is intended to complete when the frontmost activity becomes idle. This change fixes a corner case where the system was booting and the Home activity became idle when it was not at the front causing the system to never complete booting. Before ag/603303 a secondary stack was created for the TaskPersister at the beginning of activity manager systemReady(). Following that change the secondary stack was created for the first time when a task was restored from system ui recents when getTaskThumbnail() was called. At the time it was created it was also moved to the front of the stack order. If that stack creation happens to occur after the Home activity is started but before the Home activity becomes idle then the new stack will obscure the Home activity and the boot process does not complete. 1. This change adds a test for an idle activity coming to the front when a stack is moving to the front and we haven't completed booting yet. If this situation is detected the boot sequence is then completed. 2. This change fixes the stack ordering so that creating a new task when restoring recents does not automatically move the stack to the front. Fixes bug 18949470. Change-Id: I243f0bb4396b518a0a8835c0c7bdccb2581a3520
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
1d893785bdd8af210eab861653e3e7664c728897 |
|
05-Jan-2015 |
Wale Ogunwale <ogunwale@google.com> |
Merge "Don't restore persistent task to a stack until needed." into lmp-mr1-dev
|
6b904ef4741321dcb01caee9795c2a044018706c |
|
18-Dec-2014 |
Craig Mautner <cmautner@google.com> |
Make window mgr stack movement track activity mgr There were situations where the activity manager ActivityStack was moved to the front but the corresponding window manager TaskStack was not. This caused the wrong activity to receive focus which led to Application Not Responding errors. One path in particular occurred in startActivityUncheckedLocked() where curTop.task != intentActivity.task and sourceStack.topActivity().task != sourceRecord.task. In this case targetStack.moveTaskToFrontLocked() was never called. This fix forces all calls to ActivityStack.moveToFront() to make a call to WindowManagerService.moveTaskToTop() and eliminates redundant calls to moveTaskToTop(). Fixes bug 17721767. Change-Id: Ibf01389810dd36724eaec5a4a07560144b2f4cef
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7de0535701351d76b634ab18577269e8130749ea |
|
13-Dec-2014 |
Wale Ogunwale <ogunwale@google.com> |
Don't restore persistent task to a stack until needed. On boot-up we restore all persistent tasks to an activity stack. This can cause issues with the activity stack supervisor when it tries to make restored tasks with activities visiable when they shouldn't be. Which ends up messing up the order of the recents list. Now we don't restore persistent tasks to an activity stack on boot-up. Instead we add the task to the stack when it is needed. Also, fixes issue with not been able to launch task records with activity records that were restored from an other device. Bug: 18692762 Change-Id: Iad0e6635f8c5d1dab4d341feb3e7b06291a94739
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
cd5d198d7e852bc68871a279afbaa1b94e86a023 |
|
01-Aug-2014 |
louis_chang <louis_chang@htc.com> |
[ActivityManager] Fix NPE when start activity Cherry picked from aosp. Fixes bug 18593457. Symptom: NPE occurs in line 1184 (resultStack.sendActivityResultLocked) because resultStack is null. Root cause: When starting activity with FLAG_ACTIVITY_FORWARD_RESULT flag, the resultRecord could be updated, but the resultStack is not updated as well. In that case, the resultStack is still be null. The exception will occurs if the activity is not granted to launch due to permission denied. Solution: Update resultStack when resultRecord updates. Change-Id: I91634e4f713c2e8dbd1a71f358a8fd9beed83ec7
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
740c3ac782675d190941b2ab1905e56f246c1b11 |
|
13-Nov-2014 |
Winson Chung <winsonc@google.com> |
Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345) Add a listener to listen for changes in the Task stacks to preload thumbnails from the system. In addition, reduce the amount of synchronous work done in activity creation and first measure/layout passes. Change-Id: I8bd9155d7a05e89c190a20429acff69a17808208
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
30bd3bb77b8bd1ac70723bcf7f1017fc40ea89b2 |
|
13-Nov-2014 |
Craig Mautner <cmautner@google.com> |
Revert "Debug for bug 18017409" The bug has been fixed. No longer needed. This reverts commit 5a3c231dc832c205d2bb2f7f0881925b92c9e5e2. Change-Id: I4a0dda5321f4eeb989c4c58951c43c8d62fd3664
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
44f60cca7bb31e2f9b4b7bf25bb2e0cfb0e3e1e1 |
|
07-Nov-2014 |
Jorim Jaggi <jjaggi@google.com> |
Fix lockscreen launch animations once and for all In SysUI, make sure not to dismiss Keyguard multiple times when just waiting for a deferred dismissal, so WindowManager doesn't get multiple calls to keyguardGoingAway. Change heuristics how notifying Keyguard about activity drawn works. Always notify Keyguard after executing an app transition, and notify it also when not doing a transition after a startActivity call. For that to work, update AppWindowToken.startingDisplayed also when the window is displayed, but force hidden because of Keyguard. Further, handle the case correctly when a window gets added during the Keyguard exit animation by overriding the start time for the animation of that new window. Also don't apply a transition animation for a window when executing keyguard exit animation, so by removing a starting window we don't break this animation. Last but not least, tell Keyguard to start exiting immediately if animations for exiting are disabled, like when going to phone/camera on lockscreen. Before, we always had a delay of 1 second because we waited for the timeout. Bug: 1599196 Bug: 18272544 Change-Id: I596b2489f814b934abd256e16079d3d3f326e209
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
42d04db459e5a510c8c815c38e17e419c3e3b404 |
|
06-Nov-2014 |
Craig Mautner <cmautner@google.com> |
More fixes for keyguard animations. Add a state machine for calling comeOutOfSleepIfNeededLocked() so that it is only called after the lockscreen has started dismissing but not before resumeTopActivityLocked(). Also keep resumeTopActivityLocked() from being called from comeOutOfSleepIfNeededLocked() recursively. Have starting windows count towards notifying the keyguard that a window has been drawn. Do not update wallpaper animations based on their not being included in the windows being animated if there are no windows being animated. And always improve logging. Fixes bug 15991916. Change-Id: I0d21c5337f0e89d9eacc8dab2cdaa52fec43ac0b
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
2e647efe01dcdb82d2d7f8a23540ba6b690a95d6 |
|
03-Nov-2014 |
Jason Monk <jmonk@google.com> |
Merge "Move LOCK_TO_APP_EXIT_LOCKED from System to Secure" into lmp-mr1-dev
|
c0d2d0ad6ddcd23b7bbe6b1a5668d6d719e4c86c |
|
01-Nov-2014 |
Craig Mautner <cmautner@google.com> |
Animate starting windows when keyguard dismissed. Starting windows are displayed prior to their app windows visibility being set. Consequently the WindowToken.hidden boolean for starting windows is still true even when it is shown. The keyguard logic uses the method WindowState.isVisibleNow to determine whether to animate each window. This method incorrectly determined that starting windows were not visible based on WindowToken.hidden and consequently didn't animate in the starting window. This change fixes isVisibleNow() to correctly determine when starting windows are visible and animates them in as part of the keyguard transition. This change also adds keyguard debug. Partially fixes bug 15991916. Change-Id: Iac3e5f3f33876be5801ec619bbe7a1579e648322
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
94cfd9d7c42287c18bde29aa1ae34944eb448f45 |
|
31-Oct-2014 |
Jason Monk <jmonk@google.com> |
Move LOCK_TO_APP_EXIT_LOCKED from System to Secure To prepare for controlling from settings. While here, add lock to app settings to backups. Bug: 16957435 Change-Id: I059140cd07a7a0d5ceb4e0bfe5e0176cb96629d3
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
5a3c231dc832c205d2bb2f7f0881925b92c9e5e2 |
|
22-Oct-2014 |
Craig Mautner <cmautner@google.com> |
Debug for bug 18017409 Log adding and removing windows. Log activity state changes. Change-Id: I544be89ff9af6b13ffde70dedec291793b46a420
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
3d7485c1728b56dd5cde7b0097c907ad494702a8 |
|
15-Oct-2014 |
Craig Mautner <cmautner@google.com> |
Remove unnecessary logging. Change-Id: Ia5b5325707f2f02f2c585130938565065e974938
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
737fae2b2ea77e390c0dc1c91e9e1a98dac07d22 |
|
15-Oct-2014 |
Craig Mautner <cmautner@google.com> |
Move desired task to top if not already there. Under certain circumstances when launching a new activity, the topmost stack activity is moved to the front even though the activity is being created in a different task. This checks if the topmost stack task matches the desired task and if not, moves the desired task to the top. Also make activity dump ordering consistent. Fixes bug 17721767. Change-Id: I59397f31b629a208f3863887c57d6f6fb1f6e1f3
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
9449a6162e275531857464acc2279894d5d6a240 |
|
02-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17740687: Device does not boot after flashing LMP dev TOT(1478825) build. There was a path through idle where we could clear mBooting but not set mBooted, so we would no longer start activities. This is probably happening because if you start a user or userdebug build with the device plugged in to adb, the system early on starts the USB security dialog, before home is started. If that goes idle first, we will end up in the case where we clear booting (because something went idle) but not set booted (because it was not home that went idle). Change this so that we always set booted when clearing booting. Change-Id: I40053710eefa939315aeb9475ecdd2e8a87351ff
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7622a0f8e4198adf0aae5d4e167ee132b34f4cdb |
|
30-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Maybe fix issue #17700474: manta: high occurrence of device booted... ...but dev.bootcomplete flag is not set Rework things to address a few issues I found: - When the activity goes idle, the way we were handling finishing the boot there was calling finishBooting() with the lock held, but it shouldn't. We now dispatch that and turning on the screen together in a separate message. - Make sure we don't try to start the home activity until we have reached the point of the system being ready and mBooting being set. This ensures we don't do any work prematurely. Change-Id: If30c1f287af73bc2164e7aadbe98022ae42cc5e7
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ff072725e39b8c6928d6ca2d7e263d7d081a2288 |
|
24-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #17624121: Settings crash while launching on wiped device Cleaner paths and better error reporting when a problem goes wrong while binding an application. This gets rid of the (recently added) error about removing a process that hasn't been killed, and cleanly kills the process along with more detailed errors about where things failed. Change-Id: I710a209c14da1515929e6254396b793177eee115
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
103b143ecd347dd0f4894209188fd6afa561c9a3 |
|
18-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Don't remove active stacks from window manager" into lmp-dev
|
88924b62fc63ecaf6410f1a1d76e9c54cab0ebef |
|
18-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #17536024: The am start's wait option doesn't..." into lmp-dev
|
6025770e6b8e19f2fd9f5099ec30f59bc439b48e |
|
18-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Don't remove active stacks from window manager Background: In ag/406771 we stopped deleting empty stacks in activity manager and window manager. This fixed a problem where dormant tasks were being added back to stacks later. In ag/476888 we introduced a callback to inform the ActivityView holder that the embedded task was complete. This callback was made from the new method ActivityContainer.onTaskListEmpty(). In ag/483035 onTaskListEmpty() was expanded to detach the stack of the ActivityView and also removed the stack from window manager. There was a mistake in that CL that causes it to remove any non-home stacks, not just ones in ActivityViews. That mistake left us with an empty stack in activity manager and no corresponding stack in window manager. As a result, when trying to bring back a task that used to be in this stack window manager threw up an exception. This fix limits the stacks detached by onTaskListEmpty() to those on VirtualDisplays. Fixes bug 17469145. Change-Id: I85a4452e8e85625e657d88e4cb9f366fd4026441
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
6cfbb718905210d146fbe8fb18c8e124f24845ec |
|
17-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17536024: The am start's wait option doesn't... ...give time in some cases This switch to multiple stacks broke the check to determine if it should actually wait for a new activity to be shown. The new check now also requires that the top activity be resumed, which means we may get some false positives where we decide to wait and shouldn't, but that is better than consistently not deciding to wait in some cases when we should. (And we will always finish waiting then next time something becomes visible). Also add another time, which is how long it took from the startActivity call to return with the result. And fix when we decide to report that we are done so that, in the case where we are bringing an existing activity to the foreground, we don't wait until its animation is complete. Change-Id: Id38ca0070f04e7bf8c73e131fb055808553a0e2f
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
95465200b0f652c48d40ca1028238763dd647900 |
|
16-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17507017: took ~3 seconds to move an app to the foreground This is because of the 5 second timeout from when the user can bring home to the foreground until regular third party apps can launch an activity on top of it. Activities launched from notifications look like they are being launched by the app, so get impacted by the timeout. Fix this be also looking at the actual caller to see if they are allowed to pop in front regardless of the timeout. Change-Id: I63fbc2bcabf585e6d2810a2309f0613fdf91fdf5
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
f075330db4d0831588b45a1206467da03c0d906f |
|
15-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #16907799: Processes containing bound services..." into lmp-dev
|
465fa3963534e41ead0dce1273b71fd50c58c973 |
|
14-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #16907799: Processes containing bound services... ...are killed over eagerly. When the current foreground activity is moving to the background, it was briefly going through the CACHED_ACTIVITY state before the correct LAST_ACTIVITY state, allowing its bound service processes to be killed (because they went in to the cached list). To solve this, as long as a process has stopping activities, it won't go lower than LAST_ACTIVITY. Also fixed a problem where we could put a process in CACHED_EMPTY instead of CACHED_ACTIVITY_CLIENT. There were a number of cases in the binding flow and also the client process state transitions where we would not correctly updateing the bound client activity state. And add some sanity code so that if a process hosting a service is killed, and a client process of that service is in the cached state, we kill the client process. This avoids situations where we can start thrashing around in the cached list because we are restarting process for no reason -- since they will just continue to be cached. Finally, tune the process LRU list to allow twice as many cached activity processes (from 8 to 16), so we can make better use of the RAM we have available these days. Change-Id: Ib0cdf78c321cbb035259fc9dd6ee27b5ba1f90c5
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
1a70a16b64620e416ae8353960c6af6c40274e7a |
|
13-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Add null checks for quickly disappearing Displays If a display is removed right after it is added we will get null when trying to retrieve it from the DisplayManager. Check for that null before commiting to using that display. Fixes bug 17478906. Change-Id: I89ae8cc7387729d678b9b1ed5b1797a93cdde3f9
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ff56885db332549d58d4d5f83a50bfac2353e43c |
|
08-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Relax requirements on Activity.requestVisibleBehind" into lmp-dev
|
d2a38c78543c913da851d6c377c1890a20516a23 |
|
08-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Ignore finishing activities when fetching the top" into lmp-dev
|
0175b882b5e021907c307ab0e455bff014ad8784 |
|
08-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Ignore finishing activities when fetching the top When the top activity is finishing we don't want to be comparing it for matches to launching activities. This was keeping curTop from matching itself when launching a lower task. Fixes bug 17383648. Change-Id: I837ac087ef965d99d12c98ab1c779de46716e204
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
aea5ceded8015b45e8372b83a02f184974f52d6e |
|
08-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Relax requirements on Activity.requestVisibleBehind The requirement that the top app be resumed in order to request background visibility was too strict. In particular when the background app is pausing the top app will be stopped waiting for pause to complete. This is an appropriate time for the background app to request visibility but we were rejecting that request. Also, there is no need for the top app to have an active thread except to notify it of the changed state. Fixes bug 17383876. Change-Id: I52f910baf6c109565694e053445516e1e5fd1c48
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
a4e102ee580282dc7abeb22f4a025813e53b9431 |
|
05-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Work on issue #17357238: Recents is often slow if not used in a while Add a new activity attribute, resumeWhilePausing, that allows an activity specifying it to immediately start running without waiting for the previous activity to pause. The recents activity is updated to use this. The implementation of this is ultimately fairly simple -- if we are in the path of resuming such an activity, and find that we first need to pause the existing activity, then within the activity manager we do the regular pause flow but act like it has immediately finished pausing right then so that we can immediately go on to the resume. To make this clean, we tell the activity when asking it to pause that it should not come back and tell us it is done, because we aren't in any way waiting for it. One potentially important change I needed to make here is the pause callback no longer provides the saved persistent state, because we now can't count on that callback happening. I don't think there was really any utility in this anyway -- all modern apps will have their save state flow happen as part of stopping, not pausing, so we'll only capture that saved state when the stop is reported back anyway. And since we do send the saved state back when stopping, it would always blow away whatever we had gotten at the pause. Finally, update the documentation for AppTask.startActivity(), and fix the implementation handling that to be cleaner -- we need to deal with inTask first before getting in to "oh noes add NEW_TASK if this isn't coming from a calling activity" flow. Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
02a4aa261c28df2466234106d61282289276b462 |
|
03-Sep-2014 |
Craig Mautner <cmautner@google.com> |
Unconditionally move stack to front. Recents was depending on using moveTaskToFront() to also move the task's stack to the front. But that only works if the task is actually in the stack because moveTaskToFront() doesn't do the stack movement if the task is no longer in the stack. This change calls ActivityStack.moveToFront() in addition to moveTaskToFront(). Fixes bug 17361027. Also logs callingUid when starting an activity. Change-Id: I023f956bafae00f45c58757ff5707ce520f02b55
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
c8838dfbec12d17cdf89a03bd4512d13e93ae910 |
|
02-Sep-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #17322903: Crash in systemUI while launching an app from recents tab" into lmp-dev
|
962d535464eb79b11c346236f6889ad76a966e56 |
|
30-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17322903: Crash in systemUI while launching an app from recents tab We now do sane things when adding a NEW_TASK to a task that already has activities in it. Change-Id: I965d6d44f9523e6199b1d90293f61ae5b8c352a4
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
2c924fb2c7dfba69d2913943598cbc61945d4f1d |
|
29-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17329066: Crash in ActivityManager Change-Id: Ib59b7a8d65b3abece82bc58897e21600af4d73f5
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
d7c9289f935992f4ae2fc032747f9e04bb86a7d0 |
|
28-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17289876: startActivityFromRecents appears to launch the wrong task It would be good to actually bring the task to the front. Also, make the flow when inTask is provided better match what happens when we go looking for a task on our own. And this includes another fix that was supposed to be part of a different change but I forgot this class is part of the framework project now. Change-Id: I3cf05f2e585c0fd7a0dbb7c7cf9fb1655764dd93
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
80e29b66c5966f6af77e7404ab4b6321ef5cf23b |
|
27-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #17179314: Make recents limits consistent" into lmp-dev
|
852975d5377bfe5f4abc9d2a28e301aa2fa99994 |
|
23-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #17179314: Make recents limits consistent The max limit is now 100 (or 50 on svelte devices), and that is what everyone used. Re-arranged things so we have a big expensive "fix the world!" function for recents that we go in to at only select points: when first initializing the system, when external storage comes and goes, and if we detect something wrong with the recents structure. With that, now getRecentTasks() and addRecentTaskLocked() are generally much simpler, doing very little work in most cases. This will help a lot with scaling up to many more recents entries. Change-Id: I7b5ae89edc06568f68c8af54a4420aff7635581c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
4610545dd28ebf316704e119572521e97dbbd6bd |
|
26-Aug-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev
|
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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
79323120dd1faf139c4d881e2d817d1b8085d252 |
|
26-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Remove redundant call to window manager addTask() If there are activities in persisted tasks then calling addAppToken() will automatically call addTask(). If there are no activities then calling addTask() is a nop. In either case the call to addTask() is unnecessary. It was actually worse than unnecessary because in the former case we ended up with two identical tasks in the Window Manager. Fixes bug 16958544. Change-Id: I2dc4b50aa94668873c1a783c47e0c696d62616f0
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
abc2358778b13137b2d49b0f2d10ac0b9bf277d2 |
|
21-Aug-2014 |
Jason Monk <jmonk@google.com> |
Merge "Lock task doesn't always end properly." into lmp-dev
|
835495c1175cd159635997ecff4281eb51e72fe6 |
|
20-Aug-2014 |
Jason Monk <jmonk@google.com> |
Lock task doesn't always end properly. This can result in the keyguard not being re-enabled, the status bar being in a bad state, and various other weirdness. When a task is going away, it needs to send the standard lock task ending messages so that exiting the state can be handled properly. Bug: 16010327 Change-Id: Id7ee632f4765af0af209b70fb69dd75f2e541820
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
34ff492978d30569e694f7427be430dce66cac06 |
|
19-Aug-2014 |
Jose Lima <joselima@google.com> |
Fixes for a few bugs related to visible-behind activities - Allow activities currently not visible to switch back to not visible-behind state. - Do not allow an activity that is not set as the visible-behind activity to cancel the visible-behind state. - Immediately mark a finishing activity as no longer visible behind. Bug: 17070266 Change-Id: I2c5016793e5264013b8a54b84098e6ffae34ae6c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ad400af809d4f0da7e3747922ddae6c1828a96bb |
|
14-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Fix singleInstance usage when singleTop intended In ag/499591 launchSingleInstance was mistakenly used to replace r.launchMode==ActivityInfo.LAUNCH_SINGLE_TOP. This fixes that and... fixes bug 16898764. Change-Id: I0c0cc3b67eda69276dbe1dd5da4f17556651b1ff
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
4a8dddbf18fedb33bb2c725db489669a141e1d73 |
|
13-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Clean up app following death when creating service If an app has died, run through the cleanup before relaunching its service. Also a little simplifying refactor. Fixes bug 16979752. Change-Id: I376cbef2ea00fc626588386317f092cc6dea0bdc
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
8de4311c51229efbe2f2d0afbf298982c5cadd96 |
|
11-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Lockscreen launch animations - Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was used for two different things: Dismiss keyguard from somewhere else (not really necessary anymore), wait to actually dismiss keyguard after the window behind is drawn. Instead, introduce keyguardWaitingForActivityDrawn(), and change the semantics where necessary. - Make wallpaper_close_enter consistent with task_open_enter and the Keyguard launch animation. - Close the panel even on lockscreen when launching a notification. - Block notification shade updates during the collapsing motion so notification don't play the disappear animation immediately after having launched a notification. Bug: 15991916 Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
fee26771cfed736d207a8ee9c97134c848be1a52 |
|
05-Aug-2014 |
Winson Chung <winsonc@google.com> |
Ensuring that we update the calling uid/package when updating a task's original intent. (Bug 16676636) Change-Id: I5d75a912e86e83f05717cb19e9b6edb02eb053e6
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
fa387ad6cfa996d09050f8f6c39eaa0537893d20 |
|
05-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Make next activity opaque when media stops Call convertFromTranslucent on next activity when an activity below it stops playing media. Fixes bug 14469711. Change-Id: I7e4346987cb620cb3a8c09096ff3a639cf344679
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
e069779dea07c77fb858a403c42020e39b3d9c60 |
|
04-Aug-2014 |
Jason Monk <jmonk@google.com> |
When exiting lock task require authentication When exiting lock task with screen locking on make sure to notify that the credentials need to be entered again. Bug: 16496374 Change-Id: I891a8a8a04a67aa70eba8ea78bd585ad0dd17808
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7544c829972d5ea33ab2ac9ec1e9a4974909d8d8 |
|
29-Jul-2014 |
Craig Mautner <cmautner@google.com> |
am 09875ec7: am 0fa45d93: Merge "Remove PendingActivityLaunches based on stack." into klp-modular-dev * commit '09875ec7292b19e07c38b6127406d6aa7490e26c': Remove PendingActivityLaunches based on stack.
|
0fa45d93f7265c130d5dc49a51130ed74db5cec9 |
|
29-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Remove PendingActivityLaunches based on stack." into klp-modular-dev
|
7f13ed37fd2a0533fa7c5e330519decd89fdc1d5 |
|
28-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Remove PendingActivityLaunches based on stack. Was previously removing by trying to match activities, but the activity being matched would not have been in the stack yet. Since it doesn't get added to the stack when it goes into the list of pending activities. By removing all pending activities associated with the stack we clean up all such pending activities. Fixes bug 16045752. Change-Id: I6b5981ffcce674139837b06362e573299bbc9e52
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
4b4971b8a31f29e9dd3d27d54a49914a7c3ec1fb |
|
26-Jul-2014 |
Jeff Brown <jeffbrown@google.com> |
Fix a deadlock due to AMS calling into WMS with its lock held. The full deadlock cycle involved ActivityManagerService, WindowManagerService, and DevicePolicyManagerService. Fixed by posting the work of enabling the screen to the handler instead of doing it immediately while holding the activity manager lock. Bug: 16578860 Change-Id: I10514cd2df993c7193747ae823e1990a2c34e196
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
2961ce599ebee4895d2c9720fff7f011e7d4a0cd |
|
23-Jul-2014 |
Jason Monk <jmonk@google.com> |
Make the 'locked' lock task not lock keyguard on exit While here also fix mIsLockTaskLocked to actually be set to a value so that it can be used. Bug: 16347391 Change-Id: I27416f4787b28d19d84f895889eea1d3202c1759
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
9353e1a2b2e8f02377c3f73565964ffb0927c776 |
|
17-Jul-2014 |
Prashant Malani <pmalani@google.com> |
Merge "Make the booting flag update unconditional" into klp-modular-dev
|
84b08adcbb71fcaa860987f341310c7902a5a7ac |
|
16-Jul-2014 |
Prashant Malani <pmalani@google.com> |
Make the booting flag update unconditional In case an Activity is started before we idle, there is a chance the booting flag might never get updated. Bug: 16015648 Change-Id: I46504bd126573e3a2ce1f914be922765ae9fe560 Conflicts: services/core/java/com/android/server/am/ActivityStackSupervisor.java
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
c39d47a8e7c74bd539104b0efab898ef6fc43ddf |
|
09-Jul-2014 |
Michael Wright <michaelwr@google.com> |
Add MediaProjection APIs. The new MediaProjection infrastructure allows the system to hand out tokens granting the ability to capture the screen's contents, audio, etc. at a granular level. It's intended to be used both for screen casting, via the cast APIs, as well as screen sharing via third party applications. The screen sharing case is implemented, but all of audio capturing is still forthcoming. Change-Id: I4b24669bed7083e11413c10ed8d6b025f5375316
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
e2e280ec591d59f47d55b8a8552de2f4c7fb1636 |
|
17-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Restore calling identity before checking permission" into lmp-dev
|
85c11a8831ba9572813f122674b3680ae4d14010 |
|
17-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Restore calling identity before checking permission Using the system service identity to check the CHANGE_CONFIGURATION permission isn't likely to catch a security violation. Changing back to the original caller and then checking permissions is preferred. Fixes bug 16215650. Change-Id: Iff08d04422bcc052a487194154f1fd0d727d38f4
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
aa9b0f15753541ff8e4d62e6497c11800c737077 |
|
17-Jul-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of 0a931069 to lmp-dev Conflicts: services/core/java/com/android/server/am/ActivityManagerService.java services/core/java/com/android/server/am/ActivityStackSupervisor.java Change-Id: I68e8290566b51fadb5671abdd9d05faf28502e22
|
ee36c77acd3b92c64e53e19c570e2482382db870 |
|
16-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Additional cleanup after stack deletion. - Remove activity from PendingActivityLaunch list when it is removed from stack. This prevents the delayed launch causing IllegalArgumentException in b/16045752. - Move PendingActivityLaunch from ActivityManagerService to ActivityStackSupervisor. - Immediately call onTaskListEmptyLocked() in cases where no activities are found in stack. Fixes bug 16045752. Change-Id: Ia69a449e7f5e08ab6e36157d0fd793c4d2fdaca4
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
14bff9f55eccaf279419cb529711039e13e1e1d7 |
|
16-Jul-2014 |
Prashant Malani <pmalani@google.com> |
Make the booting flag update unconditional In case an Activity is started before we idle, there is a chance the booting flag might never get updated. Bug: 16015648 Change-Id: I46504bd126573e3a2ce1f914be922765ae9fe560
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
febcb9d42bb6b458a3bbe59730476518f5a252d7 |
|
16-Jul-2014 |
Jason Monk <jmonk@google.com> |
Merge "Finalizing lock-to-app UX" into lmp-dev
|
bb742462781a73bb25516067c8fe6311c1c8a93e |
|
08-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Launch activity behind launching task. Use ActivityOptions.makeLaunchTaskBehindAnimation() to launch tasks behind the current task. Includes animations for launching and launched tasks. Fixes bug 16157517. Change-Id: I0a94af70b4748592e94673b958ee824cfb3d7ec0
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7779bf1ce8243d9f856c05db3cc5a37a8227a970 |
|
14-Jul-2014 |
Jason Monk <jmonk@google.com> |
Finalizing lock-to-app UX Simplifications have happened to remove the enter/exit layouts and just use a toast to notify the user, and the in text icons have been removed. The enter dialog now has a checkbox to see if the lockscreen should be locked on exit (since it isn't in settings anymore). Also updated strings. Bug: 15836599 Change-Id: I3ab685bf3672c8a7f9d83d12e81f0099968cdfde
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
a228ae95ea2f842c0e84f237c64bf032689410dd |
|
09-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Add task affiliation Introduces new flag Intent.FLAG_ACTIVITY_LAUNCH_BEHIND which causes the newly launched task to affiliate with the launching task. (Later this flag will also launch the task behind the current task). This shows up in a new member of the RecentTaskInfo class. This also causes the recents list returned by getRecentsInfo to be rearranged so that affiliated tasks are together. Fixes bug 16157517. Change-Id: Ia1386af50da2f01809278b62d249f05c6a0de951
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
409297da182267465adbc21cfb75a23e8d678117 |
|
11-Jul-2014 |
Dianne Hackborn <hackbod@google.com> |
Allow INTERACT_ACROSS_USERS for service access. But only if the two users are in the same profile. Also apply the same rule for the recently allowed interaction across content providers. The activity manager now keeps track of which users are in the same profile group, and the handleIncomingUser function has an option to allow a non-full caller to do the interaction if the two users are in the same profile group. Spread this joy all over the place. Also turn off multi-user on Svelte devices. Change-Id: I231484ea2a6bfccbb3cd51357d7a387bd75039ea
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
6ea0d0a2592395b8980c24304733daec628e947e |
|
03-Jul-2014 |
Dianne Hackborn <hackbod@google.com> |
Fix cleanup of voice sessions. They would leave active voice activities lingering around. Change-Id: I5b6716ab303636ebdf2f13c3172552a73dae3bb1
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
a8f569c10a423ced5be7e019c3df2bca11b052f5 |
|
07-Jul-2014 |
Jason Monk <jmonk@google.com> |
Add toast when user tries to leave lock-to-app The toast will describe how to exit when entered normally, but when entered by a DPM whitelisted app it will just notify them they are in the mode. Bug: 15780115 Change-Id: I75ac8540c31a75ac68e34b3b5c8260e191894b39
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
c0ffce5ddd6446f1d46a49cdfaeda4a2ce408e1d |
|
01-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Use cached thumbnails in Recent tasks. The thumbnail returned from ActivityManager.getTaskThumbnail() now contains either a Bitmap or a ParcelFileDescriptor that points to a file containing a compressed Bitmap. The Recent tasks list is now responsible for all thumbnail Bitmap caching as the activity manager keeps only the most recent 5. This also permits low memory devices to have many more tasks in the Recent tasks list. As part of this CL the concept of subtasks is removed eliminating code supporting the TaskAccessInfo and IThumbnailRetriever classes. Fixes bug 15828934. Change-Id: I0fd0320a1a04e3c78d79357899b83a2fff97abf2
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
76e2a765b495f15a718dc4dfd9d81e9539a7074b |
|
24-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Don't set return to recents on every resume Checking for previous task to be the Recents activity every time through resumeTopActivityLocked() leads to missetting the mTaskToReturnTo to Recents for Recents. Instead check for Recents launching a task in moveTaskToFront and startActivity. Fixes bug 15832448. Change-Id: Ib64fe26f3fd3fdcd878edafb041928ec02757e63
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
84984faf530e525b066e28710d0f9beb32142ec5 |
|
19-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Return to recents when coming from recents If a task is launched from recents then backing all the way out of the task will return you to recents. Entering the task in any other way (home, another activity, nav bar) will reset this behavior. Fixes bug 15703876. Change-Id: I98dc36e4dbcb238d59e2175832076de7225bfdd9
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
858aef2942e3e2b5759a8bc27fc4f1954573da7b |
|
21-Jun-2014 |
Jason Monk <jmonk@google.com> |
Merge "Add lock-to-app mode"
|
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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
3bd90617ec07a1093139de39591a624b21468e46 |
|
19-Jun-2014 |
Christopher Tate <ctate@google.com> |
Don't end lock task mode when not in lock task mode Change-Id: I3724d68ed7116d47024638d56c5bf43c4866f82e
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
f329d050b8e72ba6daf67edc1b1b64b0035a6050 |
|
20-Jun-2014 |
Dianne Hackborn <hackbod@google.com> |
Merge "Add kernel and native memory data to procstats."
|
f7097a5b697fedb6976774e55a51471405a23c0e |
|
13-May-2014 |
Dianne Hackborn <hackbod@google.com> |
Add kernel and native memory data to procstats. We now collect memory use data in the kernel and native application for aggregation in procstats. This should allows us to do aggregated summaries of how memory use is distributed across the system -- how much is free vs. how much is in use. Fix a bug in how we were tracking per-app version codes: apps that used a shared user id to have multiple packages run in the same process could get their version codes cross-wired. Now we keep track of version codes in the list of packages associated with a process. Bumped the checkin version code to 5, so that we can distinguish checkins that have this corrected data. Also fix a bug in battery stats monitoring radio state. Change-Id: I1c849f2df442df679a34ad7b0ca0c5870bfac8df
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
fbe6be4f653d73d5c51ee0a2fb40d2a34c2366fd |
|
18-Jun-2014 |
Jason Monk <jmonk@google.com> |
Merge "Notify any profile/device owners of lock task"
|
35c62a4668a85aa4318c9ec564f2e06e8a2d2a30 |
|
17-Jun-2014 |
Jason Monk <jmonk@google.com> |
Notify any profile/device owners of lock task Add a method for DeviceAdminReceivers of profile/device owners to be notified that lock task mode has entered or exited for an app they have whitelisted. Change-Id: Id124287d41564bbfccdacccf1977b7acb3ddec3f
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ebf55ad6dec7e59dca668cf97ac81619793defe0 |
|
18-Jun-2014 |
Jason Monk <jmonk@google.com> |
Merge "Change lock-task DPM authorization to packages"
|
2c43c339de5aaf4fef58aa9b5ac3af48609263a8 |
|
13-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Resolve boot time dependencies related to the power manager. This change fixes a bug where native daemons may try to communicate with the power manager before it was fully initialized due to a race between publishing the binder service and completing init(). The solution was to simplify the dependencies related to the power manager. It turns out that most services that were passed in init are not actually needed until systemReady. What remained was a dependency on the activity manager to check permissions for incoming calls. So now we start activity manager first. However, the activity manager also depends on power manager for wakelocks. To break the cycle, we now defer initializing the activity manager's wakelocks until after the power manager has been started. Cleaned up a bunch of boot-time service dependencies so that we can have better confidence that they are correctly maintained. Bug: 13884219 Change-Id: If08e2d7ccd44e7026a72441bb6bd5afd7bb9fffe
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
d7b8621bde44857ebb07130693a00f5f777887d4 |
|
16-Jun-2014 |
Jason Monk <jmonk@google.com> |
Change lock-task DPM authorization to packages Switch the DPM lock-task authorization to be controlled by a package rather than a component. Change-Id: Ife9bed068f31ff2449b4451ab69d3586a3f09d89
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
6335fbcba106147d914acae0a9d8f4fcd53af768 |
|
14-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Revert "Revert "Close ActivityView and ActivityContainer cleanly."" This reverts commit dd5c94717077c9366dee364c88a86a78e5ee2688.
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
dd5c94717077c9366dee364c88a86a78e5ee2688 |
|
13-Jun-2014 |
Justin Koh <justinkoh@google.com> |
Revert "Close ActivityView and ActivityContainer cleanly." This reverts commit 4a9f129874785d34930f165268dbc618e4bc2618. Conflicts: services/core/java/com/android/server/am/ActivityStackSupervisor.java Change-Id: Ic1f4df7f4cb644de7ddebcdc8ce632b46c5ba8f2
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
be63495101dba3b0c3c496cdd810df9e30e926d4 |
|
12-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Fix permission problem and NPE Remove uid before calling into Window Manager. Restore afterwards. Check for null stack value before dereferencing. Fixes bug 15591112. Change-Id: Ida3de556940440162c91b8c1614d0f21e364abd8
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
4a9f129874785d34930f165268dbc618e4bc2618 |
|
11-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Close ActivityView and ActivityContainer cleanly. - Do not call IActivityContainer.release() from ActivityView.finalize() if it has already been called from ActivityView.release(). Eliminates IBinder finalized Exception. - Call ActivityRecord.makeFinishing() before calling ActivityStack. destroyActivityLocked(). Forces call to scheduleDestroyActivity() and eventually removeFromHistory(). Otherwise removeFromHistory() is never called and window manager AppWindowTokens become orphans. - Defer call to ActivityContainer.detachLocked() until all activities have finished or timed out. Fixes problem where Display is removed while activities are still launching. - Call ActivityStackSupervisor.deleteActivityContainer() when all activities have finished or timed out. Fixes orphaned ActivityContainers. Fixes bug 15450798. Fixes bug 15484154. Fixes bug 15383479. Fixes bug 15316558. Fixes bug 15168560. Fixes bug 15143914. Change-Id: Id3c641976b6f825458690f9ee063c07818b56f23
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
d163e751895930a1c8d8d6c3d7e0a37177dbbf19 |
|
14-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Revert "Revert "Close ActivityView and ActivityContainer cleanly."" This reverts commit dd5c94717077c9366dee364c88a86a78e5ee2688. Change-Id: I7bac1aa1d96fa7922cc835949730a26204f15f2f
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
220cad6d9743f134c0d44623fc56cd57467866e7 |
|
13-Jun-2014 |
Qiwen Zhao <zhao@google.com> |
Merge commit '0f3d3dd2' Conflicts: services/core/java/com/android/server/am/ActivityStack.java services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
f391ebccea9090fac64201d284641be3882f857a |
|
13-Jun-2014 |
Chad Jones <chadj@google.com> |
resolved conflicts for merge of 4849aa86 to master Change-Id: I7ec55bdb7a3a1618f33dfdb3b19b2bd201789677
|
4c07d0246fb37e6a77be2c5cdcdf55a989b90f75 |
|
12-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Merge commit 'f5030ecb' into manualmerge Conflicts: services/core/java/com/android/server/am/ActivityStack.java services/core/java/com/android/server/am/ActivityStackSupervisor.java Change-Id: Ie38e3e8b82f588d36e955664904f3ab84bdfaaf5
|
0aad830d1b3006c75a66c02d29d3147c8765b815 |
|
11-Jun-2014 |
Craig Mautner <cmautner@google.com> |
am 28084383: am e33010a2: Merge "Add NO_ANIMATION flag to ActivityView Intents." into klp-modular-dev * commit '28084383c13660864f75452f99183c377c2798ec': Add NO_ANIMATION flag to ActivityView Intents.
|
e6d80f4ce433e16dc72ea3291801169eb507a695 |
|
10-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Add NO_ANIMATION flag to ActivityView Intents. Add Intent.FLAG_ACTIVITY_NO_AMINATION to all Intents passed into ActivityView. Fixes bug 15393526. Change-Id: I1899a5019416109e982f0254aaba410bb1f4a38d
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7683baad6c437af2931020423bf227f97a3ce0ba |
|
10-Jun-2014 |
Craig Mautner <cmautner@google.com> |
am a7c5791a: Merge "Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK" into lmp-preview-dev * commit 'a7c5791a95bf732c2381f698d78930ee61efd36b': Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK
|
f357c0ca514d73273a18b3896e565b2272e608ad |
|
09-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Redefine FLAG_ACTIVITY_NEW_DOCUMENT without NEW_TASK Change definition of FLAG_ACTIVITY_NEW_DOCUMENT from FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET alone. Also add new documentLaunchMode of "never" to allow activity writers to keep their activity from being launched in document mode. Fixes bug 15468528. Change-Id: Ied11adf97e85c5d3f99f4c0bbbb4a2905dcfb24e
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
b6011c1c2a2452174c7ce973e1867b912996081d |
|
05-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Merge commit '21483b9f' into manualmerge Change-Id: If9261cc1625f9f492697fe16c21d2b71c0cc0e11
|
d94b47f3b671f5afbc79b061a9b8fa7aa8b22f87 |
|
03-Jun-2014 |
Craig Mautner <cmautner@google.com> |
Add callback when ActivityView activities complete Users of ActivityViews can now be informed when there are no more active activities in ActivityView by registering a callback. Fixes bug 15330616. Change-Id: I39d55bdb0db8b0a12ee751cdcb039b7fbb899c85
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
a4ab093ddca0ea34e9923f24184f46201d2016c8 |
|
30-May-2014 |
Jose Lima <joselima@google.com> |
am 9dbe6159: Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev * commit '9dbe6159a0eef0f14825ceee101681df7272d9af': Only allow 1 Stack on Leanback-only devices
|
4f8a92bd20be374811b2cab855f390221893279a |
|
30-May-2014 |
Jose Lima <joselima@google.com> |
Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev
|
1015efb143b51a5d31f2f932528f295cfa1add1f |
|
29-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Merge "Making the content resolver work with result intents."
|
71ac80c46a1b094ad951e59c24791d9e9ef769bf |
|
29-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Revert "Modify task navigation to return to recent tasks." DO NOT MERGE" into lmp-preview-dev
|
b9a6c8ad99c7885dccc23223068c0a551f350cd5 |
|
29-May-2014 |
Craig Mautner <cmautner@google.com> |
Revert "Modify task navigation to return to recent tasks." DO NOT MERGE This reverts commit 1a4e211e03f1f795d935058e27356a0e8bc5df7c. Change-Id: Ia691b93347c7eb2395933e5a5ba385ea94e08d6f
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
fdaaf91f356a1dcd960c48a5f0137869d561cb23 |
|
29-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Revert "Modify task navigation to return to recent tasks.""
|
719e621186adc1ba5a365bddea01cbe73bb26b02 |
|
29-May-2014 |
Craig Mautner <cmautner@google.com> |
Revert "Modify task navigation to return to recent tasks." This reverts commit 19174878e25ebfd8806595f83df7bdea1d239c07. Change-Id: I98db2c9aa975495c5828b3d16b8b45f515e6a5fa
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
c6cf95c0f5f7250c65e40c441fe58d8cbfd114c9 |
|
29-May-2014 |
Nicolas Prevot <nprevot@google.com> |
Making the content resolver work with result intents. prepareToLeaveUser is called if necessary on result intents. Adding the targetUserId to grantUriPermissionFromIntentLocked This allows the GET_CONTENT intent to work across profiles. Change-Id: Id81280c23247aeda7ad56e34af9b12a6f3a00a3c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
d3a5b916b1655c9a36d531afc8420fc5ca0ccfdd |
|
29-May-2014 |
Dianne Hackborn <hackbod@google.com> |
am c2091a1f: Merge "Add system layer for voice interaction services." into lmp-preview-dev * commit 'c2091a1fbc463941b3e42db36e369124ac3c1013': Add system layer for voice interaction services.
|
e30e02f5d9a9141c9ee70c712d4f9d52c88ea969 |
|
28-May-2014 |
Dianne Hackborn <hackbod@google.com> |
Add system layer for voice interaction services. New window layer that voice interaction service windows go in to. Includes a new voice-specific content rectangle that voice activities are placed in to. Add specific animations for this layer, sliding down from the top (though this can be customized by the voice interaction service). Also add the concept of activities running for voice interaction services for purposes of adjusting the animation used for them, again sliding from the top, but not (yet?) customizable by the voice interaction service. Change-Id: Ic9e0e8c843c2e2972d6abb4087dce0019326155d
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
58e66d69f9f239a444a90c7ff5eae32557fe350c |
|
28-May-2014 |
Jose Lima <joselima@google.com> |
Only allow 1 Stack on Leanback-only devices - For Leanback only devices we will force all activities to live in the same app stack. This is a design decision for the shy/gregarious changes we are planning to implement for leanback devices. Change-Id: I5e65f9b079830a9485b5a136700993755c3f555f
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
4a4a17aa1107e75ba4c0ece87c90a3eff6d4c918 |
|
28-May-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
am f52b9c8a: Merge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev * commit 'f52b9c8a4aebf6d04b747e45c921fa4f51344b34': Revert "Only allow 1 Stack on Leanback-only devices"
|
c82e7d30e34ff7cc273edf1ea8ddd11b713fec5b |
|
28-May-2014 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "Only allow 1 Stack on Leanback-only devices" This is making a HH device (and probably others) in a reboot loop This reverts commit 0cac71e9bdee1e9e6b2faafec0f9f894effbcb67. === See: W/dalvikvm( 2320): threadid=1: thread exiting with uncaught exception (group=0x952d3f28) E/AndroidRuntime( 2320): *** FATAL EXCEPTION IN SYSTEM PROCESS: main E/AndroidRuntime( 2320): java.lang.RuntimeException: Failed to create service com.android.server.am.ActivityManagerService$Lifecycle: service constructor threw an exception E/AndroidRuntime( 2320): at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:89) E/AndroidRuntime( 2320): at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:304) E/AndroidRuntime( 2320): at com.android.server.SystemServer.run(SystemServer.java:244) E/AndroidRuntime( 2320): at com.android.server.SystemServer.main(SystemServer.java:161) E/AndroidRuntime( 2320): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 2320): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime( 2320): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836) E/AndroidRuntime( 2320): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631) E/AndroidRuntime( 2320): at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime( 2320): Caused by: java.lang.reflect.InvocationTargetException E/AndroidRuntime( 2320): at java.lang.reflect.Constructor.constructNative(Native Method) E/AndroidRuntime( 2320): at java.lang.reflect.Constructor.newInstance(Constructor.java:423) E/AndroidRuntime( 2320): at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:78) E/AndroidRuntime( 2320): ... 8 more E/AndroidRuntime( 2320): Caused by: java.lang.NullPointerException E/AndroidRuntime( 2320): at com.android.server.am.ActivityStackSupervisor.isLeanbackOnlyDevice(ActivityStackSupervisor.java:3508) E/AndroidRuntime( 2320): at com.android.server.am.ActivityStackSupervisor.<init>(ActivityStackSupervisor.java:220) E/AndroidRuntime( 2320): at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:2145) E/AndroidRuntime( 2320): at com.android.server.am.ActivityManagerService$Lifecycle.<init>(ActivityManagerService.java:2073) E/AndroidRuntime( 2320): ... 11 more E/AndroidRuntime( 2320): Error reporting crash E/AndroidRuntime( 2320): java.lang.NullPointerException E/AndroidRuntime( 2320): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89) E/AndroidRuntime( 2320): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693) E/AndroidRuntime( 2320): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690) E/AndroidRuntime( 2320): at dalvik.system.NativeStart.main(Native Method) I/Process ( 2320): Sending signal. PID: 2320 SIG: 9 I/ServiceManager( 174): service 'power' died I/ServiceManager( 174): service 'sensorservice' died Change-Id: Ib90ae4dff6542d67f5827b100a3ab6158ce88ae2
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ca7ddbfef7ae5f205b456d5c4dce70c2f5eec489 |
|
28-May-2014 |
Jose Lima <joselima@google.com> |
am 00430954: Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev * commit '004309546b7efa188df56e58539e4227ed192cf7': Only allow 1 Stack on Leanback-only devices
|
a5c7e0f80f6a0ea59e29df01c886376da56ebbbc |
|
27-May-2014 |
Jose Lima <joselima@google.com> |
Only allow 1 Stack on Leanback-only devices - For Leanback only devices we will force all activities to live in the same app stack. This is a design decision for the shy/gregarious changes we are planning to implement for leanback devices. Change-Id: I201f56541ba22356e9598f09419ad41e588c74dc
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
8f4f2ff5cbd9cf5733437afeb54f8a2453d9e616 |
|
27-May-2014 |
Winson Chung <winsonc@google.com> |
Merge "DO NOT MERGE " into lmp-preview-dev
|
39c1f59541c806471bd538adfb981f26f58b647f |
|
27-May-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of 754a8c4c to master Change-Id: I750b714248486eb8609951caa10be7a543f624da
|
c752919c7cd29b497918618cc9ebf56c18995a76 |
|
27-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Do not start tasks on ActivityViews unless explicit. DO NOT MERGE" into lmp-preview-dev
|
b539b3aafb2b0e55fc9578344eff35256fd5a94e |
|
27-May-2014 |
Craig Mautner <cmautner@google.com> |
Do not start tasks on ActivityViews unless explicit. DO NOT MERGE New tasks were being started on ActivityViews because they matched packages. This fix enforces a rule that new tasks can only be started on ActivityViews if they are explicitly targeted for that ActivityView. Fixes bug 15162447. Change-Id: I9ccb72171b5cda0897a0b9ffe4cbebfbb0d92c2c Conflicts: services/core/java/com/android/server/am/ActivityStackSupervisor.java
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
1b4bf857d34dc58a4ef84f5f0761bb7685051fbb |
|
27-May-2014 |
Craig Mautner <cmautner@google.com> |
Do not start tasks on ActivityViews unless explicit New tasks were being started on ActivityViews because they matched packages. This fix enforces a rule that new tasks can only be started on ActivityViews if they are explicitly targeted for that ActivityView. Fixes bug 15162447. Change-Id: I9ccb72171b5cda0897a0b9ffe4cbebfbb0d92c2c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
e88d180d6cc5713049489d9f30e998fe846145f1 |
|
27-May-2014 |
Craig Mautner <cmautner@google.com> |
am e2c92ac8: Merge "Update launchFlags after changing Intent flags" into lmp-preview-dev * commit 'e2c92ac847d151cbf4d578ee85d3ff10126e9ada': Update launchFlags after changing Intent flags
|
a254cd7e0ffd7d3b131f3c7a69c9fa13dbacc0bd |
|
26-May-2014 |
Craig Mautner <cmautner@google.com> |
Update launchFlags after changing Intent flags If you don't you're going to have a bad time. In particular we did not act on the new flags and the documentLaunchMode setting was ignored. Fixes bug 15245852. Change-Id: Ie1c435c4a821b9fc787e5e06e7b24aa98a242225
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
e67a784eb2c914c04c62ea5dfa1e3751df5582cc |
|
21-May-2014 |
Craig Mautner <cmautner@google.com> |
Modify task navigation to return to recent tasks. DO NOT MERGE Tasks launched from the recent task list will now return to the list when they are finished. Also tasks that are launched from the notification panel and services will now return to the list, provided that the launcher is not front and center when they are launched. Fixes bug 14464114. Change-Id: Ic0d3731fc7248d1eaa80e5ee399753d80e80c979
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
df6523f2703920a1d2a84c45b862b325b8cebf40 |
|
21-May-2014 |
Craig Mautner <cmautner@google.com> |
Modify task navigation to return to recent tasks. Tasks launched from the recent task list will now return to the list when they are finished. Also tasks that are launched from the notification panel and services will now return to the list, provided that the launcher is not front and center when they are launched. Fixes bug 14464114. Change-Id: Ic0d3731fc7248d1eaa80e5ee399753d80e80c979
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
21d24a21ea4aaadd78e73de54168e8a8a8973e4d |
|
23-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Add code for persisting tasks and activities to disk DO NOT MERGE Recent tasks that have the persistable flag set are saved to /data/system/recent_tasks/ on shutdown and in the background. Their thumbnails are saved to /data/system/recent_images/. Change-Id: Ifb820a01c412fe1f8c0f6e41aa655fafd89eaa8d
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
deec695253aa5856135be3ffdcd35eaafed9e526 |
|
24-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Add code for persisting tasks and activities to disk"
|
5286d3ff47135976d66d67888cadca52ef2ab244 |
|
12-May-2014 |
justinzhang <justinzhang@google.com> |
Hide status bars in lock task Call StatusBarManager to show/hide status bars for lock task. (Same CL as https://googleplex-android-review.git.corp.google.com/#/c/461068/, sorry for the confusion.) Bug: 13669575 Change-Id: I5c90bdb1d868aa02d3679e854b5ccbe434d996d6
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
376543bc5f1f8a4465f6f0f9c9b45f96f37b3d06 |
|
22-May-2014 |
Winson Chung <winsonc@google.com> |
DO NOT MERGE Invalidating screenshots when we resume the task that they were taken in. (Bug 13587139) - Removing multiple calls to get the same thumbnail screenshot (cherry picked from commit d4ce870e9ad24eff444443bd19ca2061f7c3099d) Change-Id: Id1feea856a1374173c7f0d329d6f11482794df1a
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ef73ee1dd98acfc4a19561367cfc3e4d8bbe06ea |
|
23-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Add code for persisting tasks and activities to disk Recent tasks that have the persistable flag set are saved to /data/system/recent_tasks/ on shutdown and in the background. Their thumbnails are saved to /data/system/recent_images/. Change-Id: Ifb820a01c412fe1f8c0f6e41aa655fafd89eaa8d
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
31d8b9333bf3b1e6048182885149b80c6fa6b500 |
|
22-May-2014 |
Winson Chung <winsonc@google.com> |
Merge "Invalidating screenshots when we resume the task that they were taken in. (Bug 13587139)"
|
cc12f28e5dc6bd027971c995c7aab63dadcc0d35 |
|
22-May-2014 |
Winson Chung <winsonc@google.com> |
Invalidating screenshots when we resume the task that they were taken in. (Bug 13587139) - Removing multiple calls to get the same thumbnail screenshot
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
2d437d04614ba79ad54546b05f9aec93a479b603 |
|
21-May-2014 |
Jason Monk <jmonk@google.com> |
Don't exit lock task on sleep Change-Id: I332088ce31ce06a771461a78fcc63f4afc824813
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
810c2b5f4dab0de8fe38a9091ea68e3e35567c77 |
|
18-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Pass correct task to window manager"
|
abcc59c32fd67c507f2ff192e82fef971968b2db |
|
18-May-2014 |
Craig Mautner <cmautner@google.com> |
Pass correct task to window manager The target task when starting is not always the top task. If it's not the window manager gets into a bad state. Fixes bug 14684143. Change-Id: I90145ae43bdc5d980dc25ac19e12aa84debfed71
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.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/services/core/java/com/android/server/am/ActivityStackSupervisor.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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
729cb2391f8eedbab9af1d0ef62febb0b56292cc |
|
06-May-2014 |
Jose Lima <joselima@google.com> |
Remove unecessary code from ActivityStack - Due to a previous CL to allow activities to be visible under the Home stack, some code un ActivityStack became unecessary. - This CL removes the uused code and changes the interface of ensureActivitiesVisibleLocked, since we no longer need to special case visibility for the Home stack. Change-Id: I5cffe903bc82041fe79bfc63107df71ddf01232c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
63812fd9f20d2a0f96ef0fac69497d3334ae6d97 |
|
08-May-2014 |
Amith Yamasani <yamasani@google.com> |
Merge "Send boot_completed for users started in the background"
|
41db4a77fa4659d60ad055ec1819a410ce35bf28 |
|
08-May-2014 |
Craig Mautner <cmautner@google.com> |
Use new doccentric flags and attributes in Sharing Put the new doccentric flags and attributes into use. And make their first application the Share widget. Sharing now creates a new task which is destroyed once the share action has completed. Fixes bug 14463859. Change-Id: I34c4c79775ef44d65e1967be5601997a2d46b210
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
1a7eaaa50e7f1a021129ebbe2f6ae1ac469b8812 |
|
07-May-2014 |
Amith Yamasani <yamasani@google.com> |
Send boot_completed for users started in the background Bug: 14587584 Change-Id: I7abfad0a7102376e1665b528f3fd110a4b6ed164
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
6856ef87a579fd20ec4a14d7ebf7c2cb352d958e |
|
05-May-2014 |
Craig Mautner <cmautner@google.com> |
am 9bb4df3a: am e88097bd: Merge "Pause and resume ActivityView when visibility changes" into klp-modular-dev * commit '9bb4df3a7d9ed479f8ef10b08bbc3354a1984aab': Pause and resume ActivityView when visibility changes
|
b12646210f15b7f1b7cf0b1cbc56f5cb4bbfe02d |
|
05-May-2014 |
Craig Mautner <cmautner@google.com> |
am 6dffeb9e: am 8890013a: Merge "Add null check to embeddedAllowed check" into klp-modular-dev * commit '6dffeb9eeba785dcf738bfabfec334a6c188d104': Add null check to embeddedAllowed check
|
e88097bd00d5710bbfb6c24a934743c8d6cac9cf |
|
05-May-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Pause and resume ActivityView when visibility changes" into klp-modular-dev
|
05678d5a3136a747a2e7eaccca0ad148c52a2d00 |
|
05-May-2014 |
Craig Mautner <cmautner@google.com> |
Add null check to embeddedAllowed check If the component being checked has been removed an NPE will be thrown. This checks for that situation and handles it. Fixes bug 14562234. Change-Id: Ica5713378f356ac8441862d455b7d284ea111212
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
d13a5583971a5905ac2ec240282383bde96fc25e |
|
05-May-2014 |
Craig Mautner <cmautner@google.com> |
Pause and resume ActivityView when visibility changes Once a Surface has been established the activity in an ActivityView must be paused and resumed as the view goes in and out of visibility = View.GONE. Fixes bug 14034658. Change-Id: Icab43678053c225db70f051dceacd4d024df2153
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
c03c9167c2d9a1e22fb2b176b00a0524177fb037 |
|
02-May-2014 |
Dianne Hackborn <hackbod@google.com> |
Further work on voice interaction services. This makes VoiceInteractionSession a more first-class concept. Now the flow is that a VoiceInteractionService calls startSession() when it wants to begin a session. This will result in a new VoiceInteractionSession via the VoiceInteractionSessionService containing it, and the session at that point an decide what to do. It can now show UI, and it is what has access to the startVoiceActivity API. Change-Id: Ie2b85b3020ef1206d3f44b335b128d064e8f9935
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
09233289624a85093b1d99e4a6a149bf09059d8d |
|
30-Apr-2014 |
Dianne Hackborn <hackbod@google.com> |
Make GET_TASKS signature|system. Normal apps can't hold it now. If they try to use getRecentTasks() or getRunningTasks() without the permission, they will only see their own tasks and home in the list. Also took this opportunity to eradicate all of the old pending thumbnail stuff. Change-Id: I6dc52a06221c78097162e4a8b482027b798bf3ee
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
e361268e6efd48d815e85ce32a357f1346ac892f |
|
26-Apr-2014 |
Craig Mautner <cmautner@google.com> |
am cb48b962: am 1a7e9e66: Merge "Throw exception from startActivity if not allowed." into klp-modular-dev * commit 'cb48b96223071dc9d8633aab8f6cd9a91b3676bf': Throw exception from startActivity if not allowed.
|
247ab65a4985470feff9cb5b5d40d2b8c64f5ada |
|
25-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Throw exception from startActivity if not allowed. The ActivityView.startActivity method may defer calling ActivityContainer.startActivity if the ActivityView is not yet visible. If the activity being started doesn't have allowEmbedded attribute set to true then the SecurityException will not be thrown until the ActivityView is visible. In such a case the caller of ActivityView.startActivity cannot catch the SecurityException. This fix checks the attribute at the time ActivityView.startActivity is called. Fixes bug 14317210. Change-Id: I7fff23e39b67a9a0aa1b2e555920d02ae38906d9
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
2e46e65e9dafe1f6a911efa213fcb0d105394b09 |
|
25-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Too soon. Change-Id: I1abb1d4841e4e6342c3b861d33ae22e22ed0a161
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
6c66d1fd79968ad286d3cb6477e762d7e8bdc5ec |
|
24-Apr-2014 |
Craig Mautner <cmautner@google.com> |
am 7e28afd9: am 7d2d2272: Merge "Force ActivityView activities to start in new task" into klp-modular-dev * commit '7e28afd9568c590c7110f83b252dbb77f165fcb3': Force ActivityView activities to start in new task
|
75731016e9231cc867e99a3d9269fc16c8f3f606 |
|
24-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Add test for attribute android:allowEmbedded Throw a SecurityException if it is not true for an activity launched using ActivityContainer.startActivity(). Change-Id: Id1d70e630195a49a3eccdc64a0beccc420400332
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7f7bdb2712d4988efa5e914c0b54271752b49407 |
|
23-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Force ActivityView activities to start in new task Activities were associating with existing tasks when their components matched. This was causing them to be launched into existing stacks rather than into their ActivityView. Adding these flags forces the launches to be in unique tasks on their ActivityView. Fixes bug 14252286. Change-Id: I9ba65a4a2da198435748c0a17396d3f7f8c75f5e
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
96997a6148161e525a91f9d04f6468fbe01c2d69 |
|
23-Apr-2014 |
Ying Wang <wangying@google.com> |
am d12bf275: am d0dc8981: Merge "Javac (at least for 1.7.0_51 on Mac) wants fully qualified class name" into klp-modular-dev * commit 'd12bf27575bc2df114abc0aadd1a62ff476b5a42': Javac (at least for 1.7.0_51 on Mac) wants fully qualified class name
|
b081a59a0fdec88dd9b0f68b45c2f625f751d625 |
|
23-Apr-2014 |
Ying Wang <wangying@google.com> |
Javac (at least for 1.7.0_51 on Mac) wants fully qualified class name It looks like a Javac bug. Bug: 14255510 Change-Id: Id3899994226049ff77854fd2a13a6d1b687a0392
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
6c83b77b87a1f8b247874c9544d4975d13da7d23 |
|
22-Apr-2014 |
Craig Mautner <cmautner@google.com> |
am 43c6a98f: am 6985badc: Fix black ActivityView * commit '43c6a98f0ffe079429735a485acaa81841740fac': Fix black ActivityView
|
7ad27288f1b66733a4fcb2bdcb17dd5db6c6423d |
|
22-Apr-2014 |
Craig Mautner <cmautner@google.com> |
am c00c89b1: am f4c909bc: Fix ActivityView lifecycle * commit 'c00c89b1add5bcbf6a76287c9a3384877449c746': Fix ActivityView lifecycle
|
6985badc632f2ff8425aa86423577a96eafc49e9 |
|
22-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Fix black ActivityView Don't add the surface to the VirtualDisplay until the activity has drawn. That will keep the TextureView from turning black. Fixes bug 12821632. Change-Id: Ia06e9f91be3e14ad724f735ae4e201ac798863a2
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
f4c909bcb87d6f103c9f9e8255fa61bd86f4de67 |
|
18-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Fix ActivityView lifecycle Major changes to maintain the VirtualDisplay across repeated attach/detach cycles of an ActivityView. This keeps the activities and VirtualDisplays in the ActivityView from getting into bad states. Fixes bug 14107002. Change-Id: Idc2aaf85ac496eab0eeb436736cb10a2020040e8
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
934ef05799532b75d349338c4300671cec1ab162 |
|
16-Apr-2014 |
Craig Mautner <cmautner@google.com> |
am 4b81e89d: am 2fd3cb95: Merge "Fix ActivityContainer callback parcelling." into klp-modular-dev * commit '4b81e89d9b7a2cf3ed5aacd9c647aed47f4c4675': Fix ActivityContainer callback parcelling.
|
e3a00d745fad479f560e96cec23e957f37d1c043 |
|
16-Apr-2014 |
Craig Mautner <cmautner@google.com> |
Fix ActivityContainer callback parcelling. The Binder interface for passing a callback was not implemented properly. Also the callback for ActivityContainer now has a new API. Change-Id: I6b719be0cb57542f022a3cc14e8f4efde60b1a50
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
f32b22e9c78cbc0109adbad67e9ff3d7045bd954 |
|
25-Mar-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of ca903d38 to klp-modular-dev Change-Id: I44b8cbeb9ae9f6e5c8b2fe1363127d6eccfdf041
|
fea8d956649589f1cfd378571cc9ad61a92cd480 |
|
24-Mar-2014 |
George Mount <mount@google.com> |
Merge "Fix null ActivityOptions when starting an Activity in a new Process."
|
2c92c9700c7b06f3c7dd5ab15d8343dfce68c833 |
|
20-Mar-2014 |
George Mount <mount@google.com> |
Fix null ActivityOptions when starting an Activity in a new Process. Bug 13563265 Change-Id: Ie56cd6d55f13dbf68bafb82ab4bd6b27fde60df6
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
dd221b3780800f03900c52bfc4a1ac7d01b72bc2 |
|
20-Mar-2014 |
Craig Mautner <cmautner@google.com> |
Fix oversight when checking in last CL Too much was deleted due to the order of operations while debugging. CL 435015 removed some critical lines. Fixes bug 13410184. Change-Id: Ia1fbf985d73163742c4c531e8505606454897f69
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
95e9daab03d0349a69940625c7f718175f371581 |
|
17-Mar-2014 |
Craig Mautner <cmautner@google.com> |
Fix activities appearing behind home icons Notify the Window Manager when a task has been moved to the front. Fixes bug 13410184. Change-Id: I85ec63ae6d1dbd917ba2288b1486f531a69dd1a0
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
d00f47402cb886a43a3448128bdcd9dd2f348a2a |
|
12-Mar-2014 |
Craig Mautner <cmautner@google.com> |
Launch new tasks with Doc Centric flag. Introduction of new Intent flag FLAG_ACTIVITY_NEW_DOCUMENT. When this flag is set the target activity will be launched in its own task. This is the start of the new Doc Centric mode of working. Change-Id: I719168532134ab2c5ea3300df676c2b2a0e81795
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
c9519fcd386a43d3908111c468903329b9346a3d |
|
14-Mar-2014 |
Dianne Hackborn <hackbod@google.com> |
am 32a9180a: am f29a4981: am d4981014: am e5191aab: am a796168d: Merge "Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4" into klp-dev * commit '32a9180a6c1ac12503aaf0d123c2bfff73349508': Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4
|
d4981014d486c3ff72813d0d37048ee2abdb3d63 |
|
14-Mar-2014 |
Dianne Hackborn <hackbod@google.com> |
am e5191aab: am a796168d: Merge "Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4" into klp-dev * commit 'e5191aabff5b9b751349b8634836a858af744905': Fix issue #11965706: Calls using IntentChooser are now Broken in 4.3 and 4.4
|
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/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
dae57a14141a90d71332086c3d6e8bd3ebf84fe5 |
|
12-Mar-2014 |
Alexandra Gherghina <alexgherghina@google.com> |
Check for empty activity stack. This avoids a null pointer exception when switching from an user with no open apps. Change-Id: I02629818f2bc82ee3a2825cf484ef1e32e3e6067
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
a77cf8735432daddb233164f41103a0ff38408bb |
|
25-Feb-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Tabs -> spaces in frameworks/base."
|
b5abedbd5cef473574884a7453cdf4d412af26af |
|
25-Feb-2014 |
Craig Mautner <cmautner@google.com> |
am c407ace3: am d4c819c0: am dd9ce628: Merge "Clean up activities and displays when done" into klp-modular-dev * commit 'c407ace3019c4e542654cf17fd04d9436d3f3436': Clean up activities and displays when done
|
95da1087ed3c7b9983b571bc5409827ae390f15f |
|
25-Feb-2014 |
Craig Mautner <cmautner@google.com> |
Clean up activities and displays when done More maintenance fixes. Fix bug 13157352. Change-Id: Ic86d39a84452a1cf1dc1762cec517b419ad0a852
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
8a985d24ce9a38f40ed88fecbdcd0e75e3a68f44 |
|
25-Feb-2014 |
John Spurlock <jspurlock@google.com> |
Tabs -> spaces in frameworks/base. Change-Id: I5a84e8e93ac99b5ed0212b37bf66efa5e53864be
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
92a507986af512d248a1987971b59911406721a9 |
|
22-Feb-2014 |
Craig Mautner <cmautner@google.com> |
am 3dc57b39: am c004c9a8: am ffda4648: Merge "Fixes for ActivityView on home activity" into klp-modular-dev * commit '3dc57b39f2a87fe3692b5606de2b0c0693fc485c': Fixes for ActivityView on home activity
|
12ff7391a10fff5107e2734d50ed0b428fb75f67 |
|
22-Feb-2014 |
Craig Mautner <cmautner@google.com> |
Fixes for ActivityView on home activity When the ActivityView is part of the home activity special checks must be made. Things like don't move the home stack to the back when the ActivityView activity is resumed. Fixes bug 13119389. Change-Id: I3a6040c9824dfd4b8ee97d58d131b14a519b470a
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
ca9bc702df5c14a89c9b8b0109a05894bf74962e |
|
11-Feb-2014 |
Jeff Brown <jeffbrown@google.com> |
Add support for injecting events into ActivityContainers. Modified ActivityView to inject touch events it receives back into its activity container. The container then injects the event into the input system along with the display id of the underlying virtual display. Change-Id: I23d018a2f7dd30f1f833f522eb7f143b43d8e637
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
38f96e5020b3e82b98fe97b0be363a5ad185860f |
|
11-Feb-2014 |
Jeff Brown <jeffbrown@google.com> |
Add support for injecting events into ActivityContainers. (DO NOT MERGE) Modified ActivityView to inject touch events it receives back into its activity container. The container then injects the event into the input system along with the display id of the underlying virtual display. Enhanced the input system to support concurrent dispatch of touch events on multiple displays which is required for this to work. Change-Id: I9cf1870db3be6f99a52ed9a1e3ceafe42c940093
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
56aa06c4249efe32c82af1dc71df9701dc8f457c |
|
10-Feb-2014 |
Craig Mautner <cmautner@google.com> |
am 779d204a: am 9ef471f7: Don\'t remove Activities and Tasks until animation done * commit '779d204abe6a3922b572822df5cd775ffd5d77e8': Don't remove Activities and Tasks until animation done
|
9ef471f7f2f59de032d7cb9c3c7241486109979e |
|
07-Feb-2014 |
Craig Mautner <cmautner@google.com> |
Don't remove Activities and Tasks until animation done Just like stacks and displays, activities and tasks need to stick around until animations have completed. Change-Id: I54fe8f6855d60cbc3a25cbc6e762defd5ac50bf5
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
9e4adfb358ca3680288c07201efc8811472a579d |
|
05-Feb-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of 32360147 to master Change-Id: I97cc95f66df50006469f8debd286966cc21edb60
|
df88d73092c62a1a3cd2b2056ca63ae2e70cc238 |
|
27-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Add IIntentSender to ActivityContainer.startActivity PendingIntents and IntentSenders can now be launched. Still does not work once the host activity has been paused and resumed. Window manager TaskStacks now exist independently of Displays and app windows persist after Displays are removed below them. Attaching the stack to a new Display does not yet restore the windows to it. Fixes bug 12747909. Change-Id: I509007ee23fda400b353f483cf6ecce08177763b
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
921f4f926472e5f5864cae203538f47fda6cdbdf |
|
25-Jan-2014 |
Craig Mautner <cmautner@google.com> |
am 38eda9c4: Remove unnecessary logging. * commit '38eda9c42bf327f6f521c766ea716305e5f71c05': Remove unnecessary logging.
|
38eda9c42bf327f6f521c766ea716305e5f71c05 |
|
25-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Remove unnecessary logging. Fixes bug 12593710. Change-Id: I55c33bb4d6c9e17e810be7cc033e01fb9d2d6cf7
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
fc8fa54f80b419966b3893a0992354a17c270333 |
|
16-Jan-2014 |
Craig Mautner <cmautner@google.com> |
am e9ddaa0b: Merge "Cleanup after ActivityView" into klp-modular-dev * commit 'e9ddaa0b183d979be782a63970929cebd861b7c9': Cleanup after ActivityView
|
34b73dfaa3a92e5a85abf62317183fb114f2ffff |
|
13-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Cleanup after ActivityView - Release Surface and VirtualDisplay when shutting down ActivityView. - Shut down child stacks when relaunching parent activity. Change-Id: I60314b2b43bd2da5406cf6ec871293b5baca157c
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
3a43aa9cef79324dd149a47c5a73ce1fa8ed95b3 |
|
15-Jan-2014 |
Craig Mautner <cmautner@google.com> |
am 9cfb2e5f: Merge "Retain stacks even if they are empty." into klp-modular-dev * commit '9cfb2e5f4c95c16d8ca531808f60486f214f9039': Retain stacks even if they are empty.
|
9cfb2e5f4c95c16d8ca531808f60486f214f9039 |
|
15-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Retain stacks even if they are empty." into klp-modular-dev
|
8ad31fb08d7d0d4209590e191fa68a6716d595fa |
|
14-Jan-2014 |
Craig Mautner <cmautner@google.com> |
am 5c44c51c: Merge "Use new DisplayManager flag to show own content only." into klp-modular-dev * commit '5c44c51c2a0b5a2268de07fab6854623188b5a7c': Use new DisplayManager flag to show own content only.
|
5c44c51c2a0b5a2268de07fab6854623188b5a7c |
|
14-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Use new DisplayManager flag to show own content only." into klp-modular-dev
|
529cbcd0af105aeda46759f92e2b0d1d469554f0 |
|
13-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Use new DisplayManager flag to show own content only. Change-Id: I8b2666e5849e57b5eb2ed73ed3d5e39da2dbd55d
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
04a0ea60ac7e20369e63edc4f3f8cedf8425a439 |
|
13-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Retain stacks even if they are empty. Previously stacks would be removed when the last ActivityRecord was removed. This causes problems for ActivityContainers which persist and permit activities to be launched into an empty stack. Change-Id: Ia79ac65d17c42eff3a7b1321980c21b29996001b
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
80a6e776e008f3a048ec568ea5a0ca63e0b6d936 |
|
13-Jan-2014 |
Craig Mautner <cmautner@google.com> |
am cf6e0d68: Merge "Add display synchronously." into klp-modular-dev * commit 'cf6e0d686f42036992bdac4f47d37bc8c0775027': Add display synchronously.
|
cf6e0d686f42036992bdac4f47d37bc8c0775027 |
|
13-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Merge "Add display synchronously." into klp-modular-dev
|
ad25fa36cb63f134acf636d70696bbf81548802e |
|
13-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Add display synchronously. Adding the virtual display to window manager through a handler message causes timing issues. Add the display directly to fix it. Change-Id: I3ad6b16ce6dff2a48abd120a8e873e11a028e2c3
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
7ef6c04afdf45bb5bfacd3c5a5bd24f349af140e |
|
11-Jan-2014 |
Craig Mautner <cmautner@google.com> |
am d7c97a79: Merge "Remove misleading warnings." into klp-modular-dev * commit 'd7c97a798f25d54a00adc0cfb2af4dedd5a4e3f2': Remove misleading warnings.
|
330a6bd8a643c33318c751239a092ce393d87b06 |
|
11-Jan-2014 |
Craig Mautner <cmautner@google.com> |
Remove misleading warnings. Error messages that are obsolete and/or incorrect. Fixes bug 12421138. Change-Id: I43f095048757f7ae9bff47abed594dd34d8387ce
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
1f7488e21994d7b6e143a4540659c1fbae630634 |
|
10-Jan-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of 4504de5d to master Change-Id: I8d96fd2b479aebd6de913e617ca190f66c25aaa5
|
4504de5d5a8e1c7dfb306b16282f348856c24764 |
|
20-Dec-2013 |
Craig Mautner <cmautner@google.com> |
Implement ActivityView. With an existing ActivityContainer a caller can now create an ActivityView which consists of a new VirtualDisplay immediately attached to the ActivityContainer. Change-Id: Id70333dcbef55d524a87df8f8c92d72ca5579364
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
b859449b717b24ac6e678c303d7706d55fd184f7 |
|
08-Jan-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of 88bfc6dd to master Change-Id: Ib656ac0591b21ad14f2df51021729552e9373515
|
e0a3884cb627efc650e19fbe76b1b3343468cf57 |
|
17-Dec-2013 |
Craig Mautner <cmautner@google.com> |
Extend stack management to other displays. - Abandon ActivityContainer.startActivity() in favor of IActivityManager.startActivityAsUserInContainer(). - Modify Am to test starting an activity on a container. - Create a DisplayContext as the base context if the activity token is on a different display. - Test for home display in more cases when manipulating home stack. - Rename mDisplayInfos => mActivityDisplays. - Create new method for moving task to front of stack regardless of which display it is on. Change-Id: I4fcb83ae844c5839ee3e2722229623d1a80ed921
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|
49782e46c0eb85a25ae2abcf80880c48dbab5aea |
|
20-Dec-2013 |
Amith Yamasani <yamasani@google.com> |
am 9158825f: Move some system services to separate directories * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/am/ActivityStackSupervisor.java
|