Leave the incoming call notification category as CATEGORY_CALL (#3792)
This commit is contained in:
parent
8356a1cfe1
commit
4493f6cc13
|
@ -602,9 +602,6 @@ public class NotificationService {
|
|||
} catch (SecurityException e) {
|
||||
Log.d(Config.LOGTAG, "unable to use custom notification sound " + uri.toString());
|
||||
}
|
||||
if (android.os.Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
mBuilder.setCategory(Notification.CATEGORY_MESSAGE);
|
||||
}
|
||||
mBuilder.setPriority(NotificationCompat.PRIORITY_HIGH);
|
||||
setNotificationColor(mBuilder);
|
||||
mBuilder.setLights(LED_COLOR, 2000, 3000);
|
||||
|
|
Loading…
Reference in a new issue