History log of /frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0dbb7310088fdf2845861d2dc0e271812083e273 03-Mar-2016 Julia Reynolds <juliacr@google.com> Only noisy notifications can be bumped for intrusiveness.

Bug: 27431139
Change-Id: I5a1d2e2ac33bb9db04df2b6eea7d0baec2552c36
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
0421e6d58635f347f785ae4c78e8b2a5da327138 08-Jan-2016 Julia Reynolds <juliacr@google.com> Sort notifications by importance.

- Importance trumps 'package priority'
- Only notifications with a high enough importance can be intrusive
- default and lower importance notifications don't appear on the lock
screen and appear below the speed bump in the shade

Also, stop downgrading MAX importance noisy notifications.

Bug: 26425560
Change-Id: Ibb952eb6f8d0d336a1060332f58c8ba622f29867
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
5eab2b72afe5b20dc66c237b1cceedfc09de2d52 16-Jun-2015 Chris Wren <cwren@android.com> high-frequency notification stats.

Aggregate and then periodically report stats that are high-frequency
because they are driven by app behavior, not user behavior.

Reuse the NotificationUsageStats facility.
Remove redundant stats.
Lessen memory foot print.
Enable in-memeory aggregates with small, bounded memory footprint.

Bug: 20258744
Change-Id: I87e391419c53917fa13c68a56f8cdb40a7c8e548
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
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/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
54bbef435ed857fc68941672799fc8001c101119 10-Jul-2014 Chris Wren <cwren@android.com> Implement application-level high priority bit.

Enable checkbox in settings and wire it to NotificationManagerSerivce.
Add RankingHelper to collect ranking configs and logic.

Bug: 15080024
Change-Id: Ib1d3b0b5ca4fcfdc52c2cb6838a009b9addf1094
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
333a61c3a5a83fe9c50ebeb5c947317f61385b7b 28-May-2014 Chris Wren <cwren@android.com> Track Zen Mode status in the NotificationRecord

This requires the record to be present in makeRankingUpdateForListener,
however, if the ranking object is created before the post to the handler,
then no cloning is necessary.

Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab
Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
470c1accf5a54f9844a779eafab74e63c09342b5 21-May-2014 Chris Wren <cwren@android.com> Fix a concurrency bug in the ranking reconsideration.

If we rely on mNotificationList to be sorted, then we cannot allow
records to change without a corresponding call to sort. Currently
RankingFuture may modify records in a separate thread, while the sort
doesn't happen until later. This creates a window for race conditions.

Instead, RankingFuture should record operations to be performed on the
record that will replayed later, in a transaction along with a sort.

We can't simply overwrite the old record completely because another
future may be concurrently modifying a different aspect of the record.
Two futures that attempt to modify the same aspect will be serialized
and the second will overwrite eventually the first.

Change-Id: I9223cabdc60f72d8e37e6d8119bea1e0127185c0
(cherry picked from commit 77d3e0d0297caca5358879d36e8ba77710eb8e82)
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java
5190c0fefac9923931b5c1c02cab2d00c2d6b82b 08-May-2014 Chris Wren <cwren@android.com> Add intrusiveness signal extractor.

Temporarily bump noisy things to the top so the user can find them.
This is the first example of a delayed ranking reconsideration.

Change-Id: I07271ba197101ad462e4f99fb7c369a39c8c2e2f
/frameworks/base/services/core/java/com/android/server/notification/NotificationIntrusivenessExtractor.java