History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c2dbe49bdcd487cb18bc97f5d4942224f64e8540 30-Mar-2017 Mady Mellor <madym@google.com> Don't commit snooze on horizontal swipes or when its in its expanded state

- Previously any touch outside of the snooze menu would commit the action
(similar to how notification info gets reset) now only touches that
aren't horizontal swipes will commit the action (if you snooze multiple
in a row, it's jarring for the snooze item to disappear when you hit
'down' on the next notification)
- Tracks expanded state of snooze menu
- Rather than commiting (i.e. snoozing) upon outside action when the
menu is expanded it collapses the menu, upon next outside action snooze
is commited

Test: manual / runtest systemui
Bug: 37253059
Change-Id: Ie0383fb8de49efe1b1bf0ed75d60cf75864f0210
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
c1d9cdfe79edb9710e5ceb40a6ea53453b3a923e 19-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update snooze visuals to match latest design" into oc-dev
e09fb7029ac29f337b8d3b9e564e5b994a9ed927 30-Mar-2017 Mady Mellor <madym@google.com> Update snooze visuals to match latest design

Also updates it so that the height animates going from collapsed / expanded

Test: manual / runtest systemui
Bug: 36249479
Change-Id: Ice10e42986eddc9b87ba79cd00dfc59fefef5464
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
d94e788318002dfb70545173773393ac1b389d20 06-Apr-2017 Geoffrey Pitsch <gpitsch@google.com> Accessibility for Notification Inline Controls

Send WINDOW_STATE_CHANGED event in status bar
Disable falsing when in touch navigation
Accessibility string for enable/disable switch
Bug: 34840327
Test: runtest systemui
Change-Id: I60cc7e49d9e6323e23a17183b8b10c9d857501bb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
95d743c38c919dd500d9dcacf9f998500d403d9e 10-Jan-2017 Mady Mellor <madym@google.com> Add plugin interfaces to control notification menu / swipe behavior

1) Updates the notification menu plugin to do more:
- The plugin can now supply the view it wants to display behind a
notification as the menu
- Touch interaction (i.e. notification translating on top) is piped
through to the plugin so it can update the view behind the notification

2) Makes NotificationMenuRow an implementor of the plugin which moves
a bunch of that logic out of NotificationStackScroller

Test: runtest systemui
Change-Id: I8723b96c195ff7311317d5523418cfcbe2a79b52
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
434180ce5155f0c405080698031f05e9eab3dd4c 13-Feb-2017 Mady Mellor <madym@google.com> Fix notification shelf icon showing on top of snooze leave behind

Also fixes an issue where the guts closed listener would always call
onHeightChanged because the notification isn’t marked as removed
until after the listener gets called.

Fixes: 34866027
Test: Manual - have one notification, snooze it
Change-Id: Ic67bdb353b8bb5df8bdaaf6d3e71ade7da05ee46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
df44b606f357bb67e7a3b44e58f551c1c731ce42 03-Feb-2017 Geoffrey Pitsch <gpitsch@google.com> Updated Inline Notification Controls

Removed old xml resources, strings, dimens, etc
Different behavior when sent from the default channel.
Display how many notification categories are used by the app.
Group label when channel is associated with group.
Add package icon.
Fix tap-away-to-save behavior

Test: runtest systemui
Change-Id: Ib41a536a5c4e7c7747a2453eddc3b4b4b99ffa7a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
87d7945f0693d3ca943bfb6491d4eba3a8d7cc75 10-Jan-2017 Mady Mellor <madym@google.com> Change NotificationGuts to contain a view

NotificationGuts is now given a view to display, the notification
management controls have been moved into their own view.

NotificationGuts is provided a view to show via a MenuItem.

This allows configuration via the NotificationMenuRowProvider Plugin.

Test: manual
Change-Id: I68cb23ea2cada30cc6e930fa8c03e0aa4014dfe2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
924eed1ca6d3fec5dae7eb0f9c11b8f23f628697 19-Jan-2017 Julia Reynolds <juliacr@google.com> Add updatable fields to Ranking

- NotificationChannel
- Badging

Test: runtest systemuinotification & cts

Change-Id: I7fd1f2dc06148927e9a4bd5b760d436e2c5e8a98
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
4e7ae02ce0a26ffae98adb1df5ab702bb3b211da 11-Jan-2017 Geoffrey Pitsch <gpitsch@google.com> Do not select an importance for unspecified notifications

Test: runtest systemui-notification
Bug: 34164846
Change-Id: I4988ce26264853fd9ab84ae02e995641edf933cd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
4dd5006ff58c3b1ee5a2e0db343170e7cbd1b585 06-Dec-2016 Geoffrey Pitsch <gpitsch@google.com> Change Notification Inline Settings for Channels

Removes slider advanced settings.
Move more Guts internals out of BaseStatusBar.

Test: runtest systemui
Change-Id: I0cf7f144859d1248bd54e281cfe0b35a817376a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
baff400fa5a93d157934818982fcf534327f9830 15-Dec-2016 Julia Reynolds <juliacr@google.com> Add badging support for channels.

In this iteration badges are a user opt in feature.
Known issue: all listeners will receive 'badge only' notifications.

Test: runtest systemui-notification

Change-Id: Ic7450bf4de5351cfdc72bd96ec946fe6e035035c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
a686b2c9a91e2e6276676e5730339f7630e2f927 26-Oct-2016 Selim Cinek <cinek@google.com> Fixed the transformation into the shelf

The transformation was based on the intrinsic height but that doesn't
work since it can suddenly jump, i.e when swiping away the top notification.

Test: Add tall notifications, swipe top one away, observe no jumping.
Bug: 32437839
Change-Id: I68f83e167f73ca6c87a5838000b11029214e4ca3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
383db5ebcc3a4a615faf249bf4f126f42e80b82e 22-Jun-2016 Tamas Berghammer <tberghammer@google.com> Update package names to work with the proto3 compiler

Bug: b/28974522
Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
85769915e7ef10bef2b5338ed8f04d9b787924fb 25-Oct-2016 Julia Reynolds <juliacr@google.com> Some channel model updates

- Apps cannot update their channel settings after creation.
- Importance is required when creating a channel.
- Some method name changes.
- Ranker can't modify fields a user has changed.
- High and Max importance mean the same thing.
- The default channel adopts app wide settings on creation.
- The default channel is limited to importance low once target api is post n mr1
unless the user changed it.

Test: runtest --path frameworks/base/services/tests/servicestests/src/com/android/server/notification

Change-Id: I73c449a6abe6d709046de79c5c54339cb2edf0b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
98a448633c65364e002c2b2c56494428d87929ed 12-Sep-2016 Julia Reynolds <juliacr@google.com> Non-blockable notification packages.

Adds a resource for listing packages whose notifications users
cannot block.

Bug: 31404047
Change-Id: I6247f0826fe1c2cf080b33fea6b7fdcf1e9f0cc6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
bfba9d485eb54e896bfd0234647e0020401c1491 14-Jul-2016 Tony Mak <tonymak@google.com> Disallow user to block notification from OobConfig

Change-Id: Ifb2ea790559fc91f88b38ecf29a2b0a7949aeabb
Fix: 29632126
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
630cc3017abbce58023e736f24ba05c6327eaeb6 24-Jun-2016 Julia Reynolds <juliacr@google.com> Always reapply strings.
am: 9c0c3d8d8b

Change-Id: I20ad505b3cb75319cc81a3dfb6ecfd0fae9ac24a
9c0c3d8d8b032544623c3098f3fb346186510f41 24-Jun-2016 Julia Reynolds <juliacr@google.com> Always reapply strings.

Change-Id: Icc66d1e23048d2676b5776c3eec76345963228d0
Fixes: 29620816
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
f03046aa205298d16789c0a485741ac4ecdbe722 23-Jun-2016 Min Yun <min.yun@lge.com> Merge \"Fix guts are not bound properly.\" into nyc-dev
am: 9ea3916063

Change-Id: I3adc7f367792e30bdf61067ea367436a22ef5842
175559a28b3df7573d00db1fb707d82b2099b4be 17-Jun-2016 Min Yun <min.yun@lge.com> Fix guts are not bound properly.

When binding importance to guts, applying findViewById
to ExpandableNotificationRow of group's parents could
cause to return the reference of child notications's guts
which also has the same id. As a result guts are
not bound properly, and show weird guts.

Fixes: 29452827
Change-Id: Iaf8ee74b988bf41680857e9c3c3ae9e3bd8e4e1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
5c3734456e35de1ea56f890537f9eebf5f2ec699 12-Jun-2016 Andrew Sapperstein <asapperstein@google.com> Update System UI to use theme colors.

Instead of using hardcoded values, use colorPrimary, colorAccent, etc
to style system UI. Required setting a theme on several views to
get the proper accent color in the right place.

Deletes a lot of hard-coded colors from the app.
Deletes an unused view: StatusBarHeaderView

BUG: 28625050
BUG: 29003410
BUG: 28625105
Change-Id: I46cd8eba7cf5afdab53c7882aa4aac5af46772a9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
cdf98e1964489916c68e240bd92c2e0bedab3c2d 02-Jun-2016 Julia Reynolds <juliacr@google.com> Don't leak guts.

Change-Id: I7a9080ce4d360ed67b884eb9cbd8597496388389
Fixes: 29064258
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
3aa969f68d839a41ffdfc545a07d8e78986c1a48 26-May-2016 Julia Reynolds <juliacr@google.com> Importance slider updates.

Icon & tint.

Bug: 28911161
Change-Id: Id8c3a4b79326eb5073a600de49ac14ae7223b398
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
d5004959357bb53caacaaca455b2f4e4478de54c 26-Apr-2016 Julia Reynolds <juliacr@google.com> Swap star tint.

Bug: 27558254
Change-Id: Ia72cdc89d4cdcf3f5a5210f14632c15271922a98
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
4d920ff6eba92ccb7bb79540d9328acebf1baa93 07-Apr-2016 Julia Reynolds <juliacr@google.com> Notification slider update.

Bug: 27558254
Change-Id: I5e03aacf3aafb900f45d227a031a5dbb328ba18f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
97c8df46936aa5d112656a07b65a9e3f051c6e24 23-Mar-2016 Mady Mellor <madym@google.com> Close guts/gear after a timeout and if there's been no interaction

On the lock screen the inline controls and gear behind the
notifications may be activated by accident. This CL alters them
to close after a certain period of time has occurred without
interaction.

Bug: 27335311
Change-Id: Ib3b0575571076a5912e23c7d2da5209e9a523fc8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
8e8a69e90fbc35f794fa9f6d3bd9e1227ed1a6e8 14-Mar-2016 Mady Mellor <madym@google.com> Adds security challenge when changing notification settings from lock screen

Bug: 27335311
Change-Id: Ifb9391e371472077447db4603b5ac7e9fba93c20
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
cac8862bb93031f75b2ba6eb528e1e954fb4a28d 03-Mar-2016 Julia Reynolds <juliacr@google.com> Inline settings update.

-Show silently is IMPORTANCE_LOW, not DEFAULT.
-Select the correct default option.

Change-Id: Ic09174cf55fcc36a06abf1f8f39bc96beb931f69
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
f0f629ffe44716b8d900929135142f0ebb9325f4 25-Feb-2016 Julia Reynolds <juliacr@google.com> Introduce IMPORTANCE_MIN.

Allow HUNs for >= IMPORTANCE_HIGH.
Allow full screen intents for IMPORTANCE_MAX.

Bug: 22960980
Bug: 26918284
Change-Id: Id4d2b90ea2e21563dbc716db411060d826e73699
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
4077945e1b3e0e1b5bcd9f57f8fa3fbeffb29c01 23-Feb-2016 Julia Reynolds <juliacr@google.com> Remove inline settings slider.

Bug: 22451710
Change-Id: Ia4f85569f878531102d91564d0728a94783cc79d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
ef37f284364cc45c2ed91bfe04c489d2cedd32d2 12-Feb-2016 Julia Reynolds <juliacr@google.com> Remove Notification Topics.

Bug: 23220370
Change-Id: Ifbcdbab1cf6974c192483091512f75762784a98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
fec58c263c6e3da3fa449fac1d0c2630c8d66bd6 12-Feb-2016 Julia Reynolds <juliacr@google.com> Show topic settings inline if user has configured topics.

Change-Id: Icf51faad61b3ae4261991691a1d679b190ea712a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
b1a235f9524b71126a9768571ad0b0a7fe0b304c 09-Feb-2016 Julia Reynolds <juliacr@google.com> Importance slider logging.

Change-Id: I3c4ad73d1460e4d28cb1a10846159128590d2b20
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
92d456e9a62d7dadb3e21f481f7453bd82b1aa23 25-Jan-2016 Julia Reynolds <juliacr@google.com> Show app level settings when an app doesn't use topics.

Change-Id: I205062868ac3a44aa24a29bcb82a9374026287a7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
7727ad23b252cc78f1eb942628e3639668e64536 22-Jan-2016 Julia Reynolds <juliacr@google.com> Inline settings color changes.

Bug: 26486314
Change-Id: I8c842081e544b05c6d88e99361426052c216d8f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
21c30548ba11c40fe71df375911dad2e0316ad19 15-Jan-2016 Julia Reynolds <juliacr@google.com> Prevent users from blocking certain system notifications.

Bug: 26575595
Change-Id: I0c890852a441085fffab143a590a12fbd7f2b2a3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
0714f62c29bab2383c232bd61b474335283fe6a1 07-Jan-2016 Julia Reynolds <juliacr@google.com> Save importance on 'done'

Bug: 26402940
Change-Id: I500b1e5c98cd849b2d24ea15b12ef667349a2119
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
d84a5930cca7add37e7e23305538d29959daf199 15-Dec-2015 Selim Cinek <cinek@google.com> Fixed the redacted layout for groups

Also fixed a bug where the guts didn't have the
right size and in general cleaned up the intrinsic
height. The guts also animate nicely and the position
of their animation starts on the finger.

Change-Id: I62447dd77ace36161740dfdf3d18103524e2eb21
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
be8fdee532cff806a7482863b7c72e907547d127 18-Dec-2015 Julia Reynolds <juliacr@google.com> Differentiate between apps that use topics and those that don't.

Bug: 22451710
Change-Id: Idb567a4fc511a03cb999179765cfa4cbeb63dcb7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
a07af88b9566e34ecb0cfd07f225d7ceb181e8bb 17-Dec-2015 Julia Reynolds <juliacr@google.com> Allow users to set app-wide Importance default

And the associated ui changes to the notification guts.

Bug: 22451710
Change-Id: I4e0b11e7b24d70b039a432c5e6cd76c9c7cc547c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
ead00aac154f76abfc9739d76b100597b3e42d96 07-Dec-2015 Julia Reynolds <juliacr@google.com> Add importance to notification guts.

Note: the guts are still trucated to the height of the notification.
The slider initially shows the importance of the individual notification,
but changing the slider changes the importance for the whole group
of notifications.

Bug: 22451710

Change-Id: Id6de3aaace2bdb88a8cc5db517002dc7f0e349ae
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java
024ca598dd4b38b389251c138f4ef9882d4b68b0 01-Sep-2014 Selim Cinek <cinek@google.com> Notification guts have now the actualHeight of the notifications

Before it just had the height of the notification leading to bugs
in cornercases during animations and swiping.
Also updated to colors to use system colors.

Bug: 17333457
Change-Id: I00d87820595a789006632c582e8c35759a61969d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java