- The change to setTasks() was causing us to queue items to be loaded
before the activity had even started. This change ensures that we
don’t do this for the dummy-transition-only stack view, and only when
setting stack tasks for real.
Bug: 27538945
Change-Id: I4ff0413cb2fb961a4dedcad42471293bab4f955a
* changes:
Removed the group expand button
Removed the bundle number from the header
Fixed a crash with notification children
Fixed a bug where the media header wasn't indented
Fixed fading and dozemode for custom notifications
Fixed a group bug with a single expanded child
Fixed a bug where the top child notification wasn't expandable
Fixed a bug where heads up where not expandable by touch
Fixed a bug where the wallpaper was shining through the background
Notification children would animate when removed even
though they were just transferring to a different parent
or to the root.
Bug: 27476798
Change-Id: I97eb6e795d7762fb150b63f49eec9bb6092339be
- Also tweaking the second part of the unfocused curve to make it more
linear to touch.
Bug: 27478701
Bug: 27376567
Change-Id: If187ea333579221ef24986d8d37d0606e50ab7bc
- We were not poking existing TaskViews from updating after their tasks
have been updated (ie. with a new screenshot)
Change-Id: I33916aecf004afdb88a2462e69437ad1d9e8017d
This will let it play nicely with heads up.
- Move to QS Container.
- QS Edit is always full height (some layout hacks to do this)
- Always draw QS customizer on top when animating
- Block all panel scrolling while QS edit is open (all touches
go to editing)
- Instantaneously change the height of the QS container at
start/end of animation as needed
Bug: 26969293
Change-Id: Iedc6f5aaf659dcc6750972eae5f69cc0cd2df844
When setting default ringtones, RingtoneManager now caches the
selected media for playback before the device is unlocked. However,
this API hasn't historically required the caller to hold storage
permissions.
To keep this working, we attempt to delegate ringtone access over
through RingtonePlayer, which is what we do for playback. However,
because we're caching the real ringtone bits now, we need to be much
more careful about the PFDs we're willing to return. This change
requires that they be in external storage, and that they have the
ringtone/alarm/notification bit set.
Bug: 27366059
Change-Id: I59c2adc1d1250a3eac281f190f35a7cb3119967b
The custom notifications were fading really ugly when they
had a dark background like media notifications, because
it was fading from dark to dark.
Now this background is shared for both custom views which also
reduces overdraw for them.
In addition does the doze mode now work much nicer because we're
only fading them to greyscale instead of inverting.
This also fixed an issue where legacy custom notifications with
a dark background were colorful during doze.
Bug: 19437552
Change-Id: I87798da9ac11b9abfe4470b6ca53b555da3aa629
Because we also applied the hack to the expand helper to dismiss
the whole group instead of the child.
Bug: 27420342
Change-Id: I6179d3b99150c8005d0c45b6efdabb2de4dbe941
This CL fixes a long-standing issue in which Recents is not updated
correctly if it is not completely hidden and shown. In particular, it
would cause animation issues when launching into a non-fullscreen
activity or if the user quickly toggles between recent tasks. It
contains several fixes:
- The visual state in Recents is no longer reset until the activity is
fully hidden (onStop() is called), and the task stack state is saved
allowing us to return to the same initial state. When restarting the
activity, we propagate whether the activity was hidden down the view
hierarchy, so that each task can decide whether to reset itself.
- When the recents activity is started, we now merge the new stack with
the current stack instead of replacing it completely. This unifies
the logic when dismissing multi-window while Recents is open, and this
CL fixes an issue with the merging where onStackTaskAdded() was called
before the stack was updated with the new task. As a result of this
change, we can just rebind the task views without having to return and
pick them up from the view pool.
- This CL also fixes an issue with flashing when the screen turns off.
The activity onStop() can be called before the activity is fully
hidden, which would trigger a reset(), which would return all views to
the pool.
Bug: 23815609
Bug: 25411120
Bug: 27186407
Change-Id: I83d74c947f9b47766d6778b7f5c421bb6df833e9
- This guarantees that they won’t collide, where as the override task
progresses will as tasks animate while dragging to dismiss.
Change-Id: I25eded22c13b38428d849062c6d95893f3fff5c5
Because they were heads upped, some notifications could not be
expanded in the shade. We're now using the pinned flag to detect
this.
Bug: 27455837
Change-Id: Ifb9b401b0ca1bea98051ee681468b1c9db3ca92a
The wallpaper was shining through the background of notifications
when music was playing even though it shouldn't have.
Bug: 27478285
Change-Id: I419fa47ef34ace72ec911fcb780919f4a7ce786b
Night mode tile is getting auto-added. Do the safe thing for now
and fix the checks around the tile availability to make sure it
isn't shown when it shouldn't be, then fix the auto-add logic later.
Bug: 27480924
Change-Id: I3d032038cbc77bf478e3c769c6796be289a8d993
- Disabling the timer by default
- Adding flag to enable/disable paging (disabled by default). When
disabled, the second tap will just launch the next task.
- Updating the initial state to put tasks at specific points on the
curve. This allows us to allocate specific space for the front most
tasks, as well as the tasks behind it.
- Removing hardware layer config (no devices targeting N depend on it)
- Fixing issue with the header not having the final dim applied when
transitioning into recents.
- Fixing issue where the stack range would not be reloaded after docking
or undocking a task.
Bug: 27409035
Change-Id: I13a03fba2b1a770f15d0033d43ef4c28415041c9
This was caused by legacy code which set the actual height, which
in turn set the contentview to collapsed. If that happend during
an animation, the view could become blank.
Bug: 27448145
Change-Id: I0b3a2a2aee3052810176c2ff9a23825d83145d69