7af536257107b9caaecee481095558db9eed320e |
|
12-Oct-2016 |
Adrian Roos <roosa@google.com> |
Fix Notification.Action.Builder copy constructor The copy constructor of Notification.Action.Builder did not copy the mAllowGeneratedReplies field. Change-Id: I40fbe8950ee2232e2589ab3930a32bfbebe9fc89 Fixes: 31766718 Test: runtest --path $T/cts/tests/app/src/android/app/cts/NotificationTest.java
/frameworks/base/core/java/android/app/Notification.java
|
fd590441c181fccbfeca200161fc7cee03846c8f |
|
07-Oct-2016 |
Alex Hills <ahills@google.com> |
Updates documentation for MessagingStyle constructor MessagingStyle expects the field userReplyName to be non-null, but the documentation doesn't describe it as such. This updates the documentation to say the field is required, and adds a NonNull annotation. This has no behavior changes. BUG:31747744 Change-Id: If832d059c276e856fba366dabfa8a5821bb63054
/frameworks/base/core/java/android/app/Notification.java
|
53c934cb75613b4413172bfec9fe95776af62941 |
|
16-Sep-2016 |
Julia Reynolds <juliacr@google.com> |
Null check action cloning. Bug: 31275706 Change-Id: I7f8c14a5863d2f787b9090ef740e80ce0c4b9335
/frameworks/base/core/java/android/app/Notification.java
|
d4a95806ab86efadc1177e57a358b6a3323e3fc4 |
|
10-Aug-2016 |
Adrian Roos <roosa@google.com> |
Merge "Notification: Reuse drawable in Header if Icon unchanged" into nyc-mr1-dev
|
c4337a35696b5456a18b9de5e29841612364a2e5 |
|
03-Aug-2016 |
Adrian Roos <roosa@google.com> |
Notification: Reuse drawable in Header if Icon unchanged Mitigates an issue where a LevelListDrawable would constantly be reloaded even if unchanged. To avoid this, small icons are now only reloaded if they no longer point to the same resource. Note that StatusBarIconView already has this logic. Change-Id: I6be436e5cef7b7ca91a28edc413b1aaa0f1007d5 Fixes: 30496073
/frameworks/base/core/java/android/app/Notification.java
|
e99acb29db6ae9654be17e94bcc28b7e837784ed |
|
04-Aug-2016 |
Selim Cinek <cinek@google.com> |
Fixes a bug where setting a null bigLargeIcon would not clear it Because we were also looking for legacy icons and the legacy icon was always restored for old listeners, the icon would not disappear. Change-Id: Id911d405e5ae00bf45e34368effbf67c2425a40c Fixes: 30663590
/frameworks/base/core/java/android/app/Notification.java
|
0ff47b64cd5e47b648ab6a5462ec376ba048f7a4 |
|
22-Jul-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes Idd0b38b4,I511356a8 into nyc-mr1-dev * changes: Fixed a bug where the fade in from dark would not work properly Changed the appearance of fullscreen intent notifications again
|
981962e6ad04725ebbf1b728afde2bdc7706290f |
|
21-Jul-2016 |
Selim Cinek <cinek@google.com> |
Changed the appearance of fullscreen intent notifications again Change-Id: I511356a8dc0fe253541c625fb7b43ed0c7bafaca Fixes: 28269355
/frameworks/base/core/java/android/app/Notification.java
|
9d8de73530bbfb247f212e76c84bfaef2e3f1dd3 |
|
15-Jul-2016 |
Adrian Roos <roosa@google.com> |
Merge "Notification: Apply small icon level" into nyc-mr1-dev
|
06e9e1fe004d668eb205590ff125c10f97285e3b |
|
09-Jul-2016 |
Selim Cinek <cinek@google.com> |
Changed the appearance of phone call notifications Change-Id: Ibf8f9b266428fdd5374ee824ec4c2df10daeb9a7 Fixes:28269355
/frameworks/base/core/java/android/app/Notification.java
|
78f525b6742c78ef3aa7048aa8679a9aea6e6e12 |
|
01-Jul-2016 |
Adrian Roos <roosa@google.com> |
Merge \"Fix missing header text in notification groups\" into nyc-dev am: a275ec269f Change-Id: Ida3c3f33c63aa904d34c864899ddc8aac0368394
|
9dfb78fab6c0709c0d409713ef0a5fb5b872a67e |
|
01-Jul-2016 |
Adrian Roos <roosa@google.com> |
Fix missing header text in notification groups Fixes a case where notification header text could go missing if a notification view was recycled and previously had a header text. Reapplying only hid the text without clearing it, so the extraction logic thought it was still there and hid the text for the children even though it was not showing for the parent. Change-Id: I3f96e1e7bebb2f815020d278ad13b2b5d948e63c Fixes: 29915184
/frameworks/base/core/java/android/app/Notification.java
|
9b45a1545fb11484cf96837b9dd6d3f157c7e06a |
|
28-Jun-2016 |
Adrian Roos <roosa@google.com> |
Notification: Apply small icon level Change-Id: I7733da7aee54fab42bdbea09e7696a7a2bf9fb65 Fixes: 29828905
/frameworks/base/core/java/android/app/Notification.java
|
1cec26c69e5ecd33d634996b05db8b0b3467b9f0 |
|
28-Jun-2016 |
Felipe Leme <felipeal@google.com> |
Merge \"Remove redundant setPendingIntentWhitelistDuration() calls.\" into nyc-dev am: c1374208e3 Change-Id: Ie02a847ac513f89c1c430af0e3f559cf0bc2039d
|
dd85da6e94fc7fd239fd97b954c1c78e66b265d6 |
|
28-Jun-2016 |
Felipe Leme <felipeal@google.com> |
Remove redundant setPendingIntentWhitelistDuration() calls. Since all pending intents are stored on a Set in the Notication object, there is no need to individually check for specific pending intents. BUG: 29480440 Change-Id: I27a18bb535a9a4bb6cb4e76bdc189e6c315a684a
/frameworks/base/core/java/android/app/Notification.java
|
7878e736f7d3e99829453684c30f4b673e71c1fd |
|
28-Jun-2016 |
Svet Ganov <svetoslavganov@google.com> |
Merge \"Mark app pending intents in notification extras\" into nyc-dev am: b2cd9c95bf Change-Id: Idb515255f224c23d60a513713d9e4f93decd7a9c
|
ddb948896ca7059161e09d0063b3332352772c0a |
|
24-Jun-2016 |
Svet Ganov <svetoslavganov@google.com> |
Mark app pending intents in notification extras We need to make every peniding intent that went in the notification system to allow special handling of such intents when fired by a notification listener. If a pending intent from a notification is sent from a notification listener, we white-list the source app to run in data saver mode for a short period of time. The problem is that actions and the notificaion can have extras which bundles may contain pending intents but the system cannot look into the bundles as they may contain custom parcelable objects. To address this we keep a list of all pending intents in the notification allowing the system to access them without touching the bundle. Currently the pending intents are written to the parcel twice, once in the bundle and once as the explicit list. We can come up with a scheme to optimize this but since pending itents are just a binder pointer it is not worth the excecise. bug:29480440 Change-Id: I7328a47017ca226117adf7054900836619f5679b
/frameworks/base/core/java/android/app/Notification.java
|
7816efa6afd579aa32cfb5f93e8454d7cc0db70f |
|
15-Jun-2016 |
Alexander Hills <ahills@google.com> |
Merge "Adds a flag to Action.WearableExtender to display actions inline on Wear" into nyc-mr1-dev
|
279fa867e536d7f4780d52ead33d926638069755 |
|
14-Jun-2016 |
Selim Cinek <cinek@google.com> |
Fixed another case where the systemUI could crashloop Because it's not guaranteed to use any builder at all, there is another case where the SmallIcon could remain null. We are now checking this lazily instead of ahead of time. Change-Id: I7a0feff6911b2bce6707427259d3423131a26e32 Fixes: 29255365
/frameworks/base/core/java/android/app/Notification.java
|
8507d98ad1636fa8f7569f0a76ff7bec78d76cb9 |
|
14-Jun-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix jittery action bar during transitions" into nyc-dev
|
26e864c3982777f847220b8278a5e931451689ab |
|
14-Jun-2016 |
Adrian Roos <roosa@google.com> |
Merge "Make RemoteView margins density-change safe" into nyc-dev
|
05e19bba3767cf3369e698abc7b2746e53188934 |
|
14-Jun-2016 |
Selim Cinek <cinek@google.com> |
Merge "Fixed a bug with a legacy notification API" into nyc-dev
|
4ac6f6010bf18f331d2081699a57ce6a787e4fdc |
|
14-Jun-2016 |
Selim Cinek <cinek@google.com> |
Fixed a bug with a legacy notification API When using setLatestEventInfo the icons would not be shown at all anymore, leading to a crash if they were grouped. This CL makes sure the smallIcon is always set even for those legacy apps. It also fixes the usage of setShow when, as legacy apps wouldn't have the time anymore. Change-Id: I2645175b2adabcedbbfec7a502b89d143d2b9bd3 Fixes: 29255365 Fixes: 27430676
/frameworks/base/core/java/android/app/Notification.java
|
f852a42b0412decf701a001614048758eb1ccd6f |
|
03-Jun-2016 |
Adrian Roos <roosa@google.com> |
Fix jittery action bar during transitions Fixes a bug where the action bar would get cut off slightly resulting in a bad transition when transforming between action bars that were correct and those that were cut off. Fixes: 28935363 Change-Id: I7d8eeb5e5fa545820a8979ea09816b330bdb384b
/frameworks/base/core/java/android/app/Notification.java
|
2d5dbba923b464e2a194f344e74d05d6ff724c35 |
|
09-Jun-2016 |
Adrian Roos <roosa@google.com> |
Make RemoteView margins density-change safe Bug: 28935363 Change-Id: I279da8da84f794c512a66cb46c76ae9e746a6387
/frameworks/base/core/java/android/app/Notification.java
|
feafa052f33d97b9bf73cae8aa4074462c399f73 |
|
02-Jun-2016 |
Adrian Roos <roosa@google.com> |
Add MessagingStyle transitions Fixes a particularly bad transition in the case where there is one incoming message to a group. Change-Id: Ieddece4a496292a69e14cdcd74d94986938d8223 Fixes: 29043489
/frameworks/base/core/java/android/app/Notification.java
|
9f08761f08925bc4978a45c2c8f8e224c14c3336 |
|
07-Jun-2016 |
Alex Hills <ahills@google.com> |
Adds a flag to Action.WearableExtender to display actions inline on Wear Bug:28909490 Change-Id: I124bdd0a91ed7d78c527988e390b823dcbd1b85f
/frameworks/base/core/java/android/app/Notification.java
|
33fbd2c9659d0560d3a310d0cd28f452d5a25cdb |
|
28-May-2016 |
Adrian Roos <roosa@google.com> |
MessagingStyle: Generate EXTRA_TITLE and EXTRA_TEXT Generates an appropriate title and text for MessagingStyle Notifications, such that SystemUI can generate the appropriate oneline representation. Bug: 28934989 Change-Id: Ic23ed18bb9c4af21ad59626ca161ca7abb25a4e9
/frameworks/base/core/java/android/app/Notification.java
|
5dbb9ff67468979214542eb6a448711d2d614cdb |
|
28-May-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix bad one-line MessagingStyle" into nyc-dev
|
b1f427c7c4e923be1d12a1b8b60b587a0a0108a6 |
|
26-May-2016 |
Adrian Roos <roosa@google.com> |
Fix bad one-line MessagingStyle The one-line non-group version of MessagingStyle causes a bug with the action bar and generally looks bad because it is too short. To fix, show this variant like a BigText notification. Change-Id: I8af9e9da8286599b81ccb7c4637471ac01795366 Fixes: 28767094
/frameworks/base/core/java/android/app/Notification.java
|
c178f519b94b239aa02633dae7127e619f5b0aa6 |
|
24-May-2016 |
Selim Cinek <cinek@google.com> |
Merge changes I7773ed3a,I73d97d9a into nyc-dev * changes: Added accessibility action for scrolling the notifications Fixed a bug where the text directionality was inconsistent
|
d15cc7a83e8d6251d4cf78bb08ee26b9ae949b58 |
|
24-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Deprecate unnecessairy Notification.Style constructors" into nyc-dev
|
954cc230ed827d5b0a22fce2775cff4db2375d78 |
|
20-May-2016 |
Selim Cinek <cinek@google.com> |
Fixed a bug where the text directionality was inconsistent The title would not be fully right aligned because it wasn't layouted with match_parent because there could be a second visible text when there is a progressbar. Change-Id: I73d97d9a8addaec0e3b849349f220c764fa45db0 Fixes: 27893267
/frameworks/base/core/java/android/app/Notification.java
|
f5faf9db14347e917747c3d65e0220918dd0ab7b |
|
23-May-2016 |
Adrian Roos <roosa@google.com> |
Deprecate unnecessairy Notification.Style constructors Change-Id: I7a15eaaac4f756d137483aec5f389951c5a7eecb Fixes: 28775574
/frameworks/base/core/java/android/app/Notification.java
|
0a9ccf26192bc5a6fd74afb7afd4834b08230299 |
|
23-May-2016 |
Chris Wren <cwren@android.com> |
Merge "Never fetch notification badges for USER_SYSTEM" into nyc-dev
|
66619a2ea19622b79f7b3be8ecfb59f5a887cd14 |
|
12-May-2016 |
Chris Wren <cwren@android.com> |
Never fetch notification badges for USER_SYSTEM This user never gets a badge, and secondary users will see a security exception attempting to fetch it for USER_ALL notifications, such as USB and battery state, which are posted by USER_SYSTEM. Bug: 28743335 Change-Id: I65aeb1cf2192811055f8cd94df0b7e292c5c1acf
/frameworks/base/core/java/android/app/Notification.java
|
2486cb2c8978003d2b5cfa7e8169019421582cb0 |
|
19-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fixed a bug where the chronometer was invisible" into nyc-dev
|
c2c0b043cf6e341ff445a63f573da16191ad9e91 |
|
19-May-2016 |
Selim Cinek <cinek@google.com> |
Fixed a bug where the chronometer was invisible We were requiring the time to show in order to show the chronomer which didn't make any sense. Change-Id: Ia6d00d0932d272a6c5e20e8b41e3acfb53b7987a Fixes: 28848113
/frameworks/base/core/java/android/app/Notification.java
|
718ba309cfc9bbc3bbf785bbe5dfc1049ce02d20 |
|
18-May-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Adjust Notification APIs per API council" into nyc-dev
|
96b7e20ba6b79d55b6460e6a7ee11911736f89f9 |
|
17-May-2016 |
Adrian Roos <roosa@google.com> |
Adjust Notification APIs per API council Also fixes a slight bug where a CharSequence extra was retrieved as a string. Change-Id: I8a40ab1934b8a20355c3cd4afd66a4a7b91fb517 Fixes: 28775580 Fixes: 28775582
/frameworks/base/core/java/android/app/Notification.java
|
fbddd2c39c17ca6028cb866c46420e1e51fa37be |
|
13-May-2016 |
Adrian Roos <roosa@google.com> |
Fix broken MessagingStyle Messages with a "null" sender indicating a message from the local user did not correctly unparcel. Change-Id: I7d42d5dc407ebd8d1e3b5451f72f52cc1543a32d Fixes: 28763122
/frameworks/base/core/java/android/app/Notification.java
|
9cb7652fb19256fe61d81c7770fe729fc6b67481 |
|
02-May-2016 |
Adrian Roos <roosa@google.com> |
Merge "Make sure all Notification actions are shown" into nyc-dev
|
948627eeaaa9ab4147b87bda9565ad16c510cfb7 |
|
14-Apr-2016 |
Nadia Benbernou <nbenbernou@google.com> |
Add api to WearableExtender for setting and getting the dismissal id. Bug:27696581 Change-Id: Idf37234a9fd1d54e2fab0a4d5bfab70bbb1a3ba5
/frameworks/base/core/java/android/app/Notification.java
|
61254356d6ce4193e516cf83c627f260431b7ce6 |
|
26-Apr-2016 |
Adrian Roos <roosa@google.com> |
Make sure all Notification actions are shown Ensures each action gets at least its minimum width to prevent an overly long action from squeezing out the others. Change-Id: Ifb6253051b556bbab4738abef12dad0bb6f3c3d6 Fixes: 27996783
/frameworks/base/core/java/android/app/Notification.java
|
9de0f87e9708f86b46a3c38d4d091c2bc1ba9885 |
|
28-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Move allowGeneratedReplies to Action" into nyc-dev
|
5aa8e7d1f12f78dde892bdc6698550e8d1c558c4 |
|
28-Apr-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix MessagingStyle HUNs" into nyc-dev
|
1689203d5cc33c2490169d7998cf3ffbeb5d35fc |
|
28-Apr-2016 |
Selim Cinek <cinek@google.com> |
Merge "Handle empty bigTexts more gracefully" into nyc-dev
|
7599878c8a777eb52a14a43a6d63b799fe3bc53b |
|
26-Apr-2016 |
Selim Cinek <cinek@google.com> |
Handle empty bigTexts more gracefully We're now falling back to the normal text if the bigtext is empty Bug: 28318145 Change-Id: I5da237780407b62d21f79f7a754736ae1e4a8785
/frameworks/base/core/java/android/app/Notification.java
|
42b0c4dcf0e8e61280143a9056a81235f587d82f |
|
26-Apr-2016 |
Alex Hills <ahills@google.com> |
Move allowGeneratedReplies to Action Bug:28044251 Change-Id: If25d63a32f82537432858b1a31e78292638631b7
/frameworks/base/core/java/android/app/Notification.java
|
dedd1df2f22afd6bc3e544822e5526b0343145ef |
|
27-Apr-2016 |
Adrian Roos <roosa@google.com> |
Fix MessagingStyle HUNs - Supply the appropriate HUN view - Make sure we can properly parcel and unparcel the Style Change-Id: I86c70b9c41689da98f45219b244aac0dec461002 Fixes: 28400885
/frameworks/base/core/java/android/app/Notification.java
|
4c1fcc892e802840e3daad8be9eedb2eb1887ef8 |
|
31-Mar-2016 |
Adrian Roos <roosa@google.com> |
Fix remote input view clobbering - If a notification is updated, make sure that the focus is kept even when the change cannot be applied inline. - Make sure to update the pending intent to match one of the new actions in case the old one is no longer valid, and to prevent sending text to the wrong action unintentionally. - Keep focus when switching between heads-up and expanded. - Prevent the action container from becoming transiently gone during reapplying. Fixes: 27357771 Change-Id: Ie9f49935827f6efb15b73f8d686f0c110448456a
/frameworks/base/core/java/android/app/Notification.java
|
955009f9d384d1b19ebb441814ca0a3fac0fbc47 |
|
25-Apr-2016 |
Daniel Sandler <dsandler@android.com> |
Merge changes from topic 'substitute-notification-app-name' into nyc-dev * changes: Move EXTRA_SUBSTITUTE_APP_NAME to the published system api. Show "Android System" instead of "System UI" in screenshot notifications.
|
14d8be728bbca1e7d721479fa1476e23e1b7accf |
|
24-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fixed the paddings in inbox style to match the rest of the templates" into nyc-dev
|
80eaa597590b739252883326a3cf4401ad722167 |
|
15-Apr-2016 |
Dan Sandler <dsandler@android.com> |
Move EXTRA_SUBSTITUTE_APP_NAME to the published system api. Bug: 26517701 Change-Id: I27000d777247c598cc509079004b4506ef05b404
/frameworks/base/core/java/android/app/Notification.java
|
eefff3742de62101341128a32b227a25ed22df06 |
|
23-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Fix content description for notification icons" into nyc-dev
|
07c8017bc27f1cbf34e29f27e08ba4e7f8f10d16 |
|
22-Apr-2016 |
Selim Cinek <cinek@google.com> |
Fixed the paddings in inbox style to match the rest of the templates Change-Id: Ib7701ac29d5f8a123441fbf6d95a5b0b9cadfb4e Fixes: 27998488
/frameworks/base/core/java/android/app/Notification.java
|
eba0582af1073cfbd1adbffe79fb7755087a6ed7 |
|
23-Apr-2016 |
Adrian Roos <roosa@google.com> |
Fix content description for notification icons Change-Id: Icb4c6d8a77211d0c8922e28958609a332b19dfcc Fixes: 27552350
/frameworks/base/core/java/android/app/Notification.java
|
9ef0ce1749e626a47d669a3f4b059ba748d2e69e |
|
22-Apr-2016 |
Alexander Hills <ahills@google.com> |
Merge "Changes Message from using parcels to bundles" into nyc-dev
|
cb1f9da55b2960f7cabd9c50632f2ac9d8a3311a |
|
22-Apr-2016 |
Alexander Hills <ahills@google.com> |
Merge "Adds a BigPicAmbient flag to WearableExtender" into nyc-dev
|
b85f36fd48e470be386289bcfe861d19c8d5b011 |
|
21-Apr-2016 |
Selim Cinek <cinek@google.com> |
Fixed a bug where notification header could become empty Also fixed a few more issues with the header util that could lead to wrong states. Change-Id: I95c3479f5d9e5221ee9e91120271e7957b887607 Fixes: 28295743
/frameworks/base/core/java/android/app/Notification.java
|
c3b752e712f5ce6a3ddaad5c585345dce7ababe5 |
|
21-Apr-2016 |
Selim Cinek <cinek@google.com> |
Changed the name of chronometer countdown Change-Id: Ie0339205b26f2dff40e0c19760750a0ce6aaf7da Fixes: 28295825
/frameworks/base/core/java/android/app/Notification.java
|
d9b04d956f7ad8605758c38a93e4b61b2816562a |
|
11-Apr-2016 |
Alex Hills <ahills@google.com> |
Changes Message from using parcels to bundles This change modifies Message to use a bundle instead of being Parcelable. Bug:28043958 Change-Id: I7cfc6f384e4a02f9942c532c44bb47398d3f8ae7
/frameworks/base/core/java/android/app/Notification.java
|
82676d9f8810f4ab3e943e89df135cc87857f537 |
|
14-Apr-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "API Review: Improve javadoc of EXTRA_REMOTE_INPUT" into nyc-dev
|
4bcb06b961a3984eed0029162291f1b3760815ec |
|
05-Apr-2016 |
Alex Hills <ahills@google.com> |
Adds a BigPicAmbient flag to WearableExtender This adds the BigPicAmbient flag to WearableExtender, demonstrating that a BigPictureStyle on a Notification (pimary page or content page) should be converted to low-bit black and white on entering ambient, and should stick around during ambient instead of being closed. This is mostly for QR and barcodes for situations akin to flights. Bug:28042177 Change-Id: I84065ab3966301c063d393b8fa6451ec527944b9
/frameworks/base/core/java/android/app/Notification.java
|
732bd6cb2736c9ae091f2b5b136570fc5d579224 |
|
12-Apr-2016 |
Dan Sandler <dsandler@android.com> |
Allow system apps to substitute a different app name in notifications. This is a privileged permission and is only to be used by the core OS and related packages whose names are confusing or misleading when shown in notifications. The user will always be able to see the true package name by accessing the notification inspector (longpress or swipe gesture on the notification row in SystemUI). Fixes: 26517701 Change-Id: I2b021c9da0757b99df76399666af263668d88070
/frameworks/base/core/java/android/app/Notification.java
|
005e774ac8f733a496ca2fc973e2e48668df2c81 |
|
14-Apr-2016 |
Adrian Roos <roosa@google.com> |
API Review: Improve javadoc of EXTRA_REMOTE_INPUT Change-Id: I3b23a44ca54be7724ddb29c432bb6975a784b5b4 Fixes: 27365667
/frameworks/base/core/java/android/app/Notification.java
|
48d746ab3294afca064ba2598a5c9daba4807c42 |
|
12-Apr-2016 |
Adrian Roos <roosa@google.com> |
Fix broken actions with MessagingStyle Bug: 27250207 Change-Id: I073bb0ef055423a6c152af0e98fe846b15511d11
/frameworks/base/core/java/android/app/Notification.java
|
c1a80b08f08cfb038625cec537390705d16db3f5 |
|
05-Apr-2016 |
Adrian Roos <roosa@google.com> |
Notification MessagingStyle: Add handset views Bug: 27250207 Change-Id: I499cf2beaeeb34f0f189815fc0911f3b8954bd50
/frameworks/base/core/java/android/app/Notification.java
|
e3f3cb10484260fac167e59d0178902a63ea7a6b |
|
12-Apr-2016 |
Alexander Hills <ahills@google.com> |
Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev
|
4ec3ff4f8fcf223f6c58e020e45efe683ea738a8 |
|
12-Apr-2016 |
Alex Hills <ahills@google.com> |
Fixes name of intent launch flag for Action Extender Changes the name from set/getHintContentIntentLaunchesActivity to set/getLaunchesActivty Change-Id: I8ef879ae82cc360163fcd689eb5fad0d2b9d7db0
/frameworks/base/core/java/android/app/Notification.java
|
012bc7bb9fa1d0731be7b094a3d0631e01b03fbe |
|
12-Apr-2016 |
Jeff Sharkey <jsharkey@android.com> |
Fix notifications that are sent for USER_ALL. Also avoid creating a heavy LoadedApk object which will be cached around in the long-lived system process. Bug: 28116427 Change-Id: I1a5fc43e6d559a09088636b2fe4b5c76f08d3413
/frameworks/base/core/java/android/app/Notification.java
|
e46bb37acf6d3cfb9974672ace93f5381f70ad99 |
|
17-Mar-2016 |
Julia Reynolds <juliacr@google.com> |
Allow the ranker to autobundle notifications. Bug: 26709317 Change-Id: I5017a471604e513a7b582cdc2f3472441e108fae
/frameworks/base/core/java/android/app/Notification.java
|
5418765d4d0e4befef811c0a2cbc5d8a69ed6cfd |
|
07-Apr-2016 |
Alexander Hills <ahills@google.com> |
Merge "Adds support for MessagingStyle" into nyc-dev
|
fc737def026d88cdf3e21a3368317f039973cd66 |
|
23-Mar-2016 |
Alex Hills <ahills@google.com> |
Adds support for MessagingStyle This change adds support for the new MessagingStyle, which supports a fully back-and-forth messaging/chat experience within the notification display itself. Bug:28043958 Change-Id: Ibb9c2a0784f028d8cf01bd3cee4fecc5f72d68cd
/frameworks/base/core/java/android/app/Notification.java
|
a5ec16e367637ba0638f906615cbfef6f4d85d13 |
|
07-Apr-2016 |
Alexander Hills <ahills@google.com> |
Merge "Adds a content-intent-launching-activity flag to WearableExtender" into nyc-dev
|
9ab3a238b3dc11a773aab1ca22c29a58d100f2d0 |
|
05-Apr-2016 |
Alex Hills <ahills@google.com> |
Adds a content-intent-launching-activity flag to WearableExtender This adds a flag to WearableExtender (and Action.WearableExtender) indicating that the attached ContentIntent will launch an activity on Wear, which lets the platform know that it can (and should) generate a sleek transition for the launching of said intent (as opposed to the intent causing change in the background). Bug:28019194 Change-Id: Id8b422ea52c5e941e38558aaf31ce2cf4bb7c6f3
/frameworks/base/core/java/android/app/Notification.java
|
0ff1ce6075041f74db3651624c4641fbbafdefd4 |
|
06-Apr-2016 |
Selim Cinek <cinek@google.com> |
Changed the default if the notification time is shown By default the notification time is not shown anymore. Bug: 27431551 Change-Id: I68f19450d0de795a51644e939a3fd64366c0abb6
/frameworks/base/core/java/android/app/Notification.java
|
0f9dd1e2f5561c57a2a233a42749dbfe12a5dc44 |
|
06-Apr-2016 |
Selim Cinek <cinek@google.com> |
Deprecated the contentinfo and the number It was mainly adding noise to the notification rather than useful information. Bug: 27431551 Change-Id: Ie22c9935d60eeac1cca5d9ce97239aadfac9b3cf
/frameworks/base/core/java/android/app/Notification.java
|
4ff3b120ff8a788e3afeb266d18caf072f0b8ffb |
|
01-Feb-2016 |
Adrian Roos <roosa@google.com> |
Ensure notification color contrast Ensure we have at least 3:1 contrast for the action buttons. Also ensures that the inline reply box background has 4.5:1 contrast to white. Further modifies the color of the inline reply background to satisfy a 4.5:1 contrast ratio for the entered text. Bug: 26831312 Change-Id: If42b1c99d1adee547d0a583c1a69c48ef7287c23
/frameworks/base/core/java/android/app/Notification.java
|
a04c7a7c6442b8c6f87f5dd11fc5659cdb92decc |
|
18-Mar-2016 |
Jeff Sharkey <jsharkey@android.com> |
Mark more Bundles as being defusable. They're destined for the system, so they're okay to look inside. Bug: 27726127 Change-Id: Ic85c308a8efe6f9b8652952717c72b3c663d328a
/frameworks/base/core/java/android/app/Notification.java
|
c2b21046193f84c5e3c1955e1f8c5986b4fdb487 |
|
17-Mar-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix action container visibility" into nyc-dev
|
7052de55ed88a62df6c189d2360fc6edda02a9e2 |
|
04-Mar-2016 |
Adrian Roos <roosa@google.com> |
Fix action container visibility Bug: 27720398 Fixes: 27720398 Change-Id: I8ca4430c182ffdef81f5752d5d1bea0a4975e63f
/frameworks/base/core/java/android/app/Notification.java
|
62dfd5fe7832d266b72d3ab86eeafec7e7eeba94 |
|
17-Mar-2016 |
Selim Cinek <cinek@google.com> |
Merge "Decorated custom views now behave better if no custom view is set" into nyc-dev
|
4dc008cda2980fabb6acbf8a3b7096d1090ee36f |
|
16-Mar-2016 |
Tony Mak <tonymak@google.com> |
Fix NotificationListenerService fail to mirror work notification 1. Instead of getting application info in runtime, just retrieve the one in the context to avoid cross user operation. 2. Functions in PackageManager that retrieve badged icon now return badged icon if the targer user is managed profile instead of checking whether target user is a managed profile of the user in mContext. 3. Relax the restriction of getUserInfo, if the caller is asking a user in the same profile group or having the manage user permission, we let it go. Bug: 26469166 Change-Id: Ia1ffc5743f7d94bd489cdb7571eaed51499ebdd9
/frameworks/base/core/java/android/app/Notification.java
|
f91017ecadaa80768bcf0440b96327c079e86266 |
|
14-Mar-2016 |
Selim Cinek <cinek@google.com> |
Decorated custom views now behave better if no custom view is set Bug: 27386952 Change-Id: I40ebd66830b1d0cb124e9a9019c6ead8dcf4d599
/frameworks/base/core/java/android/app/Notification.java
|
00e61f5a6455ba0ae90859acdd76e54efc849c3c |
|
11-Mar-2016 |
Selim Cinek <cinek@google.com> |
Merge changes I8c1cd4d4,I5ed13c17,If603049c,I5cb7937c into nyc-dev * changes: Fixed a bug where text would still not animate Reseting user expansions when the shade is collapsed Added more spacing around notifications Fixed an bug with the notification backgrounds
|
c0fac72d3c84b6a1a1c82abfa9a74957b11fadc6 |
|
08-Mar-2016 |
Selim Cinek <cinek@google.com> |
Added more spacing around notifications The notification spacings were increased and slightly adapted to spec to improve the layout hierarchy. Bug: 27431551 Change-Id: If603049c38b0f101c8e64813d9e5797c34aade0e
/frameworks/base/core/java/android/app/Notification.java
|
c5ce69f555ce703a0bd1d7438e1b87ee9854eae8 |
|
08-Mar-2016 |
Selim Cinek <cinek@google.com> |
Merge "Fixed a bug where the font sizes where not enforced correctly" into nyc-dev
|
37b3a4a5440f489f65941b8182b33c34f86ffc1d |
|
08-Mar-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix and optimize stripForDelivery" into nyc-dev
|
89991a205aa23c9620fe878bc8765a9169a825b6 |
|
08-Mar-2016 |
Selim Cinek <cinek@google.com> |
Fixed a bug where the font sizes where not enforced correctly If a style was passed through it wasn't processed correctly. Bug: 27431551 Change-Id: If764634cbc8a5bf13260a8fc4f392bc8b7482f4d
/frameworks/base/core/java/android/app/Notification.java
|
3b050317bf83af093982fe3e3cd78b25af9edee9 |
|
05-Mar-2016 |
Selim Cinek <cinek@google.com> |
Removed the bundle number from the header Bug: 27431551 Change-Id: Ia0c663f0bab875abba4b35d565f3ac4ed2306079
/frameworks/base/core/java/android/app/Notification.java
|
184bfe029ec7053418696517987b164a7a224e36 |
|
03-Mar-2016 |
Adrian Roos <roosa@google.com> |
Fix and optimize stripForDelivery Makes it work for style-less notifications. Also prevents an unnecessary clone if no stripping is needed. Bug: 27386126 Change-Id: Ia1a193a39a9b0764890813d7edf68b1924eb799f
/frameworks/base/core/java/android/app/Notification.java
|
7006b01f5d91c77c9f658d392fb2cc183bc504be |
|
27-Feb-2016 |
Adrian Roos <roosa@google.com> |
Merge "Fix crash with decorated custom notifications" into nyc-dev
|
9620d8652bacc84e179ff9a2548d7cb833887437 |
|
27-Feb-2016 |
Selim Cinek <cinek@google.com> |
Merge "Adapted the notficication style" into nyc-dev
|
5081c0de54d05f559dd8b09d2dd2ef5018378959 |
|
27-Feb-2016 |
Adrian Roos <roosa@google.com> |
Fix crash with decorated custom notifications Clones notifications before adding them to remote views so the original stays parcelable on its own. Also prevents the compatibility inflation from triggering when an app uses a decorating style to prevent recursive wrapping. Those styles only exist on N and later anyways. Also fixes the compatibility inflation in listeners. Bug: 27368615 Change-Id: Iedf3036bf315dd9c7b476c7e8bcce57de5b5c9c8
/frameworks/base/core/java/android/app/Notification.java
|
60a542559256fd2c60d66fdbaf292fdf1e93db5b |
|
27-Feb-2016 |
Selim Cinek <cinek@google.com> |
Adapted the notficication style The text sizes are now uniform and textsize manipulations are not allowed anymore. Bug: 24866646 Change-Id: I14b094d9238bee0320c387e3032806d00d4f200c
/frameworks/base/core/java/android/app/Notification.java
|
3b84812271cda2386557979503c29f3c530b7f90 |
|
26-Feb-2016 |
Julia Reynolds <juliacr@google.com> |
Api review: Notification.Builder Bug: 27364889 Change-Id: I95cee3336f1adb64e37e71a9ab40e68feb1d9c5b
/frameworks/base/core/java/android/app/Notification.java
|
81c23aac788209e002a79b6886445f7d3f406cb4 |
|
26-Feb-2016 |
Selim Cinek <cinek@google.com> |
Added convenience methods to use chronometer countdown methods Bug: 27343480 Change-Id: Iea4d0259ba8c3ab91fec5ee04ea4b39e5dd988bf
/frameworks/base/core/java/android/app/Notification.java
|
c68190ae903685a8243e82f94c03c325ba00e121 |
|
20-Feb-2016 |
Selim Cinek <cinek@google.com> |
Merge "Add support for custom media notifications" into nyc-dev
|
54c857cda62fbd3a86f5a74924fcea23b89bb1f5 |
|
20-Feb-2016 |
Selim Cinek <cinek@google.com> |
Merge "Cleaned up the logic for the picture end margin" into nyc-dev
|
3c306d8acdb34b667ad55ad30a9a2119cad0e0ab |
|
20-Feb-2016 |
Selim Cinek <cinek@google.com> |
Merge "Added the possibility to show custom notifications decorated." into nyc-dev
|
03eb3b7c4495284db42a2fe6ee23b92c048f736f |
|
18-Feb-2016 |
Selim Cinek <cinek@google.com> |
Add support for custom media notifications Custom media notifications can now also be decorated by the system instead of going fully custom. Bug: 26961842 Change-Id: I1d85a652b93f10988939b471a14b372671acfaf1
/frameworks/base/core/java/android/app/Notification.java
|
247fa0193196c9d190770b641cfc28e862525012 |
|
18-Feb-2016 |
Selim Cinek <cinek@google.com> |
Cleaned up the logic for the picture end margin This allows decorated custom remote views to be properly showing with a large image. Bug: 24866646 Change-Id: Ie355e503437f19ace2503d42f44bee4bd22f03c8
/frameworks/base/core/java/android/app/Notification.java
|
593610c2484e9bec7d769cfab8baa80524150637 |
|
17-Feb-2016 |
Selim Cinek <cinek@google.com> |
Added the possibility to show custom notifications decorated. Bug: 26961842 Change-Id: I3966a4e6ecb05b9f284ec5b244b2594f78bcb337
/frameworks/base/core/java/android/app/Notification.java
|
73d96fb4bbe1e3796e655314619bf9897d07c929 |
|
19-Feb-2016 |
Julia Reynolds <juliacr@google.com> |
Merge "Remove Notification Topics." into nyc-dev
|
ef37f284364cc45c2ed91bfe04c489d2cedd32d2 |
|
12-Feb-2016 |
Julia Reynolds <juliacr@google.com> |
Remove Notification Topics. Bug: 23220370 Change-Id: Ifbcdbab1cf6974c192483091512f75762784a98e
/frameworks/base/core/java/android/app/Notification.java
|
d4ea741d66c4e43e5c782774981fae3f5696809f |
|
17-Feb-2016 |
Julia Reynolds <juliacr@google.com> |
Inflate and strip remote views for pre-N apps. Bug: 27120291 Change-Id: I4e1497222f3787e68c3e385e45ab6a7c23799917
/frameworks/base/core/java/android/app/Notification.java
|
635f71925a065b155b2c6ca8851f15fa9c185422 |
|
11-Feb-2016 |
Selim Cinek <cinek@google.com> |
Merge "Added support for media notifications without expanded state" into nyc-dev
|
cc10bfbaaa9af99fd606f745bf1c0ba3e6d4916c |
|
11-Feb-2016 |
Selim Cinek <cinek@google.com> |
Added support for media notifications without expanded state Bug: 26837953 Change-Id: I9fcf56013c44a2420367ef0a908dc45992c8a766
/frameworks/base/core/java/android/app/Notification.java
|
9b123cf9bb50f98064ee0a8eed38601ca7c03564 |
|
04-Feb-2016 |
Adrian Roos <roosa@google.com> |
Make actions extend over the whole action rail Bug: 26767249 Change-Id: I3c67f1de40b218aa21f0a1f68bda1032c0804a14
/frameworks/base/core/java/android/app/Notification.java
|
aef485a32a36fd80f65613bd5de4d1ca23c54432 |
|
05-Feb-2016 |
Selim Cinek <cinek@google.com> |
Adapted the notification header colors to spec Change-Id: Ifa9483a5e71f32be2df14912982076d7bf2a6e9a
/frameworks/base/core/java/android/app/Notification.java
|
4c0c202f51e734fe0a10adeef6f996eaff62886c |
|
02-Feb-2016 |
Julia Reynolds <juliacr@google.com> |
Don't require apps to call showLights to use default lights. Bug: 26810573 Change-Id: I431a1a18e32c616238e763b401b5f6b14131fd89
/frameworks/base/core/java/android/app/Notification.java
|
fdc738f9b8ecdfb11b65c2e4fe0b9c14aee0a626 |
|
28-Jan-2016 |
Selim Cinek <cinek@google.com> |
Media notifications may not have an icon Change-Id: Ie47bf144f4add49ec5ed92bb19db39ad116f0678
/frameworks/base/core/java/android/app/Notification.java
|
e6ff946cd4f40a0d4f3de51b6554e07b8d3cee93 |
|
16-Jan-2016 |
Selim Cinek <cinek@google.com> |
Switched the work profile badge used in the notifications Change-Id: I62616f1ae8fcda9953853b9859c69a9f1e6f44ca
/frameworks/base/core/java/android/app/Notification.java
|
c848c3a1b4e3b365fb42ad7e418f90def054ed5f |
|
14-Jan-2016 |
Selim Cinek <cinek@google.com> |
Changed the work profile appearance Change-Id: I0545ee9b18572b93f73b4cf54126cf03085b61b5
/frameworks/base/core/java/android/app/Notification.java
|
415987388739561153010e1e1304511f6f501fb2 |
|
12-Jan-2016 |
Selim Cinek <cinek@google.com> |
Fixed an inconsistency in the notification templates The text was never set to GONE when it was invisible, leading to weird cases when fading between notification contents. Change-Id: I92825b6d5a417c968c734061e55553be314af2b8
/frameworks/base/core/java/android/app/Notification.java
|
7213bdd10437c3da8705154260342ad25c2c5345 |
|
29-Dec-2015 |
Adrian Roos <roosa@google.com> |
Merge "Add reply text section to notifications"
|
3a2c4b9d52c0002854c3cdab136403f8124346e6 |
|
18-Dec-2015 |
Selim Cinek <cinek@google.com> |
Fixed the maximum number of lines for the bigtext view Since the summary is now in the header, we can allow one more line in bigtext. Also made it look nicer if the bigtext was empty, in case we always want to use bigtext by default. Change-Id: I13679de084757ef174b3bf53e75837a4d95ddc99
/frameworks/base/core/java/android/app/Notification.java
|
860b6dac964d3aa1818133c767eb825c8153a594 |
|
17-Dec-2015 |
Selim Cinek <cinek@google.com> |
Measuring the notifications at wrap_content height now The notifications are now measured at wrap_content such that the layout still looks good even if the text was ommited instead of arbitrarily making it bigger. This also fixes some small rounding issues where the expanded notification was just a pixel bigger than the collapsed version. Bug: 26185377 Change-Id: Ie3339ff75680ab512446605055304576e058f588
/frameworks/base/core/java/android/app/Notification.java
|
624c02db7f1d24ec1e307530ff32d4fd5859feae |
|
15-Dec-2015 |
Selim Cinek <cinek@google.com> |
Fixed the public notifications views on the lockscreen The views were based on a legacy systemUI notification. We are now creating it in Notification.java in order to always have the latest visuals and avoiding duplicate work. Change-Id: I3f544cad069a8eab34d4464404d020e06d7f6626
/frameworks/base/core/java/android/app/Notification.java
|
e458aa8dbd515548bd31458216d6ae203dfcfba3 |
|
09-Dec-2015 |
Adrian Roos <roosa@google.com> |
Add reply text section to notifications Also fixes a potential NPE in the failed inflation logging in SystemUI. Bug: 22452379 Change-Id: I829c332f7f708de8374740f6d02a2bc10a33386b
/frameworks/base/core/java/android/app/Notification.java
|
245aa87f3ffb96aba9d6dca308e6ae832ba60ff5 |
|
07-Dec-2015 |
Adrian Roos <roosa@google.com> |
Even more Inline Reply goodness - Removed action icon processing - Correct color for action label - Change default notification color to Gray 600 - Handle different states in RemoteInputView - Handle updates to Notifications with active remote input Bug: 22452379 Change-Id: I30a0cd917dbf814f156ab5a106e018a245d99b67
/frameworks/base/core/java/android/app/Notification.java
|
0a6ff35a8b4f0d1a3258b723eb34576c6577cc1a |
|
10-Dec-2015 |
Daniel Sandler <dsandler@android.com> |
Merge "Remove more extras during notification lightening."
|
5012853de26eac023deda82d138a35677fe6117b |
|
08-Dec-2015 |
Dan Sandler <dsandler@android.com> |
Remove more extras during notification lightening. Basically anything Parcelable needs to go since it might be quite large. Note that this includes additional extras such as those contributed by WearableExtender. Bug: 26038546 Change-Id: I85a20173158717c866a36dacd6a04391c2a33376
/frameworks/base/core/java/android/app/Notification.java
|
7b83639c34cb8b52f915099973e0892c5fbfd674 |
|
05-Dec-2015 |
Selim Cinek <cinek@google.com> |
Changed the appearance of the notification children Some further tuning to the layout Change-Id: Ifb3797e9982d718a30954adb9e1901eb2a1fa75d
/frameworks/base/core/java/android/app/Notification.java
|
bde0d4fe35c865e1535b0bb866bcaac095f247dd |
|
07-Dec-2015 |
Selim Cinek <cinek@google.com> |
Removed the devider above the actions The templates had a divider line above the actions. this is now gone. Change-Id: I85e8c773c4c49d9eaeceb20915cc98941d537ee6
/frameworks/base/core/java/android/app/Notification.java
|
ea4bef7386ca6c6260f292bf006d16a99b93f698 |
|
03-Dec-2015 |
Selim Cinek <cinek@google.com> |
Removed duplicate content from group notification header Previously the headers all had duplicate content, which is now optimized to look visually more appealing. Change-Id: I38ed8db1985fd8a9470888e1b7e1e6b0f2e23b19
/frameworks/base/core/java/android/app/Notification.java
|
eaa29ca6ff7a4c21a0729118d0e7c38750b9c93e |
|
23-Nov-2015 |
Selim Cinek <cinek@google.com> |
Migrated the systemUI based notification header Previously the notification header had a seperate implementation in SystemUI from which the platform implementation was derived. Now that everything is in the framework, we’re migrating the implementation for notification groups.ß Change-Id: Ia61a75bd6c85e1805d4364a9e7e4587a020c1271
/frameworks/base/core/java/android/app/Notification.java
|
1e0bf611b1660a8b8c1894c922096b8aee37622c |
|
21-Nov-2015 |
Selim Cinek <cinek@google.com> |
Fixed the inbox line padding with an image If an image was present, the first line of the Inbox style could run into the image. This Is fixed now. Change-Id: I60ee22166a2dc1d2de2f1fe311effc419a95748d
/frameworks/base/core/java/android/app/Notification.java
|
4fb12d3f8ebf20f2d6db519f7f91cfa625edf566 |
|
20-Nov-2015 |
Selim Cinek <cinek@google.com> |
Made the bigtext now nicely float around the image If there is an image instead of applying the same margin everywhere, the text now floats around the image. Change-Id: I87f9ca9f51fb270b0732a99374544381bd1fc4e0
/frameworks/base/core/java/android/app/Notification.java
|
90dcf6d70686abab26b508b0640b90319381d30b |
|
19-Nov-2015 |
Selim Cinek <cinek@google.com> |
Implemented the progressbar for the new templates The padding was off in a few cases and the layout was jumping when expanding when there were actions Change-Id: Ia9a9ddbfd1c9a8104278a56ce6e1ef2a4ceafbe9
/frameworks/base/core/java/android/app/Notification.java
|
29603462d6d0d9832a6c36e6ecfca12225bd30bc |
|
18-Nov-2015 |
Selim Cinek <cinek@google.com> |
Continued implementing the notification templates The progressbar is now also adapted to always have at most 2 lines. Change-Id: I092cf2fdfbbd474288398106309ad2ca85b7054b
/frameworks/base/core/java/android/app/Notification.java
|
53e64a438fcbabfef57ea547199800beaa37a926 |
|
16-Nov-2015 |
Selim Cinek <cinek@google.com> |
Adapted the big picture template Change-Id: Ia66c5f12a8688b2f0c6ea51fb8dbdefc39f62f8f
/frameworks/base/core/java/android/app/Notification.java
|
03d0d65918ae1e7cc048cf60f691c41155ed64bb |
|
13-Nov-2015 |
Selim Cinek <cinek@google.com> |
Made the subtexts consistent among expanded / collapsed version To ensure that the position of the expandbutton stays. Change-Id: I02078fed1a2b31ff6e3b0f9b2db3c4e2844acd09
/frameworks/base/core/java/android/app/Notification.java
|
9d9fc6e97e108684850d0e73f30960a41111e1e7 |
|
12-Nov-2015 |
Selim Cinek <cinek@google.com> |
Improved notification templates further Inbox and bigtext style are adapted. Change-Id: I85b33f7387a2bde46fc73d2bc82538d6d13f0a70
/frameworks/base/core/java/android/app/Notification.java
|
850a854c0c4327c0d3a07f991954b8af347edc55 |
|
11-Nov-2015 |
Selim Cinek <cinek@google.com> |
Switched the expanded button of the big content view Previously it was always the same. Change-Id: Iebfbf6203241356d5acdfa5b16b02f976c8ce310
/frameworks/base/core/java/android/app/Notification.java
|
5bf069a0f28577993d758dd570add32a434e9e98 |
|
11-Nov-2015 |
Selim Cinek <cinek@google.com> |
Updated the media notification template The media notification now lives in the new world with the appropriate notification header. Change-Id: Ifed0f12e4925e27a303f6f01faa2e9c17262d486
/frameworks/base/core/java/android/app/Notification.java
|
65b2e7c6cbcd41985ab007eec3a21aad75dfc983 |
|
26-Oct-2015 |
Selim Cinek <cinek@google.com> |
Update the notification templates Most of the notification templates have been updated. Some cases like media notifications don't yet work well but will be fixed in a later CL. Bug: 25376106 Change-Id: I26c366e58ebba3852cea20de6fca311bd302bb24
/frameworks/base/core/java/android/app/Notification.java
|
ccec4f6d43ef3e4a7eea9ed5a9f08d75e52dc343 |
|
24-Nov-2015 |
Julia Reynolds <juliacr@google.com> |
Merge "Be more resiliant to notifications that don't use a builder."
|
da30354438fe4f9645c67de2916fcbbb5c7adce6 |
|
23-Nov-2015 |
Julia Reynolds <juliacr@google.com> |
Be more resiliant to notifications that don't use a builder. Bug: 25772839 Change-Id: I526001a21f959f7229443f487439c51c8d84f1ea
/frameworks/base/core/java/android/app/Notification.java
|
10613a94720f77d9725ec543eda7a0e054ba4b53 |
|
23-Nov-2015 |
Adrian Roos <roosa@google.com> |
Merge "Visuals for Inline Reply"
|
fe84e1f436ad14b1f24cdb9b8bf56a9919f25c93 |
|
05-Nov-2015 |
Adrian Roos <roosa@google.com> |
Visuals for Inline Reply Change-Id: I374a7ec82795f95fe2f3ce8c9e6b02c1479433af
/frameworks/base/core/java/android/app/Notification.java
|
233a5f97ea7b46814747a99f584b08d4e8c70105 |
|
19-Oct-2015 |
Julia Reynolds <juliacr@google.com> |
Implement notification ranking by topic. Including sensitive notification visibility & DND bypass. Bug: 22451710 Change-Id: I5f3a0c6d59de0495cb904bad6f886eb29ed4bda4
/frameworks/base/core/java/android/app/Notification.java
|
bc253a28582c4cdd56cc8a0d49cd69b4624cfb4b |
|
18-Nov-2015 |
Julia Reynolds <juliacr@google.com> |
Remove 'peekable' preference. To be replaced by 'importance' in the future. Bug: 22854014 Change-Id: Idc9ca79b145d5c69e769c9239ed9291dce40d8c8
/frameworks/base/core/java/android/app/Notification.java
|
089e3e451ac28851bca29808a62473e9f40af85f |
|
18-Nov-2015 |
Julia Reynolds <juliacr@google.com> |
Don't recreate remote views that already exist. Bug: 25582071 Change-Id: Ie56225ec57ab43b2cab5ffb0198f283592e7bcd9
/frameworks/base/core/java/android/app/Notification.java
|
054c5dcf4a2b45d3e1e8a32ceb2014d50f8790ab |
|
17-Nov-2015 |
Julia Reynolds <juliacr@google.com> |
Notifications can only have 1 topic. Change-Id: Id0ab6bca352b969431d4ba68167074e514a98980
/frameworks/base/core/java/android/app/Notification.java
|
10ee1fcf79d4c74706f93d54741f6447904b0b60 |
|
09-Nov-2015 |
Julia Reynolds <juliacr@google.com> |
Bring back notification lights and sanitized color. buildUnstyled() was doing more than I noticed in I81f8ffed0eb76084b2f2b25b97e325858f0a1d05. Change-Id: I2109fc0d5bae692676b0ca72ff5048f0a3037375
/frameworks/base/core/java/android/app/Notification.java
|
29869c3893c347c592b650d0c63d1e4264918c01 |
|
04-Nov-2015 |
Riley Andrews <riandrews@google.com> |
Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev am: c8bb39d98d am: 2c740f1dcf am: 6c1144dc0f am: 132bb1e4b1 * commit '132bb1e4b10755d2bc0810135511fd999badbe4b': Convert ashmem bitmap thresholds to constants.
|
2c740f1dcf7bfd75a1dde2f7403cb25ae6559556 |
|
04-Nov-2015 |
Riley Andrews <riandrews@google.com> |
Merge "Convert ashmem bitmap thresholds to constants." into mnc-dr-dev am: c8bb39d98d * commit 'c8bb39d98d7c2a07f1a5c745f6e89e379e4a25f0': Convert ashmem bitmap thresholds to constants.
|
0394a0c399582d4401646cf2324f3148c3028531 |
|
04-Nov-2015 |
Riley Andrews <riandrews@google.com> |
Convert ashmem bitmap thresholds to constants. Bug 25256717 Change-Id: I23e2795ef8798d83bf60dcbd6ff2e7093fcaa9b0 Signed-off-by: Riley Andrews <riandrews@google.com>
/frameworks/base/core/java/android/app/Notification.java
|
18896e08938bc1e1fcb7928996803af935b826b7 |
|
04-Nov-2015 |
Ian Pedowitz <ijpedowitz@google.com> |
Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev am: 966d6040c6 am: 95fc53b029 am: d6f3e38738 am: 87455c7397 * commit '87455c7397605fba4bf3ad04af8df3c599a7a6ba': Limit persistent ashmem backed fds to a minimum of 128kB.
|
95fc53b0293a6361c7ff8a412897a869f07664c6 |
|
03-Nov-2015 |
Ian Pedowitz <ijpedowitz@google.com> |
Merge "Limit persistent ashmem backed fds to a minimum of 128kB." into mnc-dr-dev am: 966d6040c6 * commit '966d6040c6b171c75e9fb0ca942e84f9cf4d0dff': Limit persistent ashmem backed fds to a minimum of 128kB.
|
8cee7c17119b204be88860feb812f2374d0de732 |
|
02-Nov-2015 |
Riley Andrews <riandrews@android.com> |
Limit persistent ashmem backed fds to a minimum of 128kB. Bug 25256717 Change-Id: Ieb356006df0a6545b89de44d3d8fd4b46312b3b8 Signed-off-by: Riley Andrews <riandrews@google.com>
/frameworks/base/core/java/android/app/Notification.java
|
d9228f1135e51d9380bad990d7178490ec474dbd |
|
20-Oct-2015 |
Julia Reynolds <juliacr@google.com> |
Stop populating RemoteViews in Notifications. Builder now stores its parameters directly in the Notification object itself, reducing the amount of copying needed to construct the final Notification as well as converging the two data structures. All Builder data is now captured in Notification, so it is easy to reconstruct a Builder for any Notification object. This obviates all stripping/unstripping operations because all Notification objects start life "stripped" of their RemoteViews, which must be constructed explicitly by clients (presumably listeners wishing to show the notification to the user in its conventional form). Note: While contentView, bigContentView, and headsUpContentView are being @Deprecated in this CL, specifying custom RemoteViews is definitely still supported! You just have to use Builder methods to do so. Bug: 20153922 Change-Id: I81f8ffed0eb76084b2f2b25b97e325858f0a1d05
/frameworks/base/core/java/android/app/Notification.java
|
74303cfe2b8d3b3de7d3b5332f5a2dd87e0974a5 |
|
16-Oct-2015 |
Julia Reynolds <juliacr@google.com> |
Add Notification topics. Topics are tags that developers can add to group notifications by theme. Users will be able to block notifications by topic. Bug: 22451710 Change-Id: I5b4677da66b21933f479f5e56c18ca563810b43b
/frameworks/base/core/java/android/app/Notification.java
|
f5bff46f6a81e5d2418bcedec8f8ae320bdfaba8 |
|
24-Aug-2015 |
Gus Prevas <kprevas@google.com> |
Fixes cloned notification actions missing icon. This change modifies the Notification.Action constructor to populate the deprecated "icon" field based on the provided icon. This field is still used by NotificationCompatApi20 to create a NotificationCompatBase.Action from a Notification.Action. Bug: 23348968 Bug: 22591778 Change-Id: I3576038384d2baa12c4c75bc4124e3859aacbd13
/frameworks/base/core/java/android/app/Notification.java
|
aa4f4bf6ce721a60b518fa42159cc4fe06c9e012 |
|
04-Aug-2015 |
Paul Soulos <psoulos@google.com> |
Fix doc typo for default wearable notification size. Change-Id: Ic3428278eee0b541de3e1b355692401170d1ab3b
/frameworks/base/core/java/android/app/Notification.java
|
bbe1682b1652c37b66609676e5829517279ff141 |
|
30-Jul-2015 |
Daniel Sandler <dsandler@android.com> |
Merge changes from topic 'fix-media-notifications' into mnc-dev * changes: Fully support Icons in Notification actions. Fix media notification action icons.
|
912282e7319370cb74727895a49c0598fb0a7b02 |
|
29-Jul-2015 |
Dan Sandler <dsandler@android.com> |
Fully support Icons in Notification actions. RemoteViews now allows Icons as TextView compound drawables in RemoteViews, but not yet as public API. Bug: 22600607 Change-Id: I986a0ce3bede09746f0b121884184679f39a79f5
/frameworks/base/core/java/android/app/Notification.java
|
68079d54f3690885df9c5bbb691090633f3ef541 |
|
22-Jul-2015 |
Dan Sandler <dsandler@android.com> |
Fix media notification action icons. In addition to cleaning up some bare references to the icon slot, we now apply updates to notification RemoteViews in the context of the supplying app's package. This ensures we can find the drawables inside any Icon objects that were constructed without a proper package name, such as is the case with Actions (because the builder and constructor are Context-free and so don't know the package name). This CL also makes clear what was previously only implied: Non-resource action icons are not actually supported yet since they can't be pushed to TextView compound drawables using today's RemoteViews APIs. That will require an API change. Bug: 22600607 Change-Id: Ie6b88aed36e4db05be35f843ea3bc1898d4a5c96
/frameworks/base/core/java/android/app/Notification.java
|
45a0bb18fec5b137a540e160cecd4ffd091098d9 |
|
27-Jul-2015 |
Chris Wren <cwren@android.com> |
Merge "add ticker to enqueue message for easier debugging" into mnc-dev
|
365b6d3d013423de45576c54689e1bf89cf2ac3a |
|
16-Jul-2015 |
Chris Wren <cwren@android.com> |
add ticker to enqueue message for easier debugging Bug: 22462619 Change-Id: Iadb28d251b55c1a1f241c0d0a4fb8e117b8030c0
/frameworks/base/core/java/android/app/Notification.java
|
b43b06d1056031444596edcc27a1a10084e5cad3 |
|
17-Jul-2015 |
Selim Cinek <cinek@google.com> |
Merge "Fixed a bug where notifications were not posted on secondary users" into mnc-dev
|
86647987c3c6bf4e6a8bacd763ff16f1806c70a3 |
|
14-May-2015 |
Dan Sandler <dsandler@android.com> |
Icon-related Notifications API changes: - Deprecate Notification.icon and largeIcon. setSmallIcon(Icon) and setLargeIcon(Icon) should be used instead. - Add Icon support to Notification actions; deprecate Action.icon and methods/ctors that use int. Bug: 21310773 Bug: 21271587 Change-Id: Iddac8121e7690e9d7a0360edb488ab77e3e8fb3a
/frameworks/base/core/java/android/app/Notification.java
|
f33b11182a8a06e014ce3e0e4e3a5d84eae82f54 |
|
16-Jul-2015 |
Selim Cinek <cinek@google.com> |
Fixed a bug where notifications were not posted on secondary users Unfortunately they made sound though, driving people crazy. Bug: 22351758 Change-Id: I9ec5bac97c2d587c4e356ab759876def3369b11a
/frameworks/base/core/java/android/app/Notification.java
|
749d66b82fcfa82649536d2a0739a1a84edc0400 |
|
25-Jun-2015 |
Chris Wren <cwren@android.com> |
Merge "remove setLatestEventInfo" into mnc-dev
|
a05db3816b4e29790aed9de9ef1cf4b2d0b616c9 |
|
24-Jun-2015 |
Chris Wren <cwren@android.com> |
remove setLatestEventInfo This has been deprecated since API 11. Bug: 18510449 Change-Id: Ibd052572aa8c332daf5f6a604afe1925e8998a2b
/frameworks/base/core/java/android/app/Notification.java
|
0ec462005d97f60cef2e4c7d7f7b5e2f85d1e735 |
|
24-Jun-2015 |
Daniel Sandler <dsandler@android.com> |
Fix build. We don't need purgeResources public since it's part of the ashmem internal optimization. Change-Id: I65ba7545cf4801a8b97f3ece9b5ee5100c0f1c97
/frameworks/base/core/java/android/app/Notification.java
|
a0d58ae574a3a69145512e0cd92e7842f0fbf83d |
|
03-Jun-2015 |
Jorim Jaggi <jjaggi@google.com> |
Use ashmem backed bitmaps for passing around notifications Avoids many copies during IPC and duplicate Java heap consumption in system_server, SystemUI, etc. Bug: 18386420 Change-Id: Id5ac9406062d472f7848009d65f12131f5f4dac9
/frameworks/base/core/java/android/app/Notification.java
|
4e78706f439d318ae7a78927d98f734351a89f64 |
|
17-Jun-2015 |
Dan Sandler <dsandler@android.com> |
Patch up certain kinds of broken notifications. Notifications in which the icon resource ID is changed after Builder.build() is called (even, and particularly, as the last step in the current implementation of setLatestEventInfo()) were not having their icons properly parceled. In these cases we now attempt to catch this at parcel time and construct the necessary Icon object. But wait! Parceling does not require a Context. So we don't actually know which package to load the resource from. Therefore we now allow an Icon to be constructed with an empty ("") package name, which allows us to complete this parceling task despite the fact that a Notification does not know its own package name. (In case you attempt to load a drawable for such an Icon, loadDrawable will spot the "" package and instead substitute the Context from its parameters to try to load the resource.) As it happens, even though the Notification does not know its own package name, BaseStatusBar does, because it was provided at NM.notify() time and is therefore included in the StatusBarNotification structure. So we can actually patch up the Icon (if it is TYPE_RESOURCE) and be sure to get the icon loaded out of the correct package. While we've got the hood open, this change fixes a couple of related problems: • Foreground service notifications synthetically constructed for naughty icon==0 notifications (which we are still allowing...FOR NOW) were losing the FLAG_FOREGROUND_SERVICE flag (because we're re-build()-ing them from scratch rather than rewriting the provided Notification object). Now we set the flag and hang onto the new notification for next time setForeground() is called. • We now allow media notifications to avoid getting bumped to the top of the notification list if they're PRIORITY_MIN. You might want to do that, I guess? Bug: 21333763 Change-Id: Ia5d1f1acb594c7677bcc75ee3d624da4ffca671f
/frameworks/base/core/java/android/app/Notification.java
|
1ce4b6d3c6cb5b2eb9c9d00472be12245db92427 |
|
11-Jun-2015 |
Chris Wren <cwren@android.com> |
remove usage of deprecated method setLatestEventInfo Bug: 18510449 Change-Id: I56a77991c729990e501f402e007dfa79ee57621e
/frameworks/base/core/java/android/app/Notification.java
|
3936e7a6fb6ab5a3ee4bfa7e54786f0ee103d4bb |
|
20-May-2015 |
Dan Sandler <dsandler@android.com> |
Deal more gracefully with null smallIcons. First, when parceling a notification with no small icon: Well, you shouldn't attempt to do this anyway, since NoMan will reject a notification without a valid smallIcon. But setServiceForeground parcels up the Notification on its own before handing it off to NoMan, so it will crash on an invalid small icon. (In general, parceling code should never ever crash, even if the object is in an undesirable state.) And when build()ing a notification: Same thing---don't build a notification with no icon; you're going to have a bad time. But maybe you're going to fix it before you hand it off to NoMan. Or maybe it's just one page of a wearable notification, so it doesn't really need its own icon. Either way, Notification shouldn't crash. Bug: 21286186 Bug: 21298403 Change-Id: Ie482cde0a3afe3aaabf07be0536551b8e4bceba0
/frameworks/base/core/java/android/app/Notification.java
|
d63f9321e62064660d426efd5abbd885c4a24652 |
|
06-May-2015 |
Dan Sandler <dsandler@android.com> |
Icon support comes to Notification. And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done (This patch fixes a number of bugs in the initial implementation, but other than that, it's the same as it ever was.) Bug: 18568715 Bug: 21141842 Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
/frameworks/base/core/java/android/app/Notification.java
|
09e51a739f3e408567f0eefafcc5fedb01bc3401 |
|
14-May-2015 |
Daniel Sandler <dsandler@android.com> |
Revert "Icon support comes to Notification." This reverts commit 08a04c15245c970856022d0779aa27d4d63cdee3. This also reverts commit 5bcbf857d129f4513e562801a4e88077b2655ade. Change-Id: Ia0b0a5339d523581c877822a3a1feec97ae4b73d
/frameworks/base/core/java/android/app/Notification.java
|
98b0290bbe4205f774cd09360637af25d880add0 |
|
14-May-2015 |
Dan Sandler <dsandler@android.com> |
Fix icon-related crash. Bug: 21144636 Change-Id: Ib686e9a9a18ac6b9f1e249bcde74be9212e0f53b
/frameworks/base/core/java/android/app/Notification.java
|
08a04c15245c970856022d0779aa27d4d63cdee3 |
|
06-May-2015 |
Dan Sandler <dsandler@android.com> |
Icon support comes to Notification. And you may ask yourself: what is that beautiful icon? And you may ask yourself: where does that API go to? And you may ask yourself: is it a resource? is it a Bitmap? And you may say to yourself: my god, what have I done Bug: 18568715 Change-Id: I4377b311c538bd1cf36b3fba22326bae81af40c9
/frameworks/base/core/java/android/app/Notification.java
|
904de2ec9360de2ee54b91aaf9e141d9d8ab1de1 |
|
04-May-2015 |
Alan Viverette <alanv@google.com> |
Always force constructors accessible during inflation We now correctly throw an IllegalAccessException for non-public accesses, but we were relying on the old incorrect behavior during inflation. This CL forces constructors to be accessible so that we emulate the old behavior and don't crash. Where we were already doing this, the CL moves the setAccessible() call immediately after the getConstructor() call, since there's no point in calling it multiple times. Bug: 20810495 Change-Id: I63dfcb857e445f688080eea05e86ef22760ed49f
/frameworks/base/core/java/android/app/Notification.java
|
4fdcc184e65e329c8f478db9faca52e2712ae12a |
|
29-Apr-2015 |
Jose Lima <joselima@google.com> |
Move ContentInfoExtender from Notification.java to a support library Bug: 20643107 Change-Id: Idabd8b0ceb4b3c63584296736e0a5015511659e7
/frameworks/base/core/java/android/app/Notification.java
|
41120562018078273704039fc05e2a32d37bfa26 |
|
23-Apr-2015 |
Jose Lima <joselima@google.com> |
Add pre-order as a pricing type for ContentInfoExtender Change-Id: Ibf9e4f57b47e92789d3e0730c58b0bce14663fec
/frameworks/base/core/java/android/app/Notification.java
|
cc5daf1be5bfc532ec03ebec5713f579d2a08e3e |
|
23-Apr-2015 |
Ed Heyl <edheyl@google.com> |
Quick build fix: Revert "Add pre-order as a pricing type for ContentInfoExtender" This reverts commit 7e0f2ac42574b524d7b06afaf9221bde5d0af228. Change-Id: I52285a668ccfce547a398e1d6b40594dc99745f0
/frameworks/base/core/java/android/app/Notification.java
|
7e0f2ac42574b524d7b06afaf9221bde5d0af228 |
|
22-Apr-2015 |
Jose Lima <joselima@google.com> |
Add pre-order as a pricing type for ContentInfoExtender Change-Id: I137d038c82342869dd104b178f1b11ba02fed07c
/frameworks/base/core/java/android/app/Notification.java
|
24d3dad8dd91af037e2f7cc2780efc1be643bbe3 |
|
02-Apr-2015 |
John Spurlock <jspurlock@google.com> |
Add new notification category for reminders. Bug: 20045407 Change-Id: I5c449551fb7ec5a3e2c350f443e1a18b84b4d03f
/frameworks/base/core/java/android/app/Notification.java
|
606f1c9c9dd67959208c80fd320dd204020a6926 |
|
20-Mar-2015 |
John Spurlock <jspurlock@google.com> |
Merge "HUN: Implement per-package config."
|
1d881a1e986c706963c254fbe2b6296a1cd10b75 |
|
19-Mar-2015 |
John Spurlock <jspurlock@google.com> |
HUN: Implement per-package config. - Keep track of whether or not HUNs are allowed per-package. - No impact on ranking, purely presentational. - Simplify RankingHelper with a package table. - Improve RankingHelper dump. - Fix some warnings and typos. Bug: 19776495 Change-Id: I28d69df69b576f4eabbb528eabecb1f736f0e830
/frameworks/base/core/java/android/app/Notification.java
|
4a357cd2e55293402d7172766f7f9419815fc1e8 |
|
19-Mar-2015 |
Alan Viverette <alanv@google.com> |
Replace usages of deprecated Resources.getColor() and getColorStateList() Change-Id: I8f64fe6c4c44a92ff6d07250223ba590a1d691b0
/frameworks/base/core/java/android/app/Notification.java
|
77c39392ffe93626289e21a1630fdc390e0f31bf |
|
24-Feb-2015 |
Jose Lima <joselima@google.com> |
New ContentInfoExtender for Notifications Added a new Extender to add Content Info data to notification objects. Change-Id: I29a84915ad0c0bb724c2fcdc53d9a4c4db95ba93
/frameworks/base/core/java/android/app/Notification.java
|
0e24f143edd81de6ca5a4ed998e26fbb78c5db28 |
|
07-Mar-2015 |
Dianne Hackborn <hackbod@google.com> |
Merge "Add new debug feature to automatically create heap dumps."
|
b9a5e4ad30c9add140fd13491419ae66e947809d |
|
04-Mar-2015 |
Dianne Hackborn <hackbod@google.com> |
Add new debug feature to automatically create heap dumps. Not yet working, unless you turn off SELinux enforcing. We need to update SElinux to allow the system process to give apps access to /data/system/heapdump/javaheap.bin. Currently watching can only be enabled through the shell, such as: adb shell am set-watch-heap com.android.systemui 1024 The last number is the process pss size in bytes, so this is asking us to warn if it goes about 1K which will be all the time. Change-Id: I2089e5db2927afca0bf01a363c6247ee5dcb26e8
/frameworks/base/core/java/android/app/Notification.java
|
80756e38882720860db52f1fcc21fa1505a02abf |
|
02-Mar-2015 |
Tor Norbye <tnorbye@google.com> |
Annotate ARGB integer parameters with @ColorInt Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
/frameworks/base/core/java/android/app/Notification.java
|
7b9c912f536925ac6ec43935d6e97506851b33d6 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add @ResourceInt annotations on APIs Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/app/Notification.java
|
9d5528ba9f3ce96c05625a56dcdf34690efdac94 |
|
15-Nov-2014 |
Zhen Yu Song <zhensong@google.com> |
+ Add CarExtender to Notification Bug: 18316420 Change-Id: Idd7a06c2271d62c603014038fbe5a0bbacb0ed78
/frameworks/base/core/java/android/app/Notification.java
|
3a70523eb63c4f61dcd6fcf52f1d9ebae7482027 |
|
17-Dec-2014 |
Jorim Jaggi <jjaggi@google.com> |
am 4a5129c8: am c3059b44: Merge "Fix colored icons in doze mode" into lmp-mr1-dev * commit '4a5129c83b92e7ae198f4b9a3018c8cdcba5dd86': Fix colored icons in doze mode
|
c3059b444fbd30b1344cd5ee3c7030d1e9e5c408 |
|
17-Dec-2014 |
Jorim Jaggi <jjaggi@google.com> |
Merge "Fix colored icons in doze mode" into lmp-mr1-dev
|
92df1f275831c23e3ed5b70d621a0c298e0bafea |
|
16-Dec-2014 |
Jorim Jaggi <jjaggi@google.com> |
Fix colored icons in doze mode Also fixes the issue that small icons promoted to large icons were not forced to be white, which lead to inconsistent treatment of the icons. Bug: 18537470 Change-Id: Ic35e082da12793f3f13c91740bfc345b336c3db4
/frameworks/base/core/java/android/app/Notification.java
|
f35284804b4f04b91d772b913d9a6ae1c8a5f65a |
|
17-Dec-2014 |
Christoph Studer <chstuder@google.com> |
am 1464dd2f: am 0b22e395: Merge "Notification: Fix bigLargeIcon" into lmp-mr1-dev * commit '1464dd2f925f4b6179a7ede287f13431e6835aec': Notification: Fix bigLargeIcon
|
0b22e395d24cba14d4113fb326bfcb57c6aa5996 |
|
17-Dec-2014 |
Christoph Studer <chstuder@google.com> |
Merge "Notification: Fix bigLargeIcon" into lmp-mr1-dev
|
2bd62b53b68834cabb48be608ee350012b1e8043 |
|
16-Dec-2014 |
Christoph Studer <chstuder@google.com> |
am 88fb463e: am 0bb83b07: Merge "Fix MediaStyle docs mentioning 2 max actions in compact view" into lmp-mr1-dev * commit '88fb463ea355303f03535a29ac5935bf69d8a50e': Fix MediaStyle docs mentioning 2 max actions in compact view
|
5c510ee551dd58d416578bc1247d672cfff84be8 |
|
15-Dec-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Fix bigLargeIcon Fix a bug in L where BigPictureStyle.bigLargeIcon never made it into the notification layout. Bug: 18735551 Change-Id: Ia72d1de8cca2e95df3a99aaffeaba31325f1d858
/frameworks/base/core/java/android/app/Notification.java
|
fde6f4d745dd3c00c8b9f6c363a2fd331fb61ba6 |
|
12-Dec-2014 |
Christoph Studer <chstuder@google.com> |
Fix MediaStyle docs mentioning 2 max actions in compact view Bug: 18729304 Change-Id: Ica6b8ac47d7d38b1de62d64830256f66cbbdb225
/frameworks/base/core/java/android/app/Notification.java
|
723bce8a0d4fa900ca4344c03e5e82b5881fcf19 |
|
02-Dec-2014 |
Chris Wren <cwren@google.com> |
am 47a5cb12: am acd01ff0: Merge "Keep deleteIntent when copying Notification attributes" * commit '47a5cb122ab495e8420c46d8f324bddcd38920af': Keep deleteIntent when copying Notification attributes
|
acd01ff07668a608cb4890a2ea1533a2397149c8 |
|
02-Dec-2014 |
Chris Wren <cwren@google.com> |
Merge "Keep deleteIntent when copying Notification attributes"
|
e935fe918ed3f93fe6634d09652d4eb1c9d36aae |
|
24-Nov-2014 |
Christoph Studer <chstuder@google.com> |
Fix MediaStyle API comments Bug: 17805819 Change-Id: Ie45a43d7ae99304d635ce75aeb32a6d4d4e3e57d
/frameworks/base/core/java/android/app/Notification.java
|
9c5be4eddd1607846c189e403fd74fd288ce7976 |
|
18-Nov-2014 |
Griff Hazen <griff@google.com> |
Improve doc for {get,set}HintAvoidBackgroundClipping Bug: 18414403 Change-Id: I4cc069ca8f13d7521aa94e3c18f776de69280e2f
/frameworks/base/core/java/android/app/Notification.java
|
705c9c131a6df977a2e9430cacb84788ef0cecbf |
|
10-Nov-2014 |
Pete Gast <pgast@google.com> |
Merge "Expand WearableExtender to customize labels." into lmp-mr1-dev
|
5f2edfc12c4f31a54e81c1ce538a276f61439c92 |
|
30-Sep-2014 |
Griff Hazen <griff@google.com> |
Improve support for the barcode-on-screen use case for wearables. Add two small developer apis to wearable extender to help developers show barcodes on different shaped wearable screens. Bug: 16299175 Bug: 17005635 Change-Id: I05088ffcc405c69f1e8df7bf967ea930548c7d51
/frameworks/base/core/java/android/app/Notification.java
|
ef72a198afc4ded0b75534a97142fae2e91b46f5 |
|
26-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Apply color to progress bar for notifications Bug: 17128179 Change-Id: Ia642ff2a352bbabf2d1e468367d45dc188ee0e73
/frameworks/base/core/java/android/app/Notification.java
|
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 |
|
08-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
Put in real "code" (aka marketing) name. Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
/frameworks/base/core/java/android/app/Notification.java
|
af6781dcfe3ded916c3341c49e39b585b9a18398 |
|
07-Oct-2014 |
Pete Gast <pgast@google.com> |
Expand WearableExtender to customize labels. BUG: 15774526 Change-Id: I5796ab0e27975b5746d677be084b1ba1ada80a76
/frameworks/base/core/java/android/app/Notification.java
|
e6c4893ed4d4f79df4299dfd0587b641dc1e2e81 |
|
29-Sep-2014 |
Chris Wren <cwren@android.com> |
Update the documentation on EXTRA_PEOPLE. Include the supported formats with links to ContactsContract documentation. Bug: 15283556 Change-Id: Ic48b0a9ad1be61f0fa119b1d0e9d6aac5e5bea27
/frameworks/base/core/java/android/app/Notification.java
|
c30afd1e74034e425a575a3e6a4cf17e4ba91542 |
|
12-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Merge "Notification: Reset chronometer visibility" into lmp-dev
|
ca1db7162aecde749d92dccdf3bdb3b8b421e0c0 |
|
10-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Reset chronometer visibility Bug: 17175860 Change-Id: Idd5ce5d22f30c01507d5207feaccdf1ac8a1a291
/frameworks/base/core/java/android/app/Notification.java
|
c8824b18c1fe1ea917d4cc8b72796522c25605f0 |
|
10-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Remember userId when stripping / rebuilding notification." into lmp-dev
|
b907affce2ca0451637770710b5bedc8162f69cf |
|
10-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Merge "Notification: Use ViewStub for ProgressBar" into lmp-dev
|
fc3922d49b20f52a12c7557b8c37bb022030e6f2 |
|
20-Aug-2014 |
Griff Hazen <griff@google.com> |
Copy visibility docs from support version to base Notification. (Noticed the difference in a javadoc diff between Notification and NotificationCompat) Bug: 17424399 Change-Id: I639a46c429ffebf8ca47118b2ea80f40ccdc1286
/frameworks/base/core/java/android/app/Notification.java
|
aca4b25f479065088a798eff3b87ec46325632e3 |
|
09-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Use ViewStub for ProgressBar Lazily inflate ProgressBars since they're expensive. Bug: 17366831 Bug: 17399567 Change-Id: I2b85169a67d41a66fead2fccef2381eaa671c3e4
/frameworks/base/core/java/android/app/Notification.java
|
8942bcd6ea7de228d1145599739bd43a881dfe1d |
|
08-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Remember userId when stripping / rebuilding notification. ApplicationInfo.uid isn't enough because when system posts notifications it Context.getUserId doesn't match userId bit of ApplicationInfo.uid, so put back the mOriginatingUserId. Bug: 17002733 Change-Id: Ie3d8de121255bcb551cbe80c263e74f1a60b6f1c
/frameworks/base/core/java/android/app/Notification.java
|
457a10d29c151664fc274c06be7e44f813b12767 |
|
08-Sep-2014 |
Jorim Jaggi <jjaggi@google.com> |
Restrict line count for BigTextStyle Also fixes paddings for the first line for InboxStyle notifications. Bug: 17161340 Change-Id: I00a92f256d9ccad7cfbcecb591e84bb0d68ba635
/frameworks/base/core/java/android/app/Notification.java
|
c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb |
|
05-Sep-2014 |
Svetoslav <svetoslavganov@google.com> |
Addressing API council comments for UserManager. bug:17390424 Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
/frameworks/base/core/java/android/app/Notification.java
|
773200640ba6561432e57b86a94bd3836494e4cf |
|
27-Aug-2014 |
Kenny Guy <kennyguy@google.com> |
Fix RemoteViews to inflate views for current user. Fix RemoteViews so that it loads resources from user that created the RemoteViews but inflates for the user applying the RemoteViews. Fix Notification to rebuild RemoteViews with same ApplicationInfo as original app. Bug: 17302505 Change-Id: I39f21eef83d63e9e494ea35818e1eb969edd38d7
/frameworks/base/core/java/android/app/Notification.java
|
692356b7c392130b7f38f46a60570617c978ba75 |
|
04-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Revert "Ensure all RemoteViews use myUserId rather than context." This reverts commit 5287e37687f117ac0b690100ad90842eff58d15a. Reverting because only worked if settings cache had been populated already. Bug: 17302505 Change-Id: I4360606e9d9c6409951f0a02bd0b78c55085e0c6
/frameworks/base/core/java/android/app/Notification.java
|
d2961355bd433c3319f293eb53cbe6ad30b79276 |
|
04-Sep-2014 |
Dan Sandler <dsandler@android.com> |
Merge "Notification: Limit length of accepted strings" into lmp-dev
|
a449018105252f6d8d83c4b7064ce54476a6c6f7 |
|
04-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Merge "Ensure all RemoteViews use myUserId rather than context." into lmp-dev
|
879ebec4e2a12a802339549cb4fefa32b5368379 |
|
02-Sep-2014 |
Kenny Guy <kennyguy@google.com> |
Ensure all RemoteViews use myUserId rather than context. Remote views may be inflated in another user so explicitly use processes user id rather than the user id of the context. Bug: 17302505 Change-Id: I985c91745f03dd7e6b2ab6357600077664d8e6be
/frameworks/base/core/java/android/app/Notification.java
|
d1dc910effbbe0998a00e428767eed562aa6f25c |
|
04-Sep-2014 |
Dan Sandler <dsandler@android.com> |
Merge "Reduce RAM requirements of grayscale icon testing" into lmp-dev
|
05c362d5645367c816069aa138b597b77f317aa4 |
|
03-Sep-2014 |
Dan Sandler <dsandler@android.com> |
Reduce RAM requirements of grayscale icon testing The isGrayscale family of methods is designed to identify drawables and bitmaps that apps are using in the largeIcon position to pose as small icons in order to get the appropriate background treatment (a solid blue or gray block in KK/JB, or geniune selvedge denim in ICS/HC). We can optimize this search two ways: (1) Reject immediately any largeIcon that is larger than largeIcons should be (64x64dp). We could one day simply reject, or resize, these in the notification manager, but regardless these are not plausible smallIcon subsitutes. This new constraint is commemorated in the new name, isGrayscaleIcon(). (2) Shrink the bitmap even smaller before scanning it slowly in Java. This lets native_drawBitmap do the heavy lifting across the entire bitmap; we need only scan a few pixels. Bug: 16513124 Change-Id: I3a2b79130ed2465a4aedfbb5a556db7f8a7aa132
/frameworks/base/core/java/android/app/Notification.java
|
535ec6164e76c08ac7a44aa2556cf424c423eb68 |
|
03-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Limit length of accepted strings Limit strings to 5K in order to prevent apps from spamming the system with overly long strings. Bug: 17363929 Bug: 16151806 Change-Id: Id41e3fcc1ae1bc8ac8dd41d5059c2cc42f86f017
/frameworks/base/core/java/android/app/Notification.java
|
223f44e1d2cc56fa965cdb9f112afae1c498cbbd |
|
02-Sep-2014 |
Christoph Studer <chstuder@google.com> |
NoMan: Drop archive size to 100, strip EXTRA_BIG_TEXT Bug: 15557701 Change-Id: I348b9648dbb941b2fa40b169d5ca82b9f9ba21f4
/frameworks/base/core/java/android/app/Notification.java
|
9c70889274da36a66ed5463a1d7dd2e7fa7ce190 |
|
01-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Merge "Notification: Reset view params for re-use" into lmp-dev
|
fe718433e0437db3fec741e5d8fdde5c71d39aba |
|
01-Sep-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Reset view params for re-use Since RemoteViews are reapplied in SysUI, reset potentially modified view params before configuring it. Bug: 17175860 Change-Id: I0eceb1522461f8302e69af1a995a8d036951d1ed
/frameworks/base/core/java/android/app/Notification.java
|
17ee3ec0b85f1ca29920bc3bf26e613b82a0ecf8 |
|
29-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Media notification updates - Make text white. - Adjust padding & metrics to redlines. - Use different narrow layout when 3 or less notifications with big picture. - Update action ripples. - Fix progress bar size & fix color for indeterminate progress bar. - Apply default background in SystemUI when no color is set, so we don't end up with white text on white background. Bug: 15437369 Bug: 16625746 Bug: 15147533 Change-Id: Ie8bd5ad0bbca972685adb50034fff88ea97456bd
/frameworks/base/core/java/android/app/Notification.java
|
78358b17885cfb99f359f54c11565c0c3a998928 |
|
29-Aug-2014 |
Christoph Studer <chstuder@google.com> |
Merge "NoMan: Allow listeners to specify notification trim" into lmp-dev
|
d05aa3ee47579283a20f4e5957fc319c6e76a74a |
|
28-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Fix various problems with notification layouts - Fix end padding for inbox notification. - Fix that actions in BigText were clipped off. - Fix that second line was never shown. - Fix top padding in combination with badges. - Fix that actions in InboxStyle were clipped off. - Make badge style consistent with small icon. - Fix that third line on Inbox/BigText is always 12sp (before it was sometimes 14sp) Bug: 17315502 Bug: 17285898 Bug: 17311783 Bug: 17200814 Change-Id: Ic7e5e4fa07b6302a76631d0238b88239871acf49
/frameworks/base/core/java/android/app/Notification.java
|
b82bc785c966b59621a3a2523ba7cdf84a73697b |
|
20-Aug-2014 |
Christoph Studer <chstuder@google.com> |
NoMan: Allow listeners to specify notification trim Bug: 16574195 Change-Id: I116080df8b73d73040cf9dbc751e25ee118641d7
/frameworks/base/core/java/android/app/Notification.java
|
239f835f543016c9cb049174fc6f4557a26b4883 |
|
25-Aug-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Optimize L icon processing Bug: 16862480 Change-Id: I6c71eba232184ce948aafe81fec3a313fecbbaf1
/frameworks/base/core/java/android/app/Notification.java
|
98193ea54f492aefb0c5dd8ff7a1f61e605535e6 |
|
24-Jul-2014 |
Kenny Guy <kennyguy@google.com> |
Fix notification badge when line 3 not shown. Ongoing notifications from chrome and drive don't have content in line 3 so profile badge wasn't shown. Add profile badge to large notifications which hide line 3. Bug: 16366324 Change-Id: Ib4f1e888674743aa8ef93b7eaceae72602d8df4d
/frameworks/base/core/java/android/app/Notification.java
|
445d3c0a6f471b4bb1bd37ad5da0fd90c6ce2825 |
|
19-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Update notification layouts to match redlines Also fixes a lot of paddings and other small issues with the notification layouts. Bug: 15437369 Change-Id: I40b6c69afc160c498b7e2e709814b5b847f615de
/frameworks/base/core/java/android/app/Notification.java
|
255dd04271088590fedc46c8e22b2fd4ab142d39 |
|
19-Aug-2014 |
Selim Cinek <cinek@google.com> |
Added notification color to all system notifications Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
/frameworks/base/core/java/android/app/Notification.java
|
ceb4d418464d1b72c450c5e390b1cc7b1f92a49f |
|
13-Aug-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Merge "Add support for AudioAttributes in android.media.Ringtone" into lmp-dev
|
539aad45707202a2167f03475da38b4cccf020f0 |
|
04-Aug-2014 |
Dan Sandler <dsandler@android.com> |
Large text support for notifications. Bug: 7216066 Bug: 15437369 Change-Id: I01a07f04c18d374fc1656f0b1f439a7c33c9d80c
/frameworks/base/core/java/android/app/Notification.java
|
81f871e2b96125d57b76c07169e868e516443794 |
|
07-Aug-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add support for AudioAttributes in android.media.Ringtone Deprecate use of stream types. Map deprecated API to AudioAttributes. Add new methods to specify AudioAttributes on a Ringtone instance. Bug 16790748 Change-Id: Ifb3c2e838e1f119614459ad7d71d83a4d7c9ffdb
/frameworks/base/core/java/android/app/Notification.java
|
09723fd04a8c2d0198ee11aeab1a9eefcf17ca7f |
|
07-Aug-2014 |
Dan Sandler <dsandler@android.com> |
Merge "Need to post-process all action icons to get the correct color." into lmp-dev
|
aa21e395f536738f1f7dee01d752d69f2dff632e |
|
06-Aug-2014 |
Dan Sandler <dsandler@android.com> |
Need to post-process all action icons to get the correct color. This reverts commit fd266000212b33956d586807c76967b30b815cb6. Bug: 16846210 Change-Id: I67e0acaacb6a4d9eb9a1a7392a7c647ff51c8f54
/frameworks/base/core/java/android/app/Notification.java
|
0da85b6c9073956b620c6a88b44027e9ee80066c |
|
06-Aug-2014 |
Svet Ganov <svetoslavganov@google.com> |
Fix regression in remote views. Now remote views contain the application info for the app on whose behalf they should show content. The application info contains the user id and the package name which makes it unique in the multi user environment. If the app which creates the remote views does not have the same package as the one passed in the contructor of the remote views, we lookup the app info for the target package. There is a special hidden overload that allows creating a remote views instance that represents an app in given package and user (requires interact across users) permission. The latter is used by SystemUi when creating remote views for apps that posted a notification. bug:16838651 Change-Id: I2daa974629f89a2446848e59300d994dadcf4439
/frameworks/base/core/java/android/app/Notification.java
|
c71c42fdb2ee54a419dc8eb0a5f4f82532b16c0c |
|
06-Aug-2014 |
Svetoslav <svetoslavganov@google.com> |
Polish of the app widgets cross-profiles feature. 1. Added API for badging an arbitrary drawable at a given location. 2. Updated the icon and previewImage deprecation as they are no longer returning a badged drawable. The methods to load the icon and the preview are now just making it easier for a developer to get the drawables. 3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user is removed. 4. Fixed a bug in AppWidgetHost which was unnecessarily caching its package name and having code paths where the cached value was not populated when calling into the system. bug:14991269 Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
/frameworks/base/core/java/android/app/Notification.java
|
976e8bd2017d0263216c62111454438cc0f130e3 |
|
17-Jul-2014 |
Svetoslav <svetoslavganov@google.com> |
Allow adding widgets from user profiles. The goal of this change is to enable support for appwidget from user profiles to the user main profile. A user profile is a user which is associated as a child of the main user profile. For example, a user may have a personal (parent) and corporate (child) profile. The device policy should be able to control whether adding a widget from a child profile and given packages is allowed. This change assumes that all packages from managed profiles are white listed. Another change will add the device policy changes. Change-Id: I267260b55d74c48b112a29979a9f59eef7a8194e
/frameworks/base/core/java/android/app/Notification.java
|
1cda67f8b38e34f495e61b903f518f5a695242b5 |
|
31-Jul-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Only post-process legacy notifications Bug: 16522199 Change-Id: I20330f946cee6569c249be1800c3a0e814d79efc
/frameworks/base/core/java/android/app/Notification.java
|
7ac80e630d8fffb19fbd0d2a177789313c8323b4 |
|
04-Aug-2014 |
Christoph Studer <chstuder@google.com> |
NoMan: Optimize profile badge retrieval Instead of stuffing the profile badge into extras, store the originating user and read the badge via UserManager. Bug: 16735645 Change-Id: Ia5f9b6f113dcbc88581af5308585edcf9b92b88d
/frameworks/base/core/java/android/app/Notification.java
|
943aa6778fe1aafe4f108b1e7c1d4538128b529f |
|
03-Aug-2014 |
Christoph Studer <chstuder@google.com> |
Notif: Fix profile badge for stripped RemoteViews Stash the profile badge into the extras such that rebuild() can read it back. Bug: 16735645 Change-Id: I620da121615a01c27fb31ee292088701e364d223
/frameworks/base/core/java/android/app/Notification.java
|
97c0b90f891a0ee1d051ba29d825cde1f0eeaad4 |
|
24-Jul-2014 |
Chris Wren <cwren@android.com> |
Expose headsUpContentView so developers can customize it. Bug: 13510114 Change-Id: I645c204e366fefab58224d2e67d00e701dc661aa
/frameworks/base/core/java/android/app/Notification.java
|
c8db24bc32034accf1eb614c8d68bb80b41ae73f |
|
25-Jul-2014 |
Christoph Studer <chstuder@google.com> |
SysUI: Display group children when no summary is present Also move common notification filtering into NotificationData such that clients won't have to do it themselves anymore. Probably also fixes a couple of multi-user issues. Bug: 16302692 Bug: 16224431 Change-Id: Ic3c11cd1a224044486f5544e068ca5297d30c521
/frameworks/base/core/java/android/app/Notification.java
|
4600f9b60753adab4e65258a05744a46938fce86 |
|
22-Jul-2014 |
Christoph Studer <chstuder@google.com> |
Strip RemoteViews from Notifications, re-create them in SysUI Bug: 16329721 Change-Id: Ic0bea763ffaec4c5644ca78705007211ac6b4b88
/frameworks/base/core/java/android/app/Notification.java
|
fd19326c6b0ec891dc839e594eadbf76af142a4d |
|
28-Jul-2014 |
Christoph Studer <chstuder@google.com> |
Notification: Forward setUser() call to publicVersion Change-Id: I82715d69664fcbf57ca0599994004a8630f8587c
/frameworks/base/core/java/android/app/Notification.java
|
e191f901d9af36f5eeda99758a8319829a9a5b88 |
|
22-Jul-2014 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Store actions passed to MediaStyle.setShowActionsInCompactView in extras So that they can be bridged appropriately by Android Wear Change-Id: I3a21a74991c8067ece1a04fbd0b92dd21438e0fd
/frameworks/base/core/java/android/app/Notification.java
|
6ae0b1b212ac02dff4297225f9a5c07736af6524 |
|
20-Jul-2014 |
Sean Barbeau <sjbarbeau@gmail.com> |
Keep deleteIntent when copying Notification attributes Ensures that any previously registered deleteIntent is retained after a call to Notification.setLatestEventInfo(). Currently, a call to setLatestEventInfo() effectively erases a previously registered Notification.deleteIntent, which results in the app never being notified when the user dismisses the notification. This issue is described in detail in #73720: https://code.google.com/p/android/issues/detail?id=73720 Change-Id: Ie58bf6a310058d40beb0d1af6506e9e1f4324b37 Signed-off-by: Sean Barbeau <sjbarbeau@gmail.com>
/frameworks/base/core/java/android/app/Notification.java
|
c0650f02b810d7c068885028776d9ed7d6237973 |
|
19-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Add audioAttributes to Notification. @deprecate the old audioStreamType-based metadata in favor of attribute-based replacements. Bug:16401631 Change-Id: I2c140f87dd4ad2141c6c0a6f391877c295973866
/frameworks/base/core/java/android/app/Notification.java
|
5598216931f7f5d42b7c062fdeb20b11ef853df8 |
|
18-Jul-2014 |
Dan Sandler <dsandler@android.com> |
Merge "Deprecate and stop generating tickerViews." into lmp-dev
|
5fcdf6e81d86943ff0d6d50cec9b976206978fa5 |
|
18-Jul-2014 |
Dan Sandler <dsandler@android.com> |
Deprecate and stop generating tickerViews. Tickers have been replaced in the UI by heads-up notifications (and not creating the tickerView will save memory, almost 150k if you have an xhdpi largeIcon). Update docs to explain that tickers are just for accessibility now. Bug: 16395266 Change-Id: Ib1372b34c1c261f64228bbe705d174675cd007dc
/frameworks/base/core/java/android/app/Notification.java
|
1b71878e4ee94c958b7da68ff650b5712bcc7fce |
|
18-Jul-2014 |
Dan Sandler <dsandler@android.com> |
Actually show secret notifications sometimes. Factor out the "should we be hiding sensitive data" predicate so we get it right everywhere. Show visibility stuff in Notification.toString(). Bug: 16307122 Change-Id: Ifd16d073c4595add2ac3582ffc0d0179e55246e5
/frameworks/base/core/java/android/app/Notification.java
|
6be8de36e68b95b2e73042acb8fa13f8dd8dfdcc |
|
18-Jul-2014 |
Bryan Mawhinney <bryanmawhinney@google.com> |
Default MediaStyled notifications to CATEGORY_TRANSPORT This makes it easier to identify them later (e.g., for filtering). The developer can always specify a different category if preferred. Also fixed some javadoc related to setMediaSession() Change-Id: I5f28514758218ff66fdbaa9fd37ccb19f12d4852
/frameworks/base/core/java/android/app/Notification.java
|
0c69a3e5e8f949e601ed9dac631f26287cfaea47 |
|
07-Jul-2014 |
Christoph Studer <chstuder@google.com> |
Remove unused Notification.EXTRA_SCORE_MODIFIED Change-Id: I195204e384fc4818ae5980d978518c0e6403f3fb
/frameworks/base/core/java/android/app/Notification.java
|
dba34ba35cd2042d9a8fecfda56e2abe7a680bad |
|
25-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Make MediaSessionToken an inner class of MediaSession. Also add some missing AIDLs to the framework makefile to ensure they are included in the SDK. Change-Id: If85a3091c7591e0b3bbe6cc4bb74aba2284b4f42
/frameworks/base/core/java/android/app/Notification.java
|
9856739cb0f10dd6234359869991b4c57eab340f |
|
24-Jun-2014 |
Chris Wren <cwren@android.com> |
am 7d165c5d: Update javadocs for heads up behavior. * commit '7d165c5d59b6afb6aa66999ff76b79c8017ad09a': Update javadocs for heads up behavior.
|
47c20a163a56822f38664151c1e42fac07c41534 |
|
18-Jun-2014 |
Chris Wren <cwren@android.com> |
Update javadocs for heads up behavior. The heads up notification is influences by full screen, sound, vibration and priority. Update the documentation on those APIs to explain this. Also add some draft documentation for hidden API surfaces. Bug: 15509793 Change-Id: Ie7dc99d9c1acf873782bdd010cdf28d11da256d7
/frameworks/base/core/java/android/app/Notification.java
|
0d0c1775186ae88041ae74646119ee5ea2e9cf01 |
|
17-Jun-2014 |
Griff Hazen <griff@google.com> |
[Doc fix] Document best practices for display intent activities. Bug: 15412926 Change-Id: I1c3082dfde85cd03ffc97be6383a0608f925edcf (cherry picked from commit 831ca9d3bc73e37f555f6c07babde270f83044fe)
/frameworks/base/core/java/android/app/Notification.java
|
31f8d22ec542505f0bb19b78ba4f617cab39677f |
|
17-Jun-2014 |
Robert Ly <robertly@google.com> |
am 1d3f9b72: am 0bfee5a4: Merge "fix javadocs b/14414251" into klp-modular-dev * commit '1d3f9b72505cdf72889f9f1984005097ed35d314': fix javadocs b/14414251
|
ea54579b54687788c269b386c4bb802de5b87b1a |
|
17-Jun-2014 |
Griff Hazen <griff@google.com> |
am 6762a335: am 831ca9d3: Document best practices for display intent activities. * commit '6762a3351ce84ec31ce7cd54c952ddb65a108958': Document best practices for display intent activities.
|
831ca9d3bc73e37f555f6c07babde270f83044fe |
|
17-Jun-2014 |
Griff Hazen <griff@google.com> |
Document best practices for display intent activities. Bug: 15412926 Change-Id: I1c3082dfde85cd03ffc97be6383a0608f925edcf
/frameworks/base/core/java/android/app/Notification.java
|
0bfee5a4905a14a318731661214558792abc2f7d |
|
17-Jun-2014 |
Robert Ly <robertly@google.com> |
Merge "fix javadocs b/14414251" into klp-modular-dev
|
7441931462c5dd00edc6f4598e1e60b4f5e67fc4 |
|
10-Jun-2014 |
Jorim Jaggi <jjaggi@google.com> |
Do not override mColor with default color if none set Bug: 15163105 Change-Id: Ibb9507b24aeaae7a571d42eb411aff25449d48fe
/frameworks/base/core/java/android/app/Notification.java
|
01df1c680abdce58d873220cfce9163b59eacbd2 |
|
09-Jun-2014 |
Daniel Sandler <dsandler@android.com> |
Move CATEGORY_NOTIFICATION_PREFERENCES to Notification. It sprouts an additional INTENT_ prefix to distinguish it from the Notification.category constants in the same file. Bug: 15022240 Change-Id: Icbc09bfc5ce78964272def66934fe4a7c848e12b
/frameworks/base/core/java/android/app/Notification.java
|
91c5ce318f504db26ffa92e98d5890e07b27b00a |
|
09-Jun-2014 |
Robert Ly <robertly@google.com> |
fix javadocs b/14414251 Change-Id: I0a0b8f1c42c45b9e7b6c5282c864319cf0278f14
/frameworks/base/core/java/android/app/Notification.java
|
3cb07a462be293634e6a83ea6c82f3647cd17dad |
|
06-Jun-2014 |
Alan Viverette <alanv@google.com> |
DO NOT MERGE Material theme BUG: 15467097 Change-Id: I15191362e104a902895418fc615892c21db64c35
/frameworks/base/core/java/android/app/Notification.java
|
8a0101bade3f817d925bd931d0b83bc454dedea4 |
|
09-May-2014 |
Kenny Guy <kennyguy@google.com> |
Badge notification from managed profiles. Add a method to the UserManager to provide access to bitmap of badge for managed profile. Overlay the icon view in notification templates with the badge from the UserManager. Notifications with custom views won't be badged. Bug: 12641490 Change-Id: I1f2aae927e75fc8a955e4d5bbc3cc81127d87069 (cherry picked from commit 0f4ab980227e8c298bfcd34dd85aad0febad528c)
/frameworks/base/core/java/android/app/Notification.java
|
bf06fa047954e85cf9df554d0b3d4eb4b19a950e |
|
30-May-2014 |
Adam Powell <adamp@google.com> |
Compatibility fix for apps that construct Notification.Builders early Some apps in the wild are known to construct a Notification.Builder from within their Activity constructor, passing said Activity instance as the Context parameter. However at this point in the Activity's lifecycle the ContextWrapper's base context has not yet been populated and most calls to Context methods will fail. Even though this was technically undefined behavior in the past, as apps have little to no way to guess at these internal implementation details it's probably best to preserve old expectations. Add a note in Notification.Builder for future framework developers and remove the offending call - the associated field was never used anyway. ಠ_ಠChange-Id: I4cf3df10be14739babc8ae9a969d261a7ecf8beb
/frameworks/base/core/java/android/app/Notification.java
|
ca48d35423bbcf9da93a9157347f1de09cd2513f |
|
29-May-2014 |
Griff Hazen <griff@google.com> |
DO NOT MERGE Cherry-pick: Additional doc fixes for WearableExtender Change-Id: I3764e4d97c0007b905ff0f3eb553234668fd50e1
/frameworks/base/core/java/android/app/Notification.java
|
339f437dc3f7c474d9cf1f963819bab2596e6ad3 |
|
28-May-2014 |
Griff Hazen <griff@google.com> |
Additional doc fixes for WearableExtender Change-Id: I3764e4d97c0007b905ff0f3eb553234668fd50e1
/frameworks/base/core/java/android/app/Notification.java
|
d5f11f98d13ed4390d0fc5b30241fd71dd000be8 |
|
28-May-2014 |
Griff Hazen <griff@google.com> |
DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender Bug: 14838838 Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db
/frameworks/base/core/java/android/app/Notification.java
|
14f5799ba95bfab4d985dc029952e164c385d5f5 |
|
26-May-2014 |
Griff Hazen <griff@google.com> |
DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender Change-Id: I22947e30d329e667079555ac4ac5f9b25d6bd3fa
/frameworks/base/core/java/android/app/Notification.java
|
a9cb1e66737f816d643bca03832af719cbdd0f20 |
|
28-May-2014 |
Griff Hazen <griff@google.com> |
Add full screen size preset to WearableExtender For custom display notifications. Bug: 14838838 Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db
/frameworks/base/core/java/android/app/Notification.java
|
6f72ac5d5f4b7bae34bb3dab7821f3dbcbf02bcd |
|
26-May-2014 |
Griff Hazen <griff@google.com> |
Doc fixes for Notification.WearableExtender Change-Id: I22947e30d329e667079555ac4ac5f9b25d6bd3fa
/frameworks/base/core/java/android/app/Notification.java
|
61a9e8635f04e5bae5f4ee81579beb9d5baf56d0 |
|
23-May-2014 |
Griff Hazen <griff@google.com> |
DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications Change-Id: I40012fd0458ec103eabf75ed4c91f636e02f4c8f
/frameworks/base/core/java/android/app/Notification.java
|
c3104157d8f12238b0ac8cf6c6f963dadb44167c |
|
22-May-2014 |
Griff Hazen <griff@google.com> |
Api updates for wearable extensions to notifications 1. Move Extender outside of Builder 2. Rename apply/applyTo to extend 3. Move Wearable extenders into Notification.java 4. Collapse Builder model into single classes 5. Use Bundle for storage: no new parcelable types. Minor fix to RemoteInput to use flags int for boolean options. Change-Id: I40012fd0458ec103eabf75ed4c91f636e02f4c8f
/frameworks/base/core/java/android/app/Notification.java
|
842dd77bb9c002af5364237f46b63c826f1c4082 |
|
15-May-2014 |
Dan Sandler <dsandler@android.com> |
Introducing Notification.MediaStyle. Allows you to create a nice music player with all the trimmings, including: * up to 5 actions in the bigContentView, styled as transport control buttons * up to 2 of those actions in the 1U (!) * a nice custom progress bar * a tinted background (taken from your Notification.color) * a special place to put your MediaSessionToken Bug: 15147533 Change-Id: Ic20a2b369eb6c5fe4853987a44ffd9bace720c7f
/frameworks/base/core/java/android/app/Notification.java
|
e9e3b3b919185fd0dc797c1699e762fa32db59f9 |
|
19-May-2014 |
Jose Lima <joselima@google.com> |
Added Notification.EXTRA_BACKGROUND_IMAGE_URI Added new EXTRA field to notification to be used to specify an image that can be displayed to the user when the notification is selected. Change-Id: I3f79cf363d885fe2742e74a7d29d7e22ea1e6f60
/frameworks/base/core/java/android/app/Notification.java
|
51eb4e657cc68df7fabbcd4538d26ea139449c01 |
|
20-May-2014 |
Griff Hazen <griff@google.com> |
am 7ba69dd8: am 9e1379f1: Fix sdk docs build for framework from remote input api addition. * commit '7ba69dd8bd428494c7a2848b5d3325d47cf4afbf': Fix sdk docs build for framework from remote input api addition.
|
b720abeee8474f4c641f57c58ac97d537da20cbf |
|
20-May-2014 |
Griff Hazen <griff@google.com> |
resolved conflicts for merge of 8f1e7ade to master Change-Id: Icabc5d274502abf8d40116d373c9f9d0ac062386
|
9e1379f1126c1101f69445572bd441b2211791fa |
|
20-May-2014 |
Griff Hazen <griff@google.com> |
Fix sdk docs build for framework from remote input api addition. Change-Id: I6a6f3df06d924fe72f67466d67d9feced8d8719f
/frameworks/base/core/java/android/app/Notification.java
|
5cadc3b00aa775a63518383046c902b130e09b4c |
|
20-May-2014 |
Griff Hazen <griff@google.com> |
Add RemoteInput, Grouping, and Extender to Notification api. RemoteInputs annotate actions and content intents to request input from the user as part of an intent being sent. Results are sent along using ClipData to avoid unparcel of developer provided bundle values. A helper method is expexted to be used to extract results. Grouping allows notifications to be bundled together, with an optional summary notification for display on older platforms. SortKey is an important part of grouping since child notifications will likely have a prescribed ordering. It is also useful in top level notifications for apps that want to provide an ordering all other fields being equal. Also provide a fluid way to to extend Actions and Notifications using Extenders, e.g.: Notification n = new NotificationCompat.Builder(context) .setOption1() .apply(new SomeExtender() .setOption2()) .build(); This helps extension libraries provide a nice API experience for devs. Change-Id: Ib3438ef854772c2c34d21bf1eb4ed7c9e032106f
/frameworks/base/core/java/android/app/Notification.java
|
a13bfae217553bcdd545794121c045f5a6da28ba |
|
16-May-2014 |
Griff Hazen <griff@google.com> |
am cfa27161: am 50c11659: Fix Notification sdk docs build. * commit 'cfa271618f5b33eae200c97c6c3624df9d04efc2': Fix Notification sdk docs build.
|
c091ba8dd085871a137600bdc82e3b902fb544f5 |
|
16-May-2014 |
Griff Hazen <griff@google.com> |
resolved conflicts for merge of de35b636 to master Conflicts: core/java/android/app/Notification.java Change-Id: I39ace14c976431bd7f6f1f9d5e4174b0a100aab0
|
50c11659f0f971e1a6b0adde59247f5de370b74d |
|
16-May-2014 |
Griff Hazen <griff@google.com> |
Fix Notification sdk docs build. Builder#X looked like it was considered ambiguous even though Action was not in scope. Intellij disagreed but this fixes the issue. Change-Id: I51fac39b2a4834e25f936c6eae223cda8c9c610e
/frameworks/base/core/java/android/app/Notification.java
|
190d58d621a6d520db5fce840b07d26e4984e1f5 |
|
15-May-2014 |
Dan Sandler <dsandler@android.com> |
Badge largeIcons with the notification icon. The old right-hand small icon is no more; instead the notification's small icon is overlaid atop the largeIcon bitmap. If the small icon would have had a colored circle background applied to it in the large left-hand slot, it gets a similar treatment when used as a badge. Change-Id: I8b262afbdd4faab2beffd294d662f4759f35f3b3
/frameworks/base/core/java/android/app/Notification.java
|
959591e3ba3934f5bd8ecc2c81ad2a16d226acab |
|
16-May-2014 |
Griff Hazen <griff@google.com> |
Add support for extendable actions to Notification. Change-Id: I2945a6994a28fc454af3f84e75c96d7619547f01
/frameworks/base/core/java/android/app/Notification.java
|
f953664dc17dca23bd724bd64f89189c16c83263 |
|
17-Apr-2014 |
Chris Wren <cwren@android.com> |
notification ranking infrastructure Added an ordered list of notifications (n.b. a complete ordering). Added a mechanism for ranking to be updated asynchronously Added onNotificationRankingUpdate to NotificationListeners Added an opaque order update object and a convenience comparator that uses it to sort notifications for listeners Repurpose scorers to be ranking preprocessors. The preprocessors will perform heavy-weight validation of the notification object and memoize the results to improve efficiency of the ranking comparator. Current internal comparator implements status quo ordering, except that notes with a valid contact sort to the top of their priority bucket. Change-Id: I7244c65944a9657df41fb313b3cb5a52e149709d
/frameworks/base/core/java/android/app/Notification.java
|
26e81cf14bf32585742cbb75ac14045acaab2692 |
|
06-May-2014 |
Dan Sandler <dsandler@android.com> |
Quantum notification improvements. New API introduced here: Notification.color (and Builder.setColor()), allowing apps to specify an accent color to be used by the template. The Quantum templates (which are now the only kind we support) use this when creating a circular background to draw behind the smallIcon in the expanded form. Additionally, the quantum and legacy templates are no longer in superposition; all apps using Builder will get quantum. Change-Id: Iac5e2645cc5c2346ed458763f2280ae9c6368b62
/frameworks/base/core/java/android/app/Notification.java
|
ed0c87e7cdd2f641b6ed78df62b20a9f08ac16bb |
|
06-May-2014 |
Griff Hazen <griff@google.com> |
DO NOT MERGE Hide Notification categories from API 20 (KKWT) Bug: 14116162 Change-Id: I59e499dde9a06a4bf455eecb3665afaa1b574dae
/frameworks/base/core/java/android/app/Notification.java
|
7c12112d6292f9424726c257b237d0fd1bd03eab |
|
28-Apr-2014 |
Griff Hazen <griff@google.com> |
am e638b844: am 3c5a6cf9: am 2c6131bb: am 293977bd: Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE. * commit 'e638b84436caeea8d54b560c0b883ef599ba328d': Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE.
|
3c5a6cf93520be23e6d5a9bc4cb8f4e8c18214b1 |
|
28-Apr-2014 |
Griff Hazen <griff@google.com> |
am 2c6131bb: am 293977bd: Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE. * commit '2c6131bba957dc5b4e1638bb8b0c10ebddf2049a': Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE.
|
293977bdb028e2aa893fbeb370e20132646094a9 |
|
28-Apr-2014 |
Griff Hazen <griff@google.com> |
Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE. The logic was opposite. Change-Id: I62e0b1e6701a4c9990119a1b94918e64783e9b1a
/frameworks/base/core/java/android/app/Notification.java
|
dde753079fd9a5a36937f28d50326fd166fd01fa |
|
26-Mar-2014 |
Chris Wren <cwren@android.com> |
support the people extra on the notification object currently supported URIs: content://com.android.contacts/contacts/lookup/* tel:* Change-Id: I833eee3f2ee40aa8cb2cfad135bdd6cb2c0eb792
/frameworks/base/core/java/android/app/Notification.java
|
5c2d84675b239bc04ae98c75526e5b81897ee183 |
|
21-Mar-2014 |
Jorim Jaggi <jjaggi@google.com> |
Move legacy notification processing to Notification.Builder Bug: 13485610 Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
/frameworks/base/core/java/android/app/Notification.java
|
cf44a124ab4eca431b3c57776183cd3857113e6f |
|
24-Mar-2014 |
John Spurlock <jspurlock@google.com> |
Unhide Notification kind, rename to category. Change-Id: I8e6d5a30dff519d7ed4f38e018646dd2bc55db33
/frameworks/base/core/java/android/app/Notification.java
|
0a69c8c4bd535249246655ba9636dda2bb71d0b2 |
|
21-Mar-2014 |
John Spurlock <jspurlock@google.com> |
Add notification category for recommendations. Change-Id: I3718b8273c3f901aee1b2c2cdc4fcdae25fadcad
/frameworks/base/core/java/android/app/Notification.java
|
fd7f1e00399e53a392941928ed5a55ca77b1b721 |
|
18-Mar-2014 |
John Spurlock <jspurlock@google.com> |
Unhide notification category. Rename @hidden Notification.kind -> category, and flesh out shared values. Now a single value. Update framework references, remove unused SystemUpdateService magic value unused since 2012. Change-Id: If06d19ff3a8c3125fca1457f5d3c665e2939c66c
/frameworks/base/core/java/android/app/Notification.java
|
d1862dac05e4302761c8d741a3286fe5eb6f1174 |
|
07-Mar-2014 |
Chris Wren <cwren@android.com> |
am 111e981d: am 70d5ed26: Merge "use relative positioning for notification actions" into klp-dev * commit '111e981dc7f7d62647d6aa5e6c44cfd13af53608': use relative positioning for notification actions
|
39fa59fc4907d3c8faad41bf20e1f855dbcda5e6 |
|
25-Feb-2014 |
Jorim Jaggi <jjaggi@google.com> |
Change appearance of notifications to light theme. Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
/frameworks/base/core/java/android/app/Notification.java
|
be63a95d2b4c1fba31c71db7dc1d2248418e1ded |
|
03-Dec-2013 |
Chris Wren <cwren@android.com> |
use relative positioning for notification actions Bug: 10531101 Change-Id: Ia1d7cac880f620a9760271344edf920caf0d852d
/frameworks/base/core/java/android/app/Notification.java
|
5ab311550f01412c12c1c68fe75ae929c9d1e9d8 |
|
06-Mar-2014 |
Griff Hazen <griff@google.com> |
am 6daf22ca: am 47826bfa: am c748341a: Merge "Add addExtras and getExtras to Notification.Builder." into klp-modular-dev * commit '6daf22ca7680261e07dfd298a43d6e473e6c06f6': Add addExtras and getExtras to Notification.Builder.
|
720042b72f10f5e67a173adc76ebf939bf6ecc4e |
|
25-Feb-2014 |
Griff Hazen <griff@google.com> |
Add addExtras and getExtras to Notification.Builder. addExtras allows merging with exiting set extras instead of replacing them. This matches the similar function putExtras in Intent. Both functions are useful for multi-stage notification building logic. Change-Id: Ice3e4a53ec05b7129ebdac14e2084163946273a4
/frameworks/base/core/java/android/app/Notification.java
|
8fd39ec46b056c88f0d08758d04badab29a8786a |
|
27-Feb-2014 |
Chris Wren <cwren@android.com> |
create a synthetic 2U heads up notification combine the 1U with the action buttons to make a mid-sized notification bounded to 128dp by the system ui used for the heads up Bug: 13208692 Change-Id: I382bb0bd1ce73f35295f05ca2606195986cff1d3
/frameworks/base/core/java/android/app/Notification.java
|
6adfd86ca94f3eabb93fb1b4a0b9b0ea50895dcd |
|
11-Feb-2014 |
Griff Hazen <griff@google.com> |
am 4e795ebe: am 0ff811db: Merge "Add local-only option to Notification (using flag)" into klp-modular-dev * commit '4e795ebe1783623a28a988f77b4f0f11d54e73be': Add local-only option to Notification (using flag)
|
dfcb0803bf2087b6f56592f1e2731bbaa070cb82 |
|
11-Feb-2014 |
Griff Hazen <griff@google.com> |
Add local-only option to Notification (using flag) Change-Id: Ic6d2f3b0cf06b58c0afa2af0fa6b245124424223
/frameworks/base/core/java/android/app/Notification.java
|
91ad563da32406873c533e0b6df260df0d142290 |
|
05-Jun-2013 |
Chris Wren <cwren@android.com> |
record the notification style Bug: 10634902 Change-Id: I7d29f252367f4ab58e97a6ac8b0c6702f558e5cf
/frameworks/base/core/java/android/app/Notification.java
|
0bf2ed8ae394b327af1bc6e853a698c2dac67aaa |
|
22-Dec-2013 |
Dan Sandler <dsandler@android.com> |
Notification visibility APIs. The new visibility property allows an application to signal to SystemUI whether a notification's contents are safe to show in "public" situations, i.e. outside of a secure lockscreen, or whether they should be treated as "private" (where only the icon is revealed). Apps that post information that includes no personal or sensitive information (e.g. a weather alert) can use VISIBILITY_PUBLIC to allow users to see (and potentially even dismiss) this kind of notification without unlocking their devices. The historical treatment of Android notifications corresponds to VISIBILITY_PRIVATE, which is the default visibility setting for all notifications, including apps that are not aware of this API. VISIBILITY_PRIVATE notifications may optionally specify a publicVersion, which is a whole other Notification object whose contentView will be shown in public contexts. This allows an app to provide a "redacted" public version of its notification that is more useful than the system-supplied version (showing just the icon and app name) but still conceals private information. For example, a messaging app that today posts a Notification including the sender and contents of each message could additionally specify a publicVersion that says, simply, "N new messages". There's also VISIBILITY_SECRET for notifications that should be totally concealed (that is, no icon) in public contexts. To reveal any hint of this kind of notification would require the user to unlock the device. Change-Id: I1552db36c469954d27d3c92ba21ac5c703d47ae1
/frameworks/base/core/java/android/app/Notification.java
|
8749ac8a4c14bf2ff13deb5fe9a08bafd172ca63 |
|
03-Dec-2013 |
Chris Wren <cwren@android.com> |
use relative positioning for notification actions Bug: 10531101 Change-Id: I5a55f708d9ffae3ec3582f85c2ff47aa6afa287d
/frameworks/base/core/java/android/app/Notification.java
|
a3ea0441d0922f1cff0ca65970bdd6c565c8e60f |
|
30-Sep-2013 |
Daniel Sandler <dsandler@android.com> |
am 723ad75e: Merge "API cleanups for Notification." into klp-dev * commit '723ad75e107f57dc541dfca600745895e1251974': API cleanups for Notification.
|
cf1d39b1782cc3c7eeac66ee483a6d9db0afd98b |
|
23-Sep-2013 |
Daniel Sandler <dsandler@android.com> |
API cleanups for Notification. - Calling build() on a Style now goes through the same codepath as calling build() on the Builder. - Documented new constants and unhidden classes. - Fixed crash in Action.clone(). Bug: 10112103 Bug: 10461196 Change-Id: I08cd94790b538a361ccf8ff3682f6a86a7812b95
/frameworks/base/core/java/android/app/Notification.java
|
d9273d6f289d9b55da3fd0db2f659fdfb48106a8 |
|
31-May-2013 |
Tor Norbye <tnorbye@google.com> |
Add typedefs and nullness annotations. This changeset adds in typedef annotations (custom annotations marked with @IntDef) for various int parameters and return values in the API. It also adds nullness annotations for cases where the documentation explicitly mentioned null policy, or where it was blindingly obvious from the context. Also fixed some typos in the documentation. Change-Id: Ica27c01368895818e26237544edd8483007155bb
/frameworks/base/core/java/android/app/Notification.java
|
9a05b31aab8b4f2c431fda8c14aa7816eb4a91ad |
|
28-Jun-2013 |
Scott Greenwald <greenwald@google.com> |
Add support for notification scorers. This CL adds an interface and classes for scoring notifications. The NotificationManagerService initializes an array of scorers specified as a resource. When a Notification is enqueued, the getScore() method is called successively on the scorers, each getting the Notification to be scored, and the score outputted by the previous scorer. At present there is a single scorer which prioritizes Notifications that mention the display name of a starred contact. To turn off the StarredContactNotificationScorer: adb shell settings put global contact_scorer_enabled 0 Change-Id: Ic16c80952e7c85bdde292ebb3f7900efb01f2e29
/frameworks/base/core/java/android/app/Notification.java
|
51c7510e493680b4aca1ed7695b35c52d2cd63ff |
|
17-Jul-2013 |
Chris Wren <cwren@android.com> |
allow rich notifications in the heads up. new shouldInterrupt logic: screen on, not locked, not dreaming, and priority above HIGH and noisy, or has fullscreen intent draft of API allowing devs to give hints about head up display reuse inflateViews() add an expand helper to the heads up space move some things into Entry for reuse don't allow touches in first second delay decay if touched make decay time a resource add a custom viewgroup for notification rows to get view management out of the NotificationData class. Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
/frameworks/base/core/java/android/app/Notification.java
|
ac08a4745e355e772aef917ca6ef0fee068a9837 |
|
10-Jun-2013 |
John Spurlock <jspurlock@google.com> |
Save Notification large icon to extras. This piece of semantic info was defined, cleared properly on lightenPayload, but never saved. Change-Id: I41fb5f836f9afe2be5407f292bd6b5e02dfc9cb3
/frameworks/base/core/java/android/app/Notification.java
|
da76ad2ea3c73f140accfdcddecb327b4c28d0fa |
|
14-May-2013 |
Chris Wren <cwren@android.com> |
reveal the notification extras Change-Id: Ic97e3485dc23eeb5cfb565a5cef98489acdec8a2
/frameworks/base/core/java/android/app/Notification.java
|
dcbaf661bfa931f481022c27987798a03ce7a932 |
|
26-Apr-2013 |
Daniel Sandler <dsandler@android.com> |
Filter out dangerous CharSequences in Notification. If an app mistakenly puts some Parcelable implementation of CharSequence in here, Bundle will try to marshal the derived class, which is going to be bad news when we try to unparcel it in another process. Additionally add a proper stack trace to unparceling failures (otherwise you have no idea where the bad parcel was being used). Bug: 8725271 Change-Id: Ide19b986d65c7f47929cf2dde4e62b762c469fee
/frameworks/base/core/java/android/app/Notification.java
|
1a497d3a2b1496c12949e47e55f8e46d8f585be5 |
|
18-Apr-2013 |
Daniel Sandler <dsandler@android.com> |
Fix concurrency issues when parceling StatusBarNotifications. Protip: Don't mess with Bundles after you've sent them off for parceling in an RPC. Note that this change reduces the payload size of StatusBarNotification objects received in onNotificationRemoved() callbacks; it scrubs out the RemoteViews and Bitmaps just as the NoMan's internal archive does. [You don't really need that information anyway when hearing about a removed notification; most likely all you need are the other slots on StatusBarNotification, but nulling the whole Notification object breaks a lot of clients.] Bug: 8616295 Change-Id: Ic899045f2352b96dcf064d3e9e51dad52629aea3
/frameworks/base/core/java/android/app/Notification.java
|
f45564ee7228cf9efc70cdcf16de3ddcedd1cb02 |
|
15-Apr-2013 |
Daniel Sandler <dsandler@android.com> |
Finish annotating Notification.extras. This covers all useful data from the basic Builder as well as each of the Styles that is not otherwise captured on the Notification object itself. Extras are now prettyprinted in dump() output. Bug: 8270485 Change-Id: I47fc50860dab6409793f57e904cc60296310d5cf
/frameworks/base/core/java/android/app/Notification.java
|
26c134398422a4f4e703cdf7b87fb1cb08d542c4 |
|
04-Apr-2013 |
Daniel Sandler <dsandler@android.com> |
Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero. Previously they each had to be nonzero, which prevented using the builder methods to create solid-on LED notifications. Change-Id: I30314ec33daa28ee2e1f0b87a184c3540254471c
/frameworks/base/core/java/android/app/Notification.java
|
ea2a317368b895f13d3a8c5e9db66efdfb06870a |
|
21-Feb-2013 |
Daniel Sandler <dsandler@android.com> |
Make Notification action data structures public. Currently hidden. Change-Id: I2a62a730f76d177577155d7ebb396b0fe51357f8
/frameworks/base/core/java/android/app/Notification.java
|
be6e7e0f73bb886bd0423e44f2914793beed27b9 |
|
01-Feb-2013 |
Daniel Sandler <dsandler@android.com> |
Capture semantic Notification.Builder data in extras. This is an important step toward being able to reason about Notifications after they've been built and sent to the NoMan; right now most of that information is baked into the contentView and bigContentView before being thrown away. TODO: more stuff. Right now we're just grabbing the basics: title, text, subtext, and small icon res ID. Change-Id: Ief725bb38d160d340b0e3c46f83bc02d5a283d13
/frameworks/base/core/java/android/app/Notification.java
|
8aa9ae69a24c3ae00106235c119e1b02de894839 |
|
05-Dec-2012 |
Daniel Sandler <dsandler@android.com> |
Fix longstanding nonsense in javadocs. Change-Id: Iea2c7b8e5dc7591a9586a628e891d71d215daec6
/frameworks/base/core/java/android/app/Notification.java
|
6738eeec009d266e6b1a20c19f94d72874b89b31 |
|
16-Nov-2012 |
Daniel Sandler <dsandler@android.com> |
Cleanups in Notification.java. Bug: 7555827 // remove named TODO, fix toString output Bug: 6440961 // remove longstanding and mysterious "MUMBLE MUMBLE" Change-Id: I8b5e16fb1f7ccbe5cbda37f260fdc6bc0e1b8ee3
/frameworks/base/core/java/android/app/Notification.java
|
4422596ddb295f812bb0970ec7f75d3c45d05020 |
|
13-Nov-2012 |
Joe Malin <jmalin@google.com> |
am ce37f1da: am 4979a0b5: am 5f32d337: Merge "Notification.java javadoc: addAction" into jb-dev-docs * commit 'ce37f1da3619dcb4e53ca014cf4a17885cc3af0f': Notification.java javadoc: addAction
|
8d40d04afadd9fd285797fed92bab8f8b0f9dfde |
|
05-Nov-2012 |
Joe Malin <jmalin@google.com> |
Notification.java javadoc: addAction Change-Id: I86fe116f50d8462494cfc9f138e1c885ae5a41ea
/frameworks/base/core/java/android/app/Notification.java
|
8768278974082decc8fe7b4a6da132bd38f30d7c |
|
07-Nov-2012 |
Daniel Sandler <dsandler@android.com> |
Fix docs to refer to the correct class. Bug: 6676920 Change-Id: Ib79635cb3ff464b4686268fcf64b99cacaa9e627
/frameworks/base/core/java/android/app/Notification.java
|
ecbd68b0de73a16ce9d0cf2baa7153e1db14b34a |
|
02-Nov-2012 |
Amith Yamasani <yamasani@google.com> |
Resolve USER_ALL when inflating notification views. Fixes the OTA icon display when the OTA is to be shown to all users. Bug: 7462511 Change-Id: I185d9d5340d866d0a4b0ae273a361e8db160e33b
/frameworks/base/core/java/android/app/Notification.java
|
6d51571835737c7502a2e111ee9dc2527ebad984 |
|
21-Sep-2012 |
Jeff Sharkey <jsharkey@android.com> |
Allow acquiring ContentProviders across users. Otherwise services like SystemUI will always open content://-style Uris as USER_OWNER. Surfaces through createPackageContextAsUser() which points all ContentResolver operations towards a given user. Start using in RemoteViews, so that Notifications correctly resolve image Uris to the sending user. Also add user support for "content" shell tool. Bug: 7202982 Change-Id: I8cb7fb8a812e825bb0b5833799dba87055ff8699
/frameworks/base/core/java/android/app/Notification.java
|
0887711d0f76d858501fd017259ddfdc1950eb3f |
|
21-Sep-2012 |
Daniel Sandler <dsandler@android.com> |
Merge "Add Notification.Builder.setShowWhen(boolean)." into jb-mr1-dev
|
683ab00a2ec2e02f8ad1296efb381aa72d364b57 |
|
20-Sep-2012 |
Chris Wren <cwren@android.com> |
fix underfull content bug in inbox and big text templates. Bug: 7172721 Change-Id: I22019009eec31ca18b54eec5f6ed5b626cee1540
/frameworks/base/core/java/android/app/Notification.java
|
0c89049ebf463bde186c41fe9fad63ad27182eb2 |
|
13-Sep-2012 |
Daniel Sandler <dsandler@android.com> |
Add Notification.Builder.setShowWhen(boolean). No more setting when to 0 to hide the timestamp! *cheering* Bug: 6915046 Change-Id: I1560a1c2dd366d416d1d059704ca7c63149334eb
/frameworks/base/core/java/android/app/Notification.java
|
183bf116978e3c44292c9ead2bceb47e972624a1 |
|
14-Aug-2012 |
Scott Main <smain@google.com> |
docs: misc bug fixes from external issues Change-Id: I380b65341200c0519a93e2f8969f70f64aec0264
/frameworks/base/core/java/android/app/Notification.java
|
0bd664dab4c1af6ee2048671ed4847e0f52ea179 |
|
01-Aug-2012 |
Chris Wren <cwren@android.com> |
Add missing docs to notification style rebuilder functions. Bug: 6914726 Change-Id: I13efae036610523ec6f83696d3337054e79856aa
/frameworks/base/core/java/android/app/Notification.java
|
c08dea2aa4f66f888f01fa7ed2be46d4c4651a1e |
|
28-Jun-2012 |
Daniel Sandler <dsandler@android.com> |
Fix NPEs when using the APIs a little oddly. This should help developers use some of the features of Style via subclassing rather than duplicating functionality. Bug: 6716608 Change-Id: I048e8221c8046e9779e08e6e262ac3fb37b01cb3
/frameworks/base/core/java/android/app/Notification.java
|
064f9907c98283e76ed03fa65484fc6face22f92 |
|
21-Jun-2012 |
Daniel Sandler <dsandler@android.com> |
Unhide new methods on RemoteViews and Notification. Change-Id: I0cbc270d9d7e9e728482c3b10650a32589636c9d
/frameworks/base/core/java/android/app/Notification.java
|
916ad91c3860344250c00b6b3597db6464229c02 |
|
13-Jun-2012 |
Daniel Sandler <dsandler@android.com> |
Remove line3 in big notification unless there's text to show. If you have no subText or summaryText in a big template, but you *do* have a number, the overflow bar (below the big text or inbox or whatever) would have shown; now it does not. Bug: 6657006 Change-Id: Ib2af2712da3a98227bd8d697560893adbdc427e9
/frameworks/base/core/java/android/app/Notification.java
|
602ad1c978ddbf8be2c272cd610e18a626cd8b33 |
|
12-Jun-2012 |
Daniel Sandler <dsandler@android.com> |
"Two actions ought to be enough for anybody." Bug: 6650170 Change-Id: I5ee6990a8e556f9ee1fbfb0989db33f75b07f4ea
/frameworks/base/core/java/android/app/Notification.java
|
619738c9e7b321d3a7f297b95955c681f5de56ba |
|
07-Jun-2012 |
Daniel Sandler <dsandler@android.com> |
Various notification template cleanups. Bug: 6597693 // hide line3 in InboxStyle Bug: 6593691 // vertical centering inconsistencies Bug: 6592116 // no left action gutter in BigPicture Bug: 6622757 // missing subtext in BigText expanded Change-Id: I941af99d0a905b6e0aa6fb74ad4eff29c17d9fc2
/frameworks/base/core/java/android/app/Notification.java
|
a90513d5f4e9f9ba20fca60bcf8548e23863c395 |
|
04-Jun-2012 |
Daniel Sandler <dsandler@android.com> |
Unused API should be hidden. Change-Id: Ifed4d06e620c990ccecc1ee1aaf3adedbdc7c2da
/frameworks/base/core/java/android/app/Notification.java
|
6387d2f6dae27ba6e8481883325adad96d3010f4 |
|
22-May-2012 |
Daniel Sandler <dsandler@android.com> |
Visual tweaks to notifications. - Smaller right_icons - Higher-contrast text colors - Dividers between actions - Dividers above actions and overflows - Consistent 8dp gutter on left of content - BigTextStyle should not show line3 unless there is a subtext. - Collapse summary ("overflow") text into line3. This is a little wild because now the contentText, subText, and summaryText all share this spot, but the various variables all have different times when they're expressed so you have greater control over what shows where in the 1U and the expanded form. - Do not show contentText in BigText's line3. If you have subtext or summarytext, show that; otherwise suppress line3 entirely. Bug: 6558134 // line3 Bug: 6508804 // other visuals Change-Id: Ib79e818a332d17000e9a8fce333eff8f8cf043aa
/frameworks/base/core/java/android/app/Notification.java
|
3745a3da759a9510554c8d2c59f09185e52ed403 |
|
22-May-2012 |
Chris Wren <cwren@android.com> |
BigPicture notifications for screenshots. Needed a little extra help from the builder to make this happen (like the title, you might want a different largeIcon in the expanded view if---as in this case---it is redundant with the big picture). Needed to fix BigPicture template to reveal actions. Bug: 6289107 Change-Id: I19dc62e693ee2c87cbe82f7327fe9115768b4102
/frameworks/base/core/java/android/app/Notification.java
|
c40a7fe00257d5742bd10bc611cd11d1600f469f |
|
22-May-2012 |
Daniel Sandler <dsandler@android.com> |
Merge "Fix three-line notifications." into jb-dev
|
9f7936a30bc097c31962891945802507cb4aeb82 |
|
21-May-2012 |
Daniel Sandler <dsandler@android.com> |
Fix three-line notifications. To accommodate three lines as before, we now adjust the size of text and icons to fit. Also in this change: - snazzy little shadow below BigPicture's 1U block - restore contentText to BigPicture notifications - make overflow match other notification text (not so big) - fix text position jumps between 1U and expanded notifications across all templates Bug: 6519374 (three-line notifications cut off) Bug: 6494982 (text jumps) Change-Id: I717ec2dde805c25e3b949641ca7e69e4d8fc86d2
/frameworks/base/core/java/android/app/Notification.java
|
29bb6d925bcaa562212b3fe41de249c3dfb64354 |
|
18-May-2012 |
Chris Wren <cwren@android.com> |
Support more items in the Notification.InboxStyle, plus an overflow. Bug: 6500113 Change-Id: I9f6b45ef0821c45000afa8a23ee51033b51df298
/frameworks/base/core/java/android/app/Notification.java
|
4ed80d581c3448f075d65efafc585b4691f8b301 |
|
17-May-2012 |
Chris Wren <cwren@android.com> |
Don't assume digest lines are GONE, we may be recycling them. Bug: 6500945 Change-Id: I0f01ccdde25bebb8335f0d34408877b895d286ff
/frameworks/base/core/java/android/app/Notification.java
|
b46f3f6743f015cd6e0cfd21639b82fcdb5e6983 |
|
16-May-2012 |
Chris Wren <cwren@android.com> |
Merge "Defensively reset the default state of layout elements." into jb-dev
|
8680bf865a08f876fc3986c50a193e3186ff6f02 |
|
15-May-2012 |
Daniel Sandler <dsandler@android.com> |
Action button improvements: - Horizontal layout - At most 2 are shown - Tombstones are now shown (if the intent is null, the button is disabled; use it for quick feedback of an action's effect) Bug: 6418617 (tombstones) Bug: 6482237 (action separators) Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
/frameworks/base/core/java/android/app/Notification.java
|
67dc9a02cfa1873f67128fba7fbdf33f8fe18a24 |
|
16-May-2012 |
Chris Wren <cwren@android.com> |
Defensively reset the default state of layout elements. Bug: 6500945 Change-Id: Idf7300c44955413e2db26ecbabdef9f67f12f360
/frameworks/base/core/java/android/app/Notification.java
|
f54bfcf5a3594d7d8423391be68d9b982ea6c4fa |
|
11-May-2012 |
Daniel Sandler <dsandler@android.com> |
Merge "Restyling action buttons." into jb-dev
|
e551884b0972280c9aee451b489832e67395c8e2 |
|
10-May-2012 |
Daniel Sandler <dsandler@android.com> |
Restyling action buttons. Bug: 6418617 Change-Id: I843352fbd167aeb6cc7beb0172b7416aabd5856a
/frameworks/base/core/java/android/app/Notification.java
|
d33b803b6bfcbc509dd7cee3ee23f819dfff296e |
|
10-May-2012 |
Daniel Sandler <dsandler@android.com> |
Clean up API docs for Notification. Bug: 6427241 Bug: 6427245 Bug: 6427814 Change-Id: I91d741513e3b345d2b9f28ad0a1bf11b0a898076
/frameworks/base/core/java/android/app/Notification.java
|
e95658c98e4154a2daf0ed70d15d24f8bf3153f0 |
|
10-May-2012 |
Daniel Sandler <dsandler@android.com> |
New backgrounds for notifications. Note that PRIORITY_MIN notifications have a special background treatment. Bug: 6418617 Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
/frameworks/base/core/java/android/app/Notification.java
|
195ba5047cec4d249d5408e75fb04696941655c0 |
|
08-May-2012 |
Chris Wren <cwren@android.com> |
Merge "Clear out any existing buttons before adding the set of requested actions." into jb-dev
|
2c22eb0a49b369767eaa4e04c1727f947cfdec13 |
|
08-May-2012 |
Chris Wren <cwren@android.com> |
Clear out any existing buttons before adding the set of requested actions. Bug: 6459557 Change-Id: Id19050e7280208d4f98c1aabe8087c6fe6c8d72a
/frameworks/base/core/java/android/app/Notification.java
|
fafce1f9f5b371c76cd7875a58b183093f8b517f |
|
07-May-2012 |
Daniel Sandler <dsandler@android.com> |
Merge "Add number back to legacy notifications." into jb-dev
|
3c5f92432734e1e3b9bdc515628a4c09d7759cd4 |
|
04-May-2012 |
Chris Wren <cwren@android.com> |
The BigTextStyle should never render mContentText Change-Id: Ifcbb0868871741bd78c5ebf31408143aaf732b98
/frameworks/base/core/java/android/app/Notification.java
|
d6297dbfe9b1c9c91907e4ba35d4b1ae7fe610d8 |
|
03-May-2012 |
Chris Wren <cwren@android.com> |
Add an alternate title that can be used in the overflow of a InboxStyle. Always hide contentText for BigTextStyle and InboxStyle. Style cannot be used without specialization, it should be abstract. Bug: 6428978 Bug: 6274137 Bug: 6317471 Change-Id: I21531a94494f891a058a477805b177e736b921cf
/frameworks/base/core/java/android/app/Notification.java
|
b4b2223fa188d4f680209c80ba6bbe681a300bd5 |
|
30-Apr-2012 |
Daniel Sandler <dsandler@android.com> |
Add number back to legacy notifications. Bug: 5816717 Change-Id: I52c98143378c315dec5b525cb3d96c214ee8196e
/frameworks/base/core/java/android/app/Notification.java
|
e4a2a4f142ff72ac8cf3e99c31af42af4ce66fbf |
|
02-May-2012 |
Chris Wren <cwren@android.com> |
rework big text to handle gmail use case Change-Id: I3175e198bd6f39025f4257454b43c459ed1e38f5
/frameworks/base/core/java/android/app/Notification.java
|
fbd96ba9baa212d99060c8b93b5c79cf00918bda |
|
01-May-2012 |
Chris Wren <cwren@android.com> |
Allow the Notification.Builder to carry around a Style to apply at build Change-Id: I5e848504b6d0444ee349ecea893ceae571dda796
/frameworks/base/core/java/android/app/Notification.java
|
098d580cc2bb6c0891c756a4e5230c6c6b0d2376 |
|
27-Apr-2012 |
Jeff Sharkey <jsharkey@android.com> |
Migrate ringtone playback to SystemUI. Introduce IRingtonePlayer, which handles playback for both Ringtone objects and Notifications. SystemUI now hosts this player, which it registers with AudioService. It also keeps MediaPlayer instances warm, and cleans them up after stop() or Binder death. Move both Ringtone and NotificationManagerService to play back audio through this new interface. Bug: 6376128, 6350773 Change-Id: I1dcb86d16ee3c4f07cdb2248d33dcff4ead3609a
/frameworks/base/core/java/android/app/Notification.java
|
b023bf85a080442117b5dae8d402bce60cd0a610 |
|
23-Apr-2012 |
Chris Wren <cwren@android.com> |
let default notifications with actions get bigger that 64dp. Bug: 6377749 Change-Id: I8c92ef67b59f7a44b61926c32480cce6990a1375
/frameworks/base/core/java/android/app/Notification.java
|
6b31880838196806dff991551f197684b5809d8b |
|
13-Apr-2012 |
Daniel Sandler <dsandler@android.com> |
Remove intruder alert APIs from JB. Change-Id: I27042d604fbe15879e7b7aaaac860db2d1efa47f
/frameworks/base/core/java/android/app/Notification.java
|
6a858c347f4d4e5db4c8f00d5e285967631b71ca |
|
12-Mar-2012 |
Daniel Sandler <dsandler@android.com> |
Gestures for expanding notifications. Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
/frameworks/base/core/java/android/app/Notification.java
|
879c5e07c019bbcd8647e60656d0749eae0467c3 |
|
17-Apr-2012 |
Daniel Sandler <dsandler@android.com> |
New InboxStyle template for expanded notifications. Bug: 6336834 Change-Id: I67b273350b984673cbfb19267451a3782d0477fc
/frameworks/base/core/java/android/app/Notification.java
|
4dfbe83e1a110b416badf73ddf68c83db0d415ae |
|
11-Apr-2012 |
Daniel Sandler <dsandler@android.com> |
Unhide some new Notification APIs. Bug: 6318391 Change-Id: Ie51f373cc84d845fa4aababab702c115fcc9e2e5
/frameworks/base/core/java/android/app/Notification.java
|
cde8aae955f2c1074a840074a9f586f95c3f61f7 |
|
05-Apr-2012 |
Daniel Sandler <dsandler@android.com> |
Fix crash in legacy notification construction path. Bug: 6293584 Change-Id: I8c1c5162a2e9e3ebc5a6d3fed045c6c6a64b9bfd
/frameworks/base/core/java/android/app/Notification.java
|
a2985ed3099c9206a4fd9fd8eaf0e4025b82aca9 |
|
03-Apr-2012 |
Daniel Sandler <dsandler@android.com> |
Chronometer support in Notifications. @hidden for now while we experiment with it in Phone. Change-Id: Ib6ca3a8262f676d49d81e081a30c6d994c732a6b
/frameworks/base/core/java/android/app/Notification.java
|
96fd7c1c1acc03b40b1813ef65793560c175ef80 |
|
30-Mar-2012 |
Daniel Sandler <dsandler@android.com> |
Show action buttons in expanded notifications. Any notification with at least one action will now have an expanded form by default. BigPicture/BigText can have actions, too, of course. Change-Id: I6f54cac65d9a9f335d8038c2105cd2c674f991ff
/frameworks/base/core/java/android/app/Notification.java
|
f3b7343246bf20a8024853abe9c8eeef767d26da |
|
27-Mar-2012 |
Daniel Sandler <dsandler@android.com> |
The beginning of expanded notifications. There are now two "rebuilder" classes, each of which consumes a Notification.Builder and modifies its behavior. (Inheritance in Builder classes is...not advisable.) - BigPictureStyle: includes a large Bitmap above the usual notification strip. - BigTextStyle: shows the contentText in a large, wrapping TextView instead of truncating to one line. As for SystemUI, the notification panel now shows the expanded form if it is available, otherwise the usual contentView is shown. (Note that the structure of largeIcon notifications has changed a bit: The largeIcon is no longer handled by the status bar at all; it's entirely inside the template now. Not only does this make the code simpler, and make large notifications possible, but it fixes the longstanding irritation that tapping on a largeIcon doesn't highlight the whole notification row. Man, that feels good.) Change-Id: I2b9d8a6ea4385659d8cb1ed467c1caf5e12628dd
/frameworks/base/core/java/android/app/Notification.java
|
b2a1c23a553254b71f25f0ed0773d4d3126656f8 |
|
24-Mar-2012 |
Daniel Sandler <dsandler@android.com> |
Add text labels to intruder actions. Change-Id: I544bed7b37c043639ee0e6a11bf757c0a191c1fc
/frameworks/base/core/java/android/app/Notification.java
|
a0a938cd5f6eaed449678a00420916cde711de63 |
|
15-Mar-2012 |
Daniel Sandler <dsandler@android.com> |
Notification actions API. Actions will be attached to the Notification object and also used to inject additional tap targets in the default template used by Builder. Change-Id: Idd58686b9c44b2ca7bb9ec5aa8337f3bdce5b878
/frameworks/base/core/java/android/app/Notification.java
|
2561b0b10a55841a08e0e1d467e73e10b1bf256d |
|
14-Feb-2012 |
Daniel Sandler <dsandler@android.com> |
New notification priority and related APIs. This change introduces a few new bits of data on Notification that will help the Notification Manager and System UI route and display them more intelligently: -> priority: an integer in a predefined range that indicates the app's best guess as to the relative importance (to the user, right now) of that information -> kind: a tag (really, set of tags) indicating the general type of notification (realtime, asynchronous, etc) -> extras: a Bundle of additional key/value pairs associated with this notification (currently @hidden) The notification manager takes these data into account when assigning to each notification a score which is passed with the notification on to the system UI, where it can be used to affect presentation. For example: - Spammy apps (identified explicitly by the user or by some other means) will have their notifications scored very negatively by the notification manager, allowing the UI to suppress them - Notifications of higher score might be shown larger or in a different way - Very important notifications (indicated by a very high score) might interrupt the user during an otherwise important task (videochat, game, etc) Implementation note: This replaces/extends the old internal notion of "priority", which was mostly used to organize ongoings and system notifications at the top of the panel. Change-Id: Ie063dc75f198a68e2b5734a3aa0cacb5aba1ac39
/frameworks/base/core/java/android/app/Notification.java
|
6ceca588a268ed8fef4b32df278ca7567e608510 |
|
11-Jan-2012 |
Dianne Hackborn <hackbod@google.com> |
Update notification documentation to follow current guidelines. The documentation is now consistent with the current UI guidelines for handling notifications, and includes complete sample code showing the correct way to do this. Change-Id: I68f0afc62c2af164c3205535e62093679e2a256a
/frameworks/base/core/java/android/app/Notification.java
|
558459fe85f56f29a6ed6a4d0adb4a0bd6665884 |
|
14-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: add developer guide cross-references, Project ACRE, Round 2 Change-Id: I39a534ae3a2a34b4dabc333a09961012ef911d3e
/frameworks/base/core/java/android/app/Notification.java
|
1c40013bb2afbd76050ac681d7880476aa7fc70d |
|
05-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Add progress to Notification.Builder. Provide method to surface progress when building a notification. Also manages visibility of various items, including hiding the entire line when unneeded. Bug: 4022082, 3399877 Change-Id: I90d8fca383c746001aadc6c5f21c68a23bb937e5
/frameworks/base/core/java/android/app/Notification.java
|
ebce0115e239919680fc5574ae4ca79e617fcce8 |
|
16-Jun-2011 |
Daniel Sandler <dsandler@google.com> |
ICS updates to notification layouts. Of note: 1. There is no "X" (veto) button anymore. (Well, there is, but it's offscreen so it should still be available to assistive devices.) Users can use "Clear all" or the new swipe-to-veto gesture to clear notifications. 2. As a consequence of #1, your layout goes all the way to the right edge of the notifications panel again. Enjoy the extra space! 3. The numeric bubble in the notification icon is now capped at "999+" like it is in the expanded notification view. (Note that this involves a couple of new public framework resources: one to indicate the number beyond which the substitution string will be used, and one specifying a localizable substitution string.) Bug: 4651514 Bug: 4686329 Bug: 4501990 Change-Id: I0e6bdb6aec4fe5bfc927eb1aba955d444a9414ec
/frameworks/base/core/java/android/app/Notification.java
|
b8796212e3544262193960ade01db6cb2023c8f9 |
|
15-Mar-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of ceae9983 to honeycomb-plus-aosp Change-Id: Ic677e58dcc182908ae1fde33047b3fda013a37c3
|
5e98dbc7700ef39acca58aa4f4e63e5fc24828b3 |
|
23-Feb-2011 |
Daniel Sandler <dsandler@google.com> |
Merge "Documentation: Notification.icon is mandatory."
|
a8b9183a7cb4dca8d8e6507abc765c581bf67dcb |
|
22-Feb-2011 |
Jozef BABJAK <jozef.babjak@gmail.com> |
Fixing self-assignment in cloning code. Change-Id: I6c918c0c7345678cbb171905eccfca50e59ae41a
/frameworks/base/core/java/android/app/Notification.java
|
7aee61f5a96e94e158bf5ad3d8e192c4d4f7eff6 |
|
08-Feb-2011 |
Scott Main <smain@google.com> |
docs: fix links to revised fundamentals documents Change-Id: Ie2a660cce1d00f924c9fde5c6a00776307e5e1c7
/frameworks/base/core/java/android/app/Notification.java
|
d952daec06018fe7064b8cafd31dfc71f9eee383 |
|
07-Feb-2011 |
Daniel Sandler <dsandler@google.com> |
Documentation: Notification.icon is mandatory. Bug: 3325472 Change-Id: Ie685577fbb2f07c3a63dcf86f27172ff231de3b3
/frameworks/base/core/java/android/app/Notification.java
|
c6925ca684aaed981cc98cae50cf796231a56c0e |
|
29-Jan-2011 |
Joe Onorato <joeo@google.com> |
999 Bug: 3403177 Change-Id: Ib53098f364bb15249f27f89127e0d2a4daf81d6a
/frameworks/base/core/java/android/app/Notification.java
|
cb109a0eeaca12cdd954c567da4fc5f45a23213b |
|
19-Jan-2011 |
Joe Onorato <joeo@google.com> |
Add docs for Notification.Builder. Bug: 3362451 Change-Id: I8f16a7f266812190dc8d06751f5ca914e2050111
/frameworks/base/core/java/android/app/Notification.java
|
c9596d6d8e9154b5f87c8e887bfabf7546b68af5 |
|
13-Jan-2011 |
Joe Onorato <joeo@google.com> |
Possibly fix bad notification updates. I think what was happening is that it was using a different layout but we were trying to reapply the RemoveViews because of some bad boolean logic. This fixes that, and adds some better debugging that might show us what else is happening. Bug: 3298062 Change-Id: I0984f24cb2960166c79b9f2cc7c6a98bd75e17ba
/frameworks/base/core/java/android/app/Notification.java
|
281d83f61f4036503ded1a967b8b43bfbaa373d0 |
|
05-Jan-2011 |
Joe Onorato <joeo@google.com> |
Notification.Builder.setAutoCancel() was setting the wrong flag. Bug: 3306725 Change-Id: I84908fd3ac2cf9a4ce164179620c33df907d018f
/frameworks/base/core/java/android/app/Notification.java
|
059a2f8664571098fac665747d8bb8f84c5e07ed |
|
04-Jan-2011 |
Joe Onorato <joeo@google.com> |
When the number field on a notifications is >100, just say "100+" instead of listing the number. Bug: 3271445 Change-Id: Id5704cc5cba770b918c974eeec8f9ffb3f294450
/frameworks/base/core/java/android/app/Notification.java
|
110988c8b70f4ab089b179b7966497d508506263 |
|
03-Dec-2010 |
Andy Stadler <stadler@google.com> |
Fix notification/builder defaults * Builder wasn't setting mAudioStreamType to its non-zero default * Clean up warnings (imports, unused variables, overrides) Bug: 3250299 Change-Id: I019f54a0d6c97e71681d24144e784fa4b4737f7e
/frameworks/base/core/java/android/app/Notification.java
|
8d0b655c496e9125fc8d289c4e5bc9a78297ba3d |
|
23-Nov-2010 |
Joe Onorato <joeo@google.com> |
Add a better notification test and clean up the flag handling in the notification builder. Change-Id: I9354ed2c2cda690f53e5f43ad60943b63b02e7d4
/frameworks/base/core/java/android/app/Notification.java
|
52f80cd36f406725e85a1825741a45c69de3d898 |
|
22-Nov-2010 |
Joe Onorato <joeo@google.com> |
The icon sticks out of the ticker. The ticker still needs to show up over the status bar, which will take a bit of window manager work, so it's just out of position for now. Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
/frameworks/base/core/java/android/app/Notification.java
|
561d3858bb9409b999a19f7ba93f0b12e1db835f |
|
21-Nov-2010 |
Joe Onorato <joeo@google.com> |
The large icon for notifications. Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
/frameworks/base/core/java/android/app/Notification.java
|
8595a3dd9a6feff70f8ddbad924d79b591d611e4 |
|
20-Nov-2010 |
Joe Onorato <joeo@google.com> |
Show the number in the expanded notification instead of in the bar. Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
/frameworks/base/core/java/android/app/Notification.java
|
46439cec0eb0da4d0f853f2d8712d0c00c98475b |
|
19-Nov-2010 |
Joe Onorato <joeo@google.com> |
Update the look of the notifications. Includes adding a new Notification.Builder class. Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
/frameworks/base/core/java/android/app/Notification.java
|
ef1e7763c2dc5b9bac69cc747efe05c81d9fd9fc |
|
18-Sep-2010 |
Joe Onorato <joeo@google.com> |
Tablet ticker. Change-Id: Ia3db5cc29eac1703123de3e1c6dc7c22e7d024eb
/frameworks/base/core/java/android/app/Notification.java
|
f22c30cd818db80e5c27d27c14b9dbe9507cef38 |
|
10-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
am 033b381b: am 7f07f842: Merge "Fix doc of fullScreenIntent." into gingerbread Merge commit '033b381b4c91aff4bf76481d0b37fb5f39b50ec2' * commit '033b381b4c91aff4bf76481d0b37fb5f39b50ec2': Fix doc of fullScreenIntent.
|
392fea53ece4c874997df33cfe564925a3736f35 |
|
10-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix doc of fullScreenIntent. Change-Id: Ieb21bb92b4ebf95f831231f2871839fec8a97a86
/frameworks/base/core/java/android/app/Notification.java
|
6171401a0a5b25ec5d66d7693a5285d54cca89ae |
|
04-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
resolved conflicts for merge of 6a3ffb5b to master Change-Id: I3c77887f56c4fdc1cd80682eccc2f5e0020e2761
|
170bae7d832e0fd68e1ee9d96893b97e1dd98c52 |
|
04-Sep-2010 |
Dianne Hackborn <hackbod@google.com> |
Improve doc. Change-Id: I841b04e1e455b6236fb8b65b965f2fc25c4461f0
/frameworks/base/core/java/android/app/Notification.java
|
d02bdaab495641ab50e2123fdfd99a819cc40540 |
|
26-Aug-2010 |
Daniel Sandler <dsandler@android.com> |
Remove experimental immersive mode support. DO NOT MERGE Bug: 2949215 Change-Id: I7d998ef571ef7e149bb96261430e92150b80b77d
/frameworks/base/core/java/android/app/Notification.java
|
e46cbd379a3c19708c7f7e5d3f35e2c596de0c46 |
|
17-Jun-2010 |
Daniel Sandler <dsandler@android.com> |
New API for high-priority Notifications and full-screen alerts. * fullScreenIntent: a PendingIntent pointing to a full-screen activity or other modal alert experience to be shown to the user instead of (or in addition to) a traditional status bar notification icon. Example: An incoming call should pop up a full-screen activity allowing the user to accept or decline the call. The old way to accomplish this is to simply fire off the full-screen intent directly from the Phone app. By routing through the Notification system, we make way for the FLAG_IMMERSIVE bit (forthcoming API) which would allow the frontmost opaque window to suppress full-screen alerts. * FLAG_HIGH_PRIORITY: This bit allows a notification to be shown in windows that have the FLAG_IMMERSIVE bit set. For example, a Notification corresponding to an incoming call would be marked HIGH_PRIORITY so that even in an immersive activity (i.e. a networked game) the Notification could be shown to the user. Change-Id: I4943e53f425800a6e152bc4992dd41586b43aff8
/frameworks/base/core/java/android/app/Notification.java
|
18e69dfc7235f8a4bfe257f9d1c43539049a22ce |
|
18-May-2010 |
Joe Onorato <joeo@android.com> |
Checkpoint. Data structures for Notifications in place. Change-Id: I146fb9bc1d349112541368e2c99a667821dfdf6e
/frameworks/base/core/java/android/app/Notification.java
|
c83bb730ec0333e52990a40edf6d54bb66b1d5ba |
|
20-Jan-2010 |
Joe Onorato <joeo@android.com> |
Add DateTimeView, a widget that shows a time or the date depending on the current time. Use that for notifications instead of a TextView that doesn't ever update. BUG 1563917
/frameworks/base/core/java/android/app/Notification.java
|
d8a43f61680bacf0d4b52a03ff3c7a07307377fc |
|
18-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2047139: Remove Service.setForeground() This API is becoming seriously abused, so now it is deprecated and has become a no-op. As an alternative, there is now a new API that allows you to make a service be in the foreground but requires providing a persistent notification to go along with this state, allowing the user to know about and control it.
/frameworks/base/core/java/android/app/Notification.java
|
8cf97d9982aae6197e48aabf2a3ada79fb39a041 |
|
10-Jun-2009 |
Simon Schoar <schoar@googlemail.com> |
Removed usage of tabs for indention
/frameworks/base/core/java/android/app/Notification.java
|
d45c9f4ceb5228912fe51c31fa7554a8e9bbfd6f |
|
10-Jun-2009 |
Simon Schoar <schoar@googlemail.com> |
Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null) example: notification.vibrate = new long[0];
/frameworks/base/core/java/android/app/Notification.java
|
b8b3645a9799c38ad68549316ebbf7a4849f2e0c |
|
27-Apr-2009 |
Scott Main <> |
AI 147803: add docs and images for docs on Toast and Notification docs also edit the Notification class doc BUG=1800118 Automated import of CL 147803
/frameworks/base/core/java/android/app/Notification.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/Notification.java
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/app/Notification.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
|
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/app/Notification.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/app/Notification.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/frameworks/base/core/java/android/app/Notification.java
|