Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
platform_packages_modules_Bluetooth
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LMODroid
platform_packages_modules_Bluetooth
Commits
ceb25ac1
Commit
ceb25ac1
authored
2 years ago
by
Jack He
Committed by
Android (Google) Code Review
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge "LE Audio: close GATT server properly" into tm-qpr-dev
parents
73517ade
364b10bc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
android/app/src/com/android/bluetooth/mcp/MediaControlGattService.java
+8
-2
8 additions, 2 deletions
...rc/com/android/bluetooth/mcp/MediaControlGattService.java
with
8 additions
and
2 deletions
android/app/src/com/android/bluetooth/mcp/MediaControlGattService.java
+
8
−
2
View file @
ceb25ac1
...
...
@@ -1387,12 +1387,18 @@ public class MediaControlGattService implements MediaControlGattServiceInterface
if
(
DBG
)
{
Log
.
d
(
TAG
,
"Destroy"
);
}
if
(
mBluetoothGattServer
!=
null
&&
mBluetoothGattServer
.
removeService
(
mGattService
))
{
if
(
mBluetoothGattServer
==
null
)
{
return
;
}
if
(
mBluetoothGattServer
.
removeService
(
mGattService
))
{
if
(
mCallbacks
!=
null
)
{
mCallbacks
.
onServiceInstanceUnregistered
(
ServiceStatus
.
OK
);
}
}
mBluetoothGattServer
.
close
();
}
@VisibleForTesting
...
...
This diff is collapsed.
Click to expand it.
LMO GerritBot
@lmo-gerritbot
mentioned in commit
440b1d09
·
1 year ago
mentioned in commit
440b1d09
mentioned in commit 440b1d09e36cfd131f0df42a83b4f6dbe042f5cc
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment