History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c721fcc526675956d89c3b1c23d714deff612cba 29-Apr-2016 Adrian Roos <roosa@google.com> Fix DirectReply taking too long in HUNs

The HUN logic delays removing notifications for a second or
two, but this makes Direct Reply stick around too long after
sending. To prevent this, cancel notifications in the sending
state immediately.

Change-Id: I9e655bb17674265761e1f6cc25acb2fb9f0c72a6
Fixes: 28421972
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
e6036ad09417edc2a0786237824eff306d1ca1bb 14-Apr-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Keep HUNs that have an active remote input" into nyc-dev
967ed2a151c9b349734892a2274304acd1bd373c 09-Apr-2016 Selim Cinek <cinek@google.com> Fixed a bug where the wrong group was HUNd

Fixes: 22466201
Fixes: 27925006
Change-Id: Iaaf91b63c0bb218a75b449554f17ed3828fdfff8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
e211f57e2a86ff1da81d7ee969b7148cb43db43f 08-Apr-2016 Adrian Roos <roosa@google.com> Keep HUNs that have an active remote input

Fixes: 28043709
Change-Id: I6dc4d0baecf2d1f6fe64071ef7591d4024911524
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
3362c1306e2d20775266be22acd00720531c126b 12-Feb-2016 Selim Cinek <cinek@google.com> Fixed a bug where huns could be invisible

When an unpinned fullscreen notification was in the shade
all successive normal huns would be invisible.
Also removed the sorted entries as it could lead to stale
data and crashes.

Bug: 27136766
Change-Id: Ib5239325e452a2b949cb4a4b8478d231189c4722
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
33d4614dfe2b9f89f653210b8609fca4f27c7fe9 16-Jan-2016 Selim Cinek <cinek@google.com> Removed notification top padding

Moving more to fullbleed

Change-Id: I28e52963315bbec37819a355dc3f198431e9daee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
ef5127ea5f34f7a4c961021f6b691174bcb81d2e 22-Dec-2015 Selim Cinek <cinek@google.com> Isolating heads up children from their groups now

Group children are now isolated into their own group for a few seconds
until it's merged into the group again when they are
heads upped. This makes notifications groups finally usable with
HUNs again.

Change-Id: I0cb5e4f7a70e09989030dfe70ddcbb50575c1c02
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
5bc852a950fccbb44064aa0a18f07042361a35f5 21-Dec-2015 Selim Cinek <cinek@google.com> Improved touch handling with groups and HUNS

Groups with HUNED children now don't totally destroy the touch
handling anymore.

Change-Id: I815260e22c59e939de12315a393de108fc0b47ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
31aada4ef4ff37f8cdc110b196c06918841647c7 19-Dec-2015 Selim Cinek <cinek@google.com> Enabled usage of expand button in heads up notifications

Heads up notifications can now be expanded with the expand
button. The notification stays there until the user dismisses it
or collapses it again.

Change-Id: I0f1b729915317bbbd6f13c3d968c933ffbe6feeb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
a69f2a6449b4b5eceae9cd5a6b1aae6eeec379b8 12-Dec-2015 Selim Cinek <cinek@google.com> Fixed a measuring bug with the notification children container

The notification children didn't respect the given dimensions
when measuring and was simply measuring itself as high as desired.
This lead to a bug where the parent could crash when a layer was
set on it.
We are now measuring the container at most with the height of
the given size and let children draw over our view bounds.
In oder to still allow touch in those regions we also
override the touch rect.
This also simplifies the rest of the touch handling.

Bug: 26159274
Change-Id: I728553a6386455e6632e2511be8a3e7cb447e89b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
54d8539d09009718ac8e61b7ac41355841e1b11a 16-Nov-2015 Selim Cinek <cinek@google.com> Merge "Fixed a crash with the heads up manager"
c9e68346221958edbd044c4e19ce60d2275ed00c 06-Nov-2015 Selim Cinek <cinek@google.com> Fixed a crash with the heads up manager

Bug: 25551571
Change-Id: Id852e342000bff6de0ce19f442eb53b21e935b7b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
83bc78338437a460076a4b5778ded38440ac3501 22-Oct-2015 Selim Cinek <cinek@google.com> Changed the appearance of notification bundles

Children now show up as one line notifications even
if the summary is not expanded. The childrenContainer
shows a summary if there are some which don't fit
in there currently.

Bug: 24866646
Change-Id: I0cfae9342722c9f8941f51704618190cfe4e76b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
f841912dcf24a2b43f73702b5d771e2cee1909b8 21-Oct-2015 Selim Cinek <cinek@google.com> Merge "Changing the ordering for heads up notifications" into mnc-dr-dev am: 688e046bad am: f9c4f745e6 am: ae070b96ac
am: 49ebad9e66

* commit '49ebad9e6613eab93705d10096c1af4539b5e9c9':
Changing the ordering for heads up notifications
2ae7107d0e9cde3e88c7313cf4dbcebbd171597e 21-Oct-2015 Selim Cinek <cinek@google.com> Changing the ordering for heads up notifications

In the new ranking, notifications with fullscreen
intents always take priority over those without,
such that when you get a call and a message
in succession, you would always see the
call on top and are able to pick it up.

Bug: 22778349
Change-Id: Ia9aaf009998fc9493f513dc71f2649d38ccf7a79
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
686fa711025f89316d0b3d044e7ed2329d4d678e 17-Oct-2015 Chris Wren <cwren@android.com> am fec413db: am 9c25e23c: am 3472f18e: am c7f2058c: Merge "count notification peeks by window action" into mnc-dr-dev

* commit 'fec413dbeae1a5afef833ad883d36bdd2a6af105':
count notification peeks by window action
063926bda7d32ca74075a6a106c712efc3aa3581 16-Oct-2015 Chris Wren <cwren@android.com> count notification peeks by window action

Bug: 20751989
Change-Id: I9b1093b98f303656a299c18b503c1d8c9f032335
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
1c0ca508b9d6184beba2050e6ab3a44ac5be137a 07-Oct-2015 Adrian Roos <roosa@google.com> Continue inline reply prototype

Adds IME focus management, prevents HUNs with active
RemoteInput from disappearing and fixes a few issues
with adding RemoteInputs from WearableExtenders.

Bug: 22452379
Change-Id: Ie3bd8e5d4635bd1e967afe2b894ad617dbc4ed10
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
0fccc729fd3b19a62efd90ae13b207faa3d1e8bb 30-Jul-2015 Selim Cinek <cinek@google.com> The heads up now correctly dissapears when clicking

Bug: 22729955
Change-Id: I977b36823bf936baab527f932b1e5576241f4d71
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
acd0df65dd8be97aae5617c9a8346d4a4ab88abd 30-Jul-2015 Selim Cinek <cinek@google.com> Fixed a heads up crash

Some references to notifications were still
kept around while timing out, leading to small
leaks and sometimes crashes.

Bug: 22819475
Change-Id: I1429b5669366521c6374efbcae6c26d6e407d8cc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
b659c4f44a839e6ad7ef6834cc0d35954e04460a 25-Jun-2015 Chris Wren <cwren@android.com> report notification load on panel reveal

Counts may differ from user perception. For example, if notifications arrive
after the shade is open (even if it is only peeking) there will not be another
panel_reveal before the user sees the shade. User perception is more accurately
measured by visibility events.

Peek events will report the notificaiton load as 1.

Bug: 20088581
Change-Id: I10221d4b66a18c223aae21e616615f087c65b1e1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
f87baef1b18f2564664a73f78859f23f92ad1d26 10-Jun-2015 Selim Cinek <cinek@google.com> Fixed a crash with HUN's

The sorted order was never correctly updated, leading to
dead elements inside the map which might even be a memory
leak in the worst case.

Bug: 21725521
Change-Id: Ic2064a04d458445d11df94e0358d4d2044c8b995
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
79d79c455beecf7a70460575ab21d9bf49767e2c 22-May-2015 Selim Cinek <cinek@google.com> The heads up now have a margin on top and don't stick to the edge

Bug: 21337754
Change-Id: I199bc0732df62eadc2458db12a7c1059da988020
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
131c1e2960fa5bdf54bfb6fcd5ac98c9f728f796 12-May-2015 Selim Cinek <cinek@google.com> Made sure that HUNS with full screen intents stay pinned

When a HUN came in with a full screen intent came in and the shade
was open, the notification was not pinned and therefore got lost
when the shade was closed, potentially leading to missed alarms
or calls.

Bug: 20431566
Change-Id: I0d5da0f9baba8d9f68ba2755c40c5fd9a8471191
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
737bff3476a3af8f930d29fccce16d033fbc3efa 09-May-2015 Selim Cinek <cinek@google.com> Fixed a bug where the HUN would interfere with the normal touches

When a hun came in or went away, the touchable regions were not
enforced correctly due to a race condition. This lead to the user
grabing the notification panel unintentionally and ripping him
out of the normal touch state.
Also fixed a small bug where the alpha was not correctly animating
sometimes and the HUN shadow would still draw.

Bug: 20956211
Change-Id: Iae1fef5825b3d2b8b4128cc8c3272019194cd819
(cherry picked from commit 8b4a06e9e269140c93c1a9ef5add008f7610d1a4)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
b349af573121cc659d775696066a13ed7101c308 29-Apr-2015 John Spurlock <jspurlock@google.com> Volume: dismiss volume UI to avoid HUNs.

Also include headsUp in the name of the pinned callback
method.

Internal version of AOSP proposal:
https://android-review.googlesource.com/147502

Change-Id: I8fe14bd7d65b2d3564cb1e2869d7ffbbac89e80d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
684a442b812a5e95d813700ffa2fd17ca72048a7 16-Apr-2015 Selim Cinek <cinek@google.com> Follow up CL for heads up notification refactoring

Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
2f6b3fb90f069fdb8502dedf657790bf3d94dbd0 20-Apr-2015 Selim Cinek <cinek@google.com> Fixed a crash with HUN notifications

Bug: 20421801
Change-Id: Ifc4445e585d924388f0642379c5268b6bbfb2e99
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
31d9ef7a402b58b10758da1d71ff5e2181abe8a4 16-Apr-2015 Selim Cinek <cinek@google.com> Fixed the behavior for HUNs with fullscreen intents

Now HUNs with full screen intents don't fire automatically
when added and don't time out anymore when HUN'd

Change-Id: Ic2d5033febe514760cbb4e6e028c3cea84d07cd8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
aac932591d7aa05bae61d2b47ed7647f35da0001 15-Apr-2015 Selim Cinek <cinek@google.com> Added the heads up scrim back

Also fixed a bug where the notification panel would
keep a hardware layer.
Also improved the interal structure of the HeadsUpManager

Change-Id: I635e4a89b0a32573c26515cc3e65e142d77593ec
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
e53e6bbb82b411f99083e4a6d2071fde45d68d53 14-Apr-2015 Selim Cinek <cinek@google.com> Fixed a bug where a notification could not be collapsed

Also fixed a bug where the content height was wrongly
calculated when the dismissview was invisible.
Finally refined the appearance when more then 2 huns
are present.
Change-Id: If66243beef2383f2cb36961deffcb0a42bbcd177
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
fbe9a44a15addf9d94cd40da56835501241b8d3e 14-Apr-2015 Selim Cinek <cinek@google.com> Made ranking consistent with heads Up manager

Change-Id: I8e83c2e7e5a5635c1c0fb83cf2b4614965336786
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
1f3f544f21cab3728f749ab66cd6859e9dfcf389 11-Apr-2015 Selim Cinek <cinek@google.com> Fixed more heads up bugs

Change-Id: Ibfb6656deb3bc588fc9292a672a5e4d4d1de4d23
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
a59ecc3401de0c4bf1e13665158f54669f22d06c 07-Apr-2015 Selim Cinek <cinek@google.com> Handling a few more border cases with HUNs

Also does sorting correctly now.
The status bar now allows touches below when a
heads-up is on.
Also fixes a few flashes when a heads up was
dismissed or appeared.

Change-Id: I4d90a07333ad2e5ea2a13704cdc9d9184716681a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java
b8f09cf5533d458868a335ce334e4880b2b0788d 17-Mar-2015 Selim Cinek <cinek@google.com> Integrate Heads-up notifications into the shade

Change-Id: I4ca0fb4e76e7c974490538c168da0564fe97e0ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java