Skip to content

v134 - bugfixes, SIGNIFICANT_MOTION sensor, passive filter #1217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

mendhak
Copy link
Owner

@mendhak mendhak commented Apr 13, 2025

Bugfix: Auto send alarm should get cancelled when logging stops. #1196

Bugfix: Ignore stale locations. This seems to happen when screen is off. #1224

Bugfix for FAQ activity on edge to edge layout for Android 15.

"Ignore battery optimization" is now mandatory because the OS starts killing services without it.

PR #1213 Adding passive location filter

PR #1218 Email bugfixes:

Adds a Message-ID header to outgoing emails to help reduce spam filtering by mail relays.

Fixes incorrect MIME types by removing a duplicated application/ prefix.

Ensures that the MIME-Version header is included, as recommended by email standards.

Experimental: Using significant motion sensor to prevent logging, to save battery

This uses the TYPE_SIGNIFICANT_MOTION sensor. https://developer.android.com/develop/sensors-and-location/sensors/sensors_motion#sensors-motion-significant
"A significant motion is a motion that might lead to a change in the user's location; for example walking, biking, or sitting in a moving car."
I have no idea how I overlooked this for 10 years.

The significant motion detection is provided by the OS itself, so it could be completely 'off' for some devices.

Issue #223
Issue #1199
Issue #807
Issue #1208

However in my testing I keep running into this issue, where it stops updating after a while. Making the whole thing useless, as now logging doesn't work at all.

@mendhak mendhak changed the title v134 - v134 - bugfixes Apr 13, 2025
LOVE2CMOL and others added 2 commits April 14, 2025 02:26
Restore GeneralLocationListener.java
… save battery

This uses the TYPE_SIGNIFICANT_MOTION sensor. https://developer.android.com/develop/sensors-and-location/sensors/sensors_motion#sensors-motion-significant
"A significant motion is a motion that might lead to a change in the user's location; for example walking, biking, or sitting in a moving car."
I have no idea how I overlooked this for 10 years.

The significant motion detection is provided by the OS itself, so it could be completely 'off' for some devices.

Issue #223
Issue #1199
Issue #807
Issue #1208
@mendhak mendhak changed the title v134 - bugfixes v134 - bugfixes, SIGNIFICANT_MOTION sensor Apr 13, 2025
mendhak and others added 11 commits April 13, 2025 21:55
Add a Mime-version header.
https://datatracker.ietf.org/doc/html/rfc2045#page-8 :
"Messages composed in accordance with this document MUST include such
   a header field, with the following verbatim text:

     MIME-Version: 1.0

   The presence of this header field is an assertion that the message
   has been composed in compliance with this document."

Rspamd for example add a 2 score to mime mails missing this header.
Fix: reverted unintended change to the file.
Add passive data collection interval setting to prevent excessive data generation.
@mendhak mendhak changed the title v134 - bugfixes, SIGNIFICANT_MOTION sensor v134 - bugfixes, SIGNIFICANT_MOTION sensor, passive filter Apr 14, 2025
@mendhak mendhak added this to the v134 milestone Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants