[tor-commits] [snowflake-mobile/master] Changed notification importance

cohosh at torproject.org cohosh at torproject.org
Thu Jun 18 14:21:13 UTC 2020


commit 4689fd6ee62f049225c7103d38cc0b13f0bc227c
Author: Hashik Donthineni <HashikDonthineni at gmail.com>
Date:   Tue Jun 9 18:09:47 2020 +0530

    Changed notification importance
---
 app/src/main/java/org/torproject/snowflake/MainActivity.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/src/main/java/org/torproject/snowflake/MainActivity.java b/app/src/main/java/org/torproject/snowflake/MainActivity.java
index b4ebcd8..1ac43dd 100644
--- a/app/src/main/java/org/torproject/snowflake/MainActivity.java
+++ b/app/src/main/java/org/torproject/snowflake/MainActivity.java
@@ -80,7 +80,7 @@ public class MainActivity extends AppCompatActivity {
 
             NotificationChannel channel = new NotificationChannel(ForegroundServiceConstants.NOTIFICATION_CHANNEL_ID,
                     getString(R.string.not_channel_name),
-                    NotificationManager.IMPORTANCE_HIGH);
+                    NotificationManager.IMPORTANCE_LOW);
             channel.setDescription(getString(R.string.not_channel_desc));
             channel.enableLights(true);
             channel.setLightColor(Color.RED);





More information about the tor-commits mailing list