19a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald/* 29a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* Copyright (C) 2013 The Android Open Source Project 39a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* 49a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* Licensed under the Apache License, Version 2.0 (the "License"); 59a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* you may not use this file except in compliance with the License. 69a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* You may obtain a copy of the License at 79a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* 89a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* http://www.apache.org/licenses/LICENSE-2.0 99a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* 109a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* Unless required by applicable law or agreed to in writing, software 119a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* distributed under the License is distributed on an "AS IS" BASIS, 129a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 139a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* See the License for the specific language governing permissions and 149a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald* limitations under the License. 159a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald*/ 169a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald 179a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwaldpackage com.android.internal.notification; 189a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald 199a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwaldimport android.app.Notification; 209a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwaldimport android.content.Context; 219a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald 229a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwaldpublic interface NotificationScorer { 239a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald 249a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald public void initialize(Context context); 259a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald public int getScore(Notification notification, int score); 269a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald 279a05b31aab8b4f2c431fda8c14aa7816eb4a91adScott Greenwald} 28