wesaphzt / privatelock Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Throws an error "uninstall unsuccessfull"
When running without google services (no idea if this also happens with google services) there is a persistent notification "Private lock is running", which I would love to get rid of.
Note that Signal has a similar issue: reference signalapp/Signal-Android#6561
this great app locks my unlocked device. well, actually it locks it down โ you can not unlock it with fingerprint anymore which is safer.
it would be great if that would also happen when the device is already locked - at some physical stress it'd become locked down, possible to unlock only with pin/password.
When I am out on my bike, I'd like to pause the app for an hour or so, maybe it would be possible to allow for free text entry of a configurable pause interval?
The service is always off when the phone wakes from sleep. I have it whitelisted in Greenify and the battery optimization. I am using Android 7.0.
On Android you can pin apps since some versions. That means you only allow one to use this single app you've selected.
If people want to use another app, they have to quit that app. In such a case the lock screen is shown.
When you lock your screen in this state (i.e. press the power button) only the screen is disabled, but when you press the power button again, the screen/app is shown directly and you do not need to pass the lockscreen unlock way.
Effectively this is useful for allowing app access to only the selected app when you hand your device to someone else.
With this app however, when it tries to lock the screen it does exactly what I described as when I press a power button as a user. As such, it makes the screen go black.
This is of course useless in this mode, because it does not lock anything here. One just presses the power-button and is back in the app.
Having an option to turn on Private Lock automatically with some simple schedule settings like with Android's Do Not Disturb feature could be useful.
Logging each time the service triggers could be useful in some scenarios.
When this app is running in the background, it should have a constant notification so that Android won't kill it randomly
I install the app, open the main window and attempt to start the service and immediately the service throws an exception from Android, and the main app window is closed.
Testing sensors works well. Should I set all the permissions BEFORE attempting to start the service?
Samsung Galaxy Tab S4 Android 10 DeX mode
Often times I may be playing a game or using an app that requires movement of my device. It would be convenient if I could pause private lock for a small period of time like 10 mins while a game is being played.
Hey,
it would be possible to increase the maximum value of the sensitivity slider to 60. With the current value (40) too many false triggers occur.
This would allow the user to proceed to password entry, completely eliminating the need to use the power button.
Related to: #13
Version: 1.2 from F-Droid
Android: 7.1.1 armv7l
Video: privatelock.zip (GitHub doesn't let me upload .mp4
)
As you can see in the video, I close Private Lock via the recents menu after pressing the stop button and the ActivityManager schedules a restart of the service. Approximately 14 seconds later, you can see the Private Lock notification reappear. This appears to be a side effect of #13.
Most of the buttons on the "about" screen flash and open a web link when pressed, but the one for bug reports only flashes.
I would like to have an option for deciding whether the phone should be locked (ie: unlockable via fingerprint) or locked down (unlockable via pin/password/pattern only).
Hi,
Big fan of this app. It is great for security, so thank you. One feature that I think fits in the spirit of the app is locking the phone when the proximity sensor is covered for at least a second (duration configurable ideally).
Hi, thanks for the app, really useful.
Is it possible to add a support for Tasker's plugin element ? So we can enable or disable the auto lock depending of the profile.
I use a mid-sensitive setting but, when I'm home reading on my bed, the phone fall sometimes on the bed and autolock. I've a tasker profile for my home stuff and I would like to be able to disable/enable the app when that profile is active/exiting.
The meter at the bottom used for testing your threshold needs actual numbers.
A "pie" progress counter, much less one that only moves in a smooth animation, makes the user guess at what exact point the threshold was passed.
The current state of this testing method is ineffective at what it's supposed to do: accurately convey what a sensor is reporting.
Possible stats could include the current accelerometer report, an average over 1-2 seconds, and the last accelerometer report that caused the phone to lock.
Often times I may be playing a game or using an app that requires movement of my device. It would be convenient if I could set specific games or apps as high movement and that would cause my device to not lock while the app is active(not in the background)
Nor the F-Droid client, nor the F-Droid website list your app: https://f-droid.org/packages/com.wesaphzt.privatelock/ which is 15 days on your repository.
Did you know any details?
Ok, it's not an issue. But how to remove app from Android 9 device ?
This app doesn't explain what it does, just claims that the phone will "lock" if it is stolen. It seems to read the accelerometer but what that has to do with deciding that it had been stolen I have no idea.
Worse, it cannot be uninstalled. F-Droid reports an "unknown error" and Android settings is incapable of initiating uninstall of this app. My first zombie app, gunking up my phone. (Private location didn't work either, but at least it uninstalled.)
hi :3
it would be good if there was an option to lower the priority of the notification being shown, as i think that would hide it from the status bar and send it lower in the notifications list (because i think the proccess would be closed if it isn't in foreground). if this option is to be added, that would be great :3
thank you for reading, and for making this app in the first place ^w^
Using grapheneos with android auto. Seems to be interrupted when movement detected. Connection to stereo severed. Requires remove USB cable and reconnect.
Go over a bump. Even with phone display locked. Lock sound and vibration occurs. Android auto connection interrupted.
Will test a little further soon
If the app is started from the widget without running the app first, it will fail as permission checking is done in the app.
Look into adding permission checks in widget.
Hi and thanks for your greate app! ๐
After 5 failed fingerprint attempts I found this entries in logcat:
[email protected]
onError(5)
Maybe this is helpful for your and this request ๐
Dear app developer:
Nowadays, our team has developed a tool that can detect and automatically repair accessibility problems in the app. We hope to receive your suggestions and opinions as an app developer.
Here, the accessibility problem I mentioned includes two types of problems: Text Contrast issue and Image Contrast issue. The former one corresponds to visible text, where there is a low contrast ratio between the text color and background color. The latter refers to images with a low contrast ratio between the foreground and background colors.
The following image shows the detection function and repair effect of our tool(this image is from your app):
The figure on the left is the original page, the figure on the right is the repaired page, and the figure below is the problem detection report.
I want to know whether you think it is necessary to detect this problem and how effective you think our repair is. Sincerely hope to get your reply. Your reply is very important to me!
Fingerprint is not working
When I click start the admin dialog pops up, I enable, but it doesn't start.
It doesn't show in the device admin list in settings.
I've used it on my phone for a while, so I know how it normally works.
I find that occasionally the service is triggered at the same time that the screen happens to be solid black. Realizing this has happened takes a short time. Could the device vibrate or flash the screen/flashlight just before it locks? Turning the flashlight on might also help if it has been dropped somewhere dark.
The arbitrary threshold slider is a step back from PluckLockEx. There is no way to accurately fine-tune the threshold to suit your needs; you just have to find your sweet spot through unnecessarily more trial-and-error.
The slider might have use for some people, but it can't really work well for all users.
Make it an obvious option to replace the slider with an exact numeric input, or even make the toggle be triggered by a button on either side of the slider.
Version: 1.1 from F-Droid
Android: 7.1.1 armv7l
Video: https://i.imgur.com/Bc1ZYka.mp4
The locking function doesn't work anymore after this. It does work if you don't close it via the Recents menu. I find this to be a bug since I would assume it should just keep working in the background, right? The notification is still there though.
Thanks for this app :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.