Giter VIP home page Giter VIP logo

Comments (4)

wesaphzt avatar wesaphzt commented on August 12, 2024

Thanks for raising. I can replicate the issue, seems to affect < Android 8.0.
Looks like it's due to the changes I made to to the service to reduce duplicated code, which is strange because looking at it I don't see any reason why it shouldn't work, even on older versions of Android. Maybe something to do with the backwards compatibility library.
Please downgrade to 1.0 in the meantime. Or just don't clear the recent list ;)

from privatelock.

wesaphzt avatar wesaphzt commented on August 12, 2024

I think I've fixed it.
I'll do some more testing and push an update if all's good.

from privatelock.

wesaphzt avatar wesaphzt commented on August 12, 2024

6b560be
I'll make the 1.2 release.

from privatelock.

 avatar commented on August 12, 2024

Thanks for fixing it. Got the 1.2 update from F-Droid. It works now, but it does take some time to get going. I was wondering why this was the case, so I looked a little more into it:

From logcat:

09-30 00:20:10.397  3341 11810 W ActivityManager: Canceling start item Intent { act=ACTION_START_FOREGROUND_SERVICE cmp=com.wesaphzt.privatelock/.service.LockService launchParam=MultiScreenLaunchParams { mDisplayId=0 mBaseDisplayId=0 mFlags=0 } } in service ComponentInfo{com.wesaphzt.privatelock/com.wesaphzt.privatelock.service.LockService}
09-30 00:20:10.398  3341 11810 W ActivityManager: Scheduling restart of crashed service com.wesaphzt.privatelock/.service.LockService in 61062ms

I assume this is because of the START_REDELIVER_INTENT, but I don't know that much about Android development.

from privatelock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.