Revert "Blue as the sky"

This reverts commit 4cc1ed3a85.
pull/157/head
M66B 6 years ago
parent 041406d0c5
commit 18f90b24a1

@ -33,7 +33,6 @@ import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.res.AssetFileDescriptor;
import android.content.res.Configuration;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.media.Ringtone;
@ -990,11 +989,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
channel.setSound(uri, Notification.AUDIO_ATTRIBUTES_DEFAULT);
}
boolean light = jchannel.getBoolean("light");
channel.enableLights(light);
if (light)
channel.setLightColor(Color.BLUE);
channel.enableLights(jchannel.getBoolean("light"));
channel.enableVibration(jchannel.getBoolean("vibrate"));
return channel;

@ -1621,7 +1621,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
channel.setDescription(from.getPersonal());
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
channel.enableLights(true);
channel.setLightColor(Color.BLUE);
nm.createNotificationChannel(channel);
onActionEditChannel();
}

@ -28,7 +28,6 @@ import android.app.NotificationManager;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.graphics.Color;
import android.os.Build;
import android.os.DeadSystemException;
import android.os.Handler;
@ -309,7 +308,6 @@ public class ApplicationEx extends Application {
NotificationManager.IMPORTANCE_HIGH);
notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
notification.enableLights(true);
notification.setLightColor(Color.BLUE);
nm.createNotificationChannel(notification);
if (!Helper.isPlayStoreInstall(this)) {

@ -24,7 +24,6 @@ import android.app.NotificationChannel;
import android.app.NotificationChannelGroup;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import androidx.annotation.NonNull;
@ -123,7 +122,6 @@ public class EntityAccount extends EntityOrder implements Serializable {
channel.setGroup(group.getId());
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
channel.enableLights(true);
channel.setLightColor(Color.BLUE);
nm.createNotificationChannel(channel);
}

@ -24,7 +24,6 @@ import android.app.NotificationChannel;
import android.app.NotificationChannelGroup;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Color;
import android.os.Build;
import androidx.annotation.RequiresApi;
@ -92,7 +91,6 @@ public class TupleFolderEx extends EntityFolder implements Serializable {
channel.setGroup(group.getId());
channel.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
channel.enableLights(true);
channel.setLightColor(Color.BLUE);
nm.createNotificationChannel(channel);
}

Loading…
Cancel
Save