Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d828b42e authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Don't try to stop advertising on death of GATT clients

We should no longer stop advertising for GATT clients. Advertisers
are kept in AdvertiseClient, and their death is handled in
AdvertiserDeathRecipient.

Bug: 30622771
Test: Kill app with GATT client registered
Change-Id: I21f246042d1632824ed3d2d8937f13bcafe380ab
parent c536e600
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -248,10 +248,6 @@ public class GattService extends ProfileService {
                ScanClient client = new ScanClient(mAppIf, false);
                client.appDied = true;
                stopScan(client);
            } else {
                AdvertiseClient client = new AdvertiseClient(mAppIf);
                client.appDied = true;
                stopMultiAdvertising(client);
            }
        }