-
Notifications
You must be signed in to change notification settings - Fork 132
Android 14 foreground service type required #1860
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
Merged
joeygrover
merged 44 commits into
develop
from
bugfix/issue_1859_foreground_service_type
Nov 29, 2023
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
c09d6d1
Add FGS type connectedDevice to Manifest
JulianKast 97f0fd2
Add new UsbTransferProvider constructor
JulianKast 773b61a
Modify deployNextRouterService to take in a ParcelFileDescriptor in t…
JulianKast e5d61fc
Add ServicePermissionUtil to AndroidTools to check for permissions fo…
JulianKast 6543c44
When the PFD is received in the RS, check for fgs permissions and dep…
JulianKast 9c3ad2a
update logic in UsbTransferProvider.bindService for starting the RS i…
JulianKast fe87adb
add logic to SdlReceiver to check if we have permission before starti…
JulianKast 227ca75
add checks for null
JulianKast 6e4c1c3
remove debugging log
JulianKast aedfbb9
update unit test api level to api 34
JulianKast b414113
revert api level for unit test
JulianKast 745719d
update unit test jdk to 17
JulianKast 53ad1fc
Revert test change in yml file
JulianKast cf351c9
Add try catch for entering foreground in SdlService for TCP connections
JulianKast 2d49e36
remove extra space in RS
JulianKast c31afdf
add spacing between methods
JulianKast ad5f699
Add a targetApi to FOREGROUND_SERVICE_CONNECTED_DEVICE
JulianKast 0b6be0d
move logic around and add java docs
JulianKast a452ff2
Merge branch 'develop' into bugfix/issue_1859_foreground_service_type
JulianKast 97a989f
Merge branch 'develop' into bugfix/issue_1859_foreground_service_type
JulianKast 647c5d9
Refactor method name closeUSBAccessoryAttachmentActivity to acknowled…
JulianKast 4314d9d
Remove inner class ServicePermissionUtil in AndroidTool
JulianKast bb4940e
add null check to hasUsbAccessoryPermission and checkPermission in An…
JulianKast 404725a
Make new UsbTransferProvider constructor protected
JulianKast 2ccb87d
Remove reference to UsbTransferProvider in RS
JulianKast 177456f
Clear out context in UsbTransferProvider.cancel()
JulianKast 2de8c9e
Rename storedIntent and storedContext to cachedIntent and cachedConte…
JulianKast 3275d18
Add javaDocs to AndroidTools.hasUsbAccessoryPermission
JulianKast 5a3ff07
Add JavaDocs to AndroidTools.checkPermission
JulianKast 8b16303
Add java doc to AndroidTools.hasForegroundServiceTypePermission
JulianKast 6b65585
Update javaDocs for deployNextRouterService in the RS
JulianKast 5bad185
Use context from mUsbReceiver instead of storing it in SdlReceiver
JulianKast 762ffc9
Merge branch 'develop' into bugfix/issue_1859_foreground_service_type
JulianKast 3727e30
Rename PendingIntent to pendingIntentToStartService and cachedIntent …
JulianKast 4c9833e
Rename mUsbReceiver to usbPermissionReceiver
JulianKast c05011a
Clear out intents if there is no available USB device
JulianKast 97b138e
Use newly created method in AndroidTools to register receiver for And…
JulianKast 92905fa
Try to let UsbTransferProvider unbind before setting context to null
JulianKast 8e9299a
Rename applicaitonContext to context, fix JavaDocs
JulianKast a12b93c
Update startAltTransportTimer in RS
JulianKast 1d8e2cd
Unregister receiver to prevent leak, change exception catching to a g…
JulianKast 2114255
Remove whitespace
JulianKast 4840581
remove whitespace
JulianKast 8333284
Unregister usbPermissionReceiver, revert unregister change for SdlRec…
JulianKast 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
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.
Uh oh!
There was an error while loading. Please reload this page.