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) {
 | 
					        } catch (SecurityException e) {
 | 
				
			||||||
            Log.d(Config.LOGTAG, "unable to use custom notification sound " + uri.toString());
 | 
					            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);
 | 
					        mBuilder.setPriority(NotificationCompat.PRIORITY_HIGH);
 | 
				
			||||||
        setNotificationColor(mBuilder);
 | 
					        setNotificationColor(mBuilder);
 | 
				
			||||||
        mBuilder.setLights(LED_COLOR, 2000, 3000);
 | 
					        mBuilder.setLights(LED_COLOR, 2000, 3000);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user