MissedCallNotifier.java revision 8de76915ea2772faeb41705aaaeb65f5b3478ac4
1a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon/* 2a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * Copyright 2014, The Android Open Source Project 3a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * 4a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * Licensed under the Apache License, Version 2.0 (the "License"); 5a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * you may not use this file except in compliance with the License. 6a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * You may obtain a copy of the License at 7a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * 8a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * http://www.apache.org/licenses/LICENSE-2.0 9a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * 10a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * Unless required by applicable law or agreed to in writing, software 11a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * distributed under the License is distributed on an "AS IS" BASIS, 12a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * See the License for the specific language governing permissions and 14a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * limitations under the License. 15a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon */ 16a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon 177cc70b4f0ad1064a4a0dce6056ad82b205887160Tyler Gunnpackage com.android.server.telecom; 18a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon 19a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon/** 20a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon * Creates a notification for calls that the user missed (neither answered nor rejected). 21a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon */ 228de76915ea2772faeb41705aaaeb65f5b3478ac4Ihab Awadpublic interface MissedCallNotifier extends CallsManager.CallsManagerListener { 23546710be97b3adb8274233208eb8f63debff3f50Yorke Lee 248de76915ea2772faeb41705aaaeb65f5b3478ac4Ihab Awad void setCallsManager(CallsManager callsManager); 2564c7e965de50c6321415942ab4a84d22514b39a1Santos Cordon 268de76915ea2772faeb41705aaaeb65f5b3478ac4Ihab Awad void clearMissedCalls(); 2764c7e965de50c6321415942ab4a84d22514b39a1Santos Cordon 288de76915ea2772faeb41705aaaeb65f5b3478ac4Ihab Awad void showMissedCallNotification(Call call); 29a0e5f1aa917decf6921e372a3fd5a43da51adecbSantos Cordon} 30