3d7ca31c9e4a076cef5339ae58d5cafb2efbbc8f |
|
08-Jan-2015 |
Craig Mautner <cmautner@google.com> |
Remove AppWindowTokens from exiting apps with task When the task is removed from a task stack in window manager any exiting activities left in the stack were orphaned. This led to a memory leak. Removing all task activities from those that are exiting fixes this problem. Fixes bug 18943737. Change-Id: I0a5ea8d2d3be89af7ccaf01385a226a2eafdf507
/frameworks/base/services/core/java/com/android/server/wm/AppWindowToken.java
|
7b4655dbbebd9e6e9394efe145a35db41a6fbfd4 |
|
20-Nov-2014 |
Craig Mautner <cmautner@google.com> |
Ensure arraylist index is montonically decreasing A previous fix for IndexOutOfBoundsException (ag/584621) left a situation where the index would not decrement if the arraylist size didn't change. The size doesn't change if the window being removed is animating away. That caused window manager to remain in an infinite loop within removeAllWindows. This change ensures that the index diminishes each pass through the loop and doesn't exceed the bounds of the arraylist. Fixes bug 18362246. Change-Id: Ibca70d95622f3b152ede14857f0e913099dc7b88
/frameworks/base/services/core/java/com/android/server/wm/AppWindowToken.java
|
98e70d0908eaf259ac21fc75b252be3c25d788c3 |
|
10-Nov-2014 |
Wale Ogunwale <ogunwale@google.com> |
Fixed index out of bounds issue when removing windows. Child windows are also removed when WMS.removeWindowInnerLocked() is called to removed a window. This causes the number of windows to decrement by more than 1 which causes an out of bounds exception in AppWindowToken.removeAllWindows() which was expecting a decrement of 1. Changed code to only continue looping if the size of the Windows array is still greater than 0. Bug: 18202119 Change-Id: I6124717272c552ec98e89cbacaadcd964fdba02e
/frameworks/base/services/core/java/com/android/server/wm/AppWindowToken.java
|
7c9ee19cbd0360a62dc4322169afc1b0b9c9e022 |
|
15-Aug-2014 |
Craig Mautner <cmautner@google.com> |
Fix race condition between binder deaths If a Binder dies there is a race between activity manager and window manager to see who can handle the binderDied call first. If the activity manager wins the race it will remove the activity and task but leave the windows around. Until the WindowState.binderDied call is made and all animation is complete the windows will try to access the task that they were associated with. This fix removes the windows of an activity when the activity is removed. It also defers removal of the activity and task until exiting windows have completed their animation. Fixes bug 17031518. Change-Id: Idf52f55c5feb0cad4e3664ef2eae5b7e95bbf490
/frameworks/base/services/core/java/com/android/server/wm/AppWindowToken.java
|
8746a478abcfb3b0d73b156232051af1e8d21ce2 |
|
25-Jul-2014 |
Craig Mautner <cmautner@google.com> |
Create end of animation callback for Activity Activities cannot draw while their entering animations are active. This change introduces a callback, onEnterAnimationComplete() so that activities can know when their draws will be effective. Fixes bug 13658460. Change-Id: Ic48540cd4c7e37538f10cb2dc0852aa3f55d11e1
/frameworks/base/services/core/java/com/android/server/wm/AppWindowToken.java
|
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/wm/AppWindowToken.java
|
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/wm/AppWindowToken.java
|
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/wm/AppWindowToken.java
|
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/wm/AppWindowToken.java
|