-
Notifications
You must be signed in to change notification settings - Fork 43
Modernize the app and fix countless connection stability issues #229
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
FlorentRevest
wants to merge
24
commits into
master
Choose a base branch
from
modernize
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
e8519e5
Request the maximum ATT_MTU now that writes are capped
FlorentRevest f472904
Fix createBond race and add managed reconnect on link loss
FlorentRevest e61832b
Guard the BLE send path against disconnected/missing characteristics
FlorentRevest e47fe5e
Harden GATT service discovery against partial tables
FlorentRevest a19b301
Make foreground promotion and boot autostart reliable
FlorentRevest 711f7de
Replace notification-listener busy-wait with event-driven refresh
FlorentRevest 9498dc3
Harden MediaService against malformed watch payloads
FlorentRevest 0344336
Make screenshot download robust against desync and disconnect
FlorentRevest 00f6d0f
Stop leaking PhoneStateListener on every call broadcast
FlorentRevest dd16764
Avoid recording silent as the original ringer mode
FlorentRevest a4a750e
Release GPS listener when WeatherService unsyncs
FlorentRevest 888a3f7
Remove unused vendored SweetBlue library
FlorentRevest 795242a
Vendor EasyWeather instead of the dead JitPack dependency
FlorentRevest 9843efc
Modernize build system: AGP 8.5.2, Gradle 8.7, compileSdk 34
FlorentRevest 36e0691
Target SDK 34 with Android 14 runtime adaptations
FlorentRevest f8ba421
Fix Bluetooth enable / permission flow and modernize MainActivity
FlorentRevest 24160db
Use BluetoothManager.getAdapter() in SynchronizationService
FlorentRevest 225be13
Drop unused legacy-support-v4 dependency
FlorentRevest 05d7777
Enable Gradle build cache, parallel and configuration cache
FlorentRevest 32f7f26
Centralize dependencies in a Gradle version catalog
FlorentRevest a7ad21d
Target internal broadcasts at the app so NOT_EXPORTED receivers get them
FlorentRevest 27e1d9a
Enable GPS weather sync by default
FlorentRevest 4789dc1
update workflow actions; switch from adopt to temurin (see https://bl…
Foxite f906c57
run assemble and build separately, upload apk even if checks fail
Foxite File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably needs to be tested on various phones as the Bluetooth stack is known to be buggy for different vendors. Google Pixel seems to be one of the few to have a proper Bluetooth stack. Looking at the documentation, pre-Android 14 probably need to be checked (https://developer.android.com/about/versions/14/behavior-changes-all#mtu-set-to-517).