feat: enable variable channel importance

This commit is contained in:
2020-06-20 12:03:30 -04:00
parent 6449040e61
commit 211b8b1253
5 changed files with 84 additions and 9 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ func loop(w *app.Window) error {
if first {
first = false
go func() {
channel, err := android.NewChannel("CHANNEL", "hello", "description")
channel, err := android.NewChannel(android.ImportanceMax, "CHANNEL", "hello", "description")
if err != nil {
log.Printf("channel creation failed: %v", err)
}