Code example for Service

Methods: stopForeground

0
 * @author Mikael Kindborg 
 */ 
class StopForegroundWrapper 
{ 
	public void stopForegroundAndRemoveNotificationIcon(Service service)
	{ 
		// The true argument removes the notification icon. 
		service.stopForeground(true);
	} 
}