-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I have a NotificationListenerService and turn on some glpyhs when a notification is received.
My code works when the app is installed for the first time but when the phone reboots glyphs won't turn on until I eliminate app data or reinstall the app.
This is part of the code I'm referring to
for(i in 1 until (wakeLockTime / (GLYPH_DEFAULT_INTESITY * delay / step + delayBetweenAnimation))) {
for (light in GLYPH_DEFAULT_INTESITY downTo 0 step 100) {
framePulse = frameStatic
activeZonesPulse.forEach { zone ->
framePulse = framePulse.buildChannel(zone, light)
}
mGM.toggle(framePulse.build())
delay(25)
}
delay(4000)
}
Any suggestions?
Gab1er
Metadata
Metadata
Assignees
Labels
No labels