Install privileged: don't do sound/vibration
Only enable the light if it's a default. The vibration was causing issues since we don't have the vibrate permission, and the sound is unnecessary. Fixes #346.
This commit is contained in:
		
							parent
							
								
									7e02518394
								
							
						
					
					
						commit
						f2ac130517
					
				| @ -141,7 +141,7 @@ public class InstallPrivilegedDialogActivity extends FragmentActivity { | ||||
|                                     .setSmallIcon(R.drawable.ic_stat_notify) | ||||
|                                     .setContentTitle(context.getString(R.string.system_install_first_time_notification)) | ||||
|                                     .setContentText(context.getString(R.string.system_install_first_time_notification_message_short)) | ||||
|                                     .setDefaults(Notification.DEFAULT_ALL) | ||||
|                                     .setDefaults(Notification.DEFAULT_LIGHTS) | ||||
|                                     .setAutoCancel(true) | ||||
|                                     /* | ||||
|                                      * Sets the big view "big text" style and supplies the | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Martí
						Daniel Martí