summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorScott Greenwald <greenwald@google.com>2013-06-28 00:37:54 -0400
committerScott Greenwald <greenwald@google.com>2013-07-23 17:16:51 -0400
commit9a05b31aab8b4f2c431fda8c14aa7816eb4a91ad (patch)
treec314604d6103c27cace2b2ad00f4a20aa43bd06e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb1f5585f89c49690b1263daba419a394af58cc41 (diff)
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions