App not proceeding due to Lock screen check

REPRODUCIBILITY: Always
OS VERSION: Tampella 5.0.68
HARDWARE: Xperia 10 V
UI LANGUAGE: German
REGRESSION: Unknwon

DESCRIPTION:

When using some android apps (like Danske ID app), the app requires the user to set a lock screen.

This used not to be necessary on previous versions, however, now it is (and previous versions stopped working).

PRECONDITIONS:

Some Android ID app installed (like DanskeID for example)

STEPS TO REPRODUCE:

  1. Launch DanskeID

EXPECTED RESULT:

The app lets you enter the pincode to unlock it
ACTUAL RESULT:

The app shows a popup requiring you to “set a lock screen for your own safety” (haha)

MODIFICATIONS:

ADDITIONAL INFORMATION:

Here’s a link to a previous therad on the topic :

And also

How would an app check for such functionality? Can it be mocked with some android service?
If @Jolla can share the details, Im willing to implement it for free (as in beer).

Edit : Crap this is in the android layer, at least according to some:

https://stackoverflow.com/questions/40421039/android-check-if-lockscreen-is-set

Edit #2:
Maybe this one? core/java/android/app/KeyguardManager.java - platform/frameworks/base - Git at Google

Why create a duplicate bug report when you know one exists?

Its not the same bug. The cause might be the same, tho. But who knows.

I see absolutely nothing substantially different between your bug report and the linked one. What makes you think it is different?

Feel free to merge them :slight_smile:

edit: i could also reply with a quote from a famous movie (leaving the guesswork for the name of it to the reader): “this is my bug report. There is many bug reports like this one; but this one is mine!”

That exactly is the problem, not caring to cooperate.

edit: I FOUND THE SOLUTION:

On Storeman, it was to add repository for AppSupport Lockscreen support, install it and set the Android PIN according to the instructions. I could then enter the PIN when prompted after unlocking the car in Volvo app.

Huge thanks to @nick8325 for making this patch available!


–-

I think I have ran to this issue now twice on Volvo cars app. It’s not particularly fun when you can’t unlock your car and the carkeys are inside your locked car…

Does anyone know a workaround for this? The app works well otherwise but unlocking a locked car returns this dreading error message.

e. Xperia 10 III if it matters.

Just leave the phone in the car and take the keys with you :wink:

That would of course be the right course of action, if everything would always go according to the plan and intention. However, I tend to get in the ‘do first, think later’ type flow every now and then especially when in hurry. Countless are the occasions, when I remember that I should have checked if I’ve got the keys for home at the moment the front door closes behind me. Apparently the same happens with the phone and car keys. “This ain’t good” was my first thought when I pressed the “Lock” button on Volvo app, realising the car keys are in the handbag, the handbag being inside the car, remembering that I’ve done this mistake once before. :smiley: