Skip to content

Glyph SDK not working on reboot #12

@Fr4nKB

Description

@Fr4nKB

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions