From f2ac1305178caf31460b88eac691368fce201da7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20Mart=C3=AD?= <mvdan@mvdan.cc>
Date: Thu, 24 Sep 2015 15:17:26 -0700
Subject: [PATCH] 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.
---
 .../privileged/install/InstallPrivilegedDialogActivity.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/F-Droid/src/org/fdroid/fdroid/privileged/install/InstallPrivilegedDialogActivity.java b/F-Droid/src/org/fdroid/fdroid/privileged/install/InstallPrivilegedDialogActivity.java
index a4f514ffc..fc126c131 100644
--- a/F-Droid/src/org/fdroid/fdroid/privileged/install/InstallPrivilegedDialogActivity.java
+++ b/F-Droid/src/org/fdroid/fdroid/privileged/install/InstallPrivilegedDialogActivity.java
@@ -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