Leave the incoming call notification category as CATEGORY_CALL (#3792)

This commit is contained in:
Dmitry Markin 2020-06-16 22:07:01 +03:00 committed by GitHub
parent 8356a1cfe1
commit 4493f6cc13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);